diff --git a/README.md b/README.md index 1598e3fa..026ce7e5 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Smile ID provides the best solutions for Real Time Digital KYC, Identity Verific Onboarding, and User Authentication across Africa. If you haven’t already, -[sign up](https://www.smileidentity.com/schedule-a-demo/) for a free Smile ID account, which comes +[sign up](https://www.usesmileid.com/schedule-a-demo/) for a free Smile ID account, which comes with Sandbox access. Please see [CHANGELOG.md](CHANGELOG.md) or @@ -19,7 +19,7 @@ release notes ## Getting Started -Full documentation is available at https://docs.smileidentity.com/integration-options/mobile +Full documentation is available at https://docs.usesmileid.com/integration-options/mobile Javadocs are available at https://javadoc.io/doc/com.smileidentity/android-sdk/latest/index.html @@ -42,7 +42,7 @@ implementation("com.smileidentity:android-sdk:") #### 2. Smile Config Please download your `smile_config.json` file from the -[Smile ID Portal](https://portal.smileidentity.com/sdk) and add it to your `assets` directory (e.g. +[Smile ID Portal](https://portal.usesmileid.com/sdk) and add it to your `assets` directory (e.g. `app/src/main/assets`). You may need to create the directory if it does not already exist. #### 3. Initialization @@ -85,11 +85,11 @@ To make raw API requests, you can use `SmileID.api` (requires coroutines) ## Getting Help -For detailed documentation, please visit https://docs.smileidentity.com/integration-options/mobile +For detailed documentation, please visit https://docs.usesmileid.com/integration-options/mobile If you require further assistance, you can -[file a support ticket](https://portal.smileidentity.com/partner/support/tickets) or -[contact us](https://www.smileidentity.com/contact-us/) +[file a support ticket](https://portal.usesmileid.com/partner/support/tickets) or +[contact us](https://www.usesmileid.com/contact-us/) ## Contributing diff --git a/lib/lib.gradle.kts b/lib/lib.gradle.kts index 6745b61e..244a8fa5 100644 --- a/lib/lib.gradle.kts +++ b/lib/lib.gradle.kts @@ -84,11 +84,11 @@ mavenPublishing { pom { name = "Smile ID Android SDK" description = "The Official Smile ID Android SDK" - url = "https://docs.smileidentity.com/mobile/android" + url = "https://docs.usesmileid.com/integration-options/mobile/android-v10-beta" licenses { license { name = "Smile ID Terms of Use" - url = "https://smileidentity.com/terms-and-conditions" + url = "https://usesmileid.com/terms-and-conditions" distribution = "repo" } license { @@ -109,7 +109,7 @@ mavenPublishing { email = "vansh@smileidentity.com" url = "https://github.com/vanshg" organization = "Smile ID" - organizationUrl = "https://smileidentity.com" + organizationUrl = "https://usesmileid.com" } developer { id = "JNdhlovu" @@ -117,7 +117,7 @@ mavenPublishing { email = "japhet@smileidentity.com" url = "https://github.com/jndhlovu" organization = "Smile ID" - organizationUrl = "https://smileidentity.com" + organizationUrl = "https://usesmileid.com" } developer { id = "jumaallan" @@ -125,7 +125,7 @@ mavenPublishing { email = "juma@smileidentity.com" url = "https://github.com/jumaallan" organization = "Smile ID" - organizationUrl = "https://smileidentity.com" + organizationUrl = "https://usesmileid.com" } } } diff --git a/lib/src/androidTest/java/com/smileidentity/compose/consent/ConsentScreenTest.kt b/lib/src/androidTest/java/com/smileidentity/compose/consent/ConsentScreenTest.kt index 3cdf16f3..a53b2a33 100644 --- a/lib/src/androidTest/java/com/smileidentity/compose/consent/ConsentScreenTest.kt +++ b/lib/src/androidTest/java/com/smileidentity/compose/consent/ConsentScreenTest.kt @@ -27,7 +27,7 @@ class ConsentScreenTest { partnerIcon = painterResource(id = R.drawable.si_logo_with_text), partnerName = "Smile ID", productName = "BVN", - partnerPrivacyPolicy = URL("https://smileidentity.com/privacy"), + partnerPrivacyPolicy = URL("https://usesmileid.com/privacy"), onContinue = onContinueClicked, onCancel = {}, ) @@ -51,7 +51,7 @@ class ConsentScreenTest { partnerIcon = painterResource(id = R.drawable.si_logo_with_text), partnerName = "Smile ID", productName = "BVN", - partnerPrivacyPolicy = URL("https://smileidentity.com/privacy"), + partnerPrivacyPolicy = URL("https://usesmileid.com/privacy"), onContinue = {}, onCancel = onCancelClicked, ) diff --git a/lib/src/main/java/com/smileidentity/compose/SmileIDExt.kt b/lib/src/main/java/com/smileidentity/compose/SmileIDExt.kt index a5a283ca..47060f80 100644 --- a/lib/src/main/java/com/smileidentity/compose/SmileIDExt.kt +++ b/lib/src/main/java/com/smileidentity/compose/SmileIDExt.kt @@ -28,7 +28,7 @@ import java.net.URL /** * Perform a SmartSelfie™ Enrollment * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/biometric-authentication) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/biometric-authentication) * * @param userId The user ID to associate with the SmartSelfie™ Enrollment. Most often, this * will correspond to a unique User ID within your own system. If not provided, a random user ID @@ -75,7 +75,7 @@ fun SmileID.SmartSelfieEnrollment( /** * Perform a SmartSelfie™ Authentication * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/biometric-authentication) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/biometric-authentication) * * @param userId The user ID to authenticate with the SmartSelfie™ Authentication. This should be * an ID that was previously registered via a SmartSelfie™ Enrollment @@ -118,7 +118,7 @@ fun SmileID.SmartSelfieAuthentication( /** * Perform a Document Verification. * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/document-verification) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/document-verification) * * @param idType The type of ID to be captured * @param idAspectRatio The aspect ratio of the ID to be captured. If not specified, it will be @@ -180,7 +180,7 @@ fun SmileID.DocumentVerification( * belongs to the user. This is achieved by comparing the user's SmartSelfie™ to the user's photo in * an ID authority database * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/biometric-kyc) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/biometric-kyc) * * @param idInfo The ID information to look up in the ID Authority * @param userId The user ID to associate with the Biometric KYC. Most often, this will correspond diff --git a/lib/src/main/java/com/smileidentity/compose/consent/ConsentScreen.kt b/lib/src/main/java/com/smileidentity/compose/consent/ConsentScreen.kt index 32933b7e..e3531887 100644 --- a/lib/src/main/java/com/smileidentity/compose/consent/ConsentScreen.kt +++ b/lib/src/main/java/com/smileidentity/compose/consent/ConsentScreen.kt @@ -188,7 +188,7 @@ private fun ConsentScreenPreview() { partnerIcon = painterResource(id = R.drawable.si_logo_with_text), partnerName = "Smile ID", productName = "BVN", - partnerPrivacyPolicy = URL("https://smileidentity.com/privacy"), + partnerPrivacyPolicy = URL("https://usesmileid.com/privacy"), onContinue = {}, onCancel = {}, ) diff --git a/lib/src/main/java/com/smileidentity/fragment/DocumentVerificationFragment.kt b/lib/src/main/java/com/smileidentity/fragment/DocumentVerificationFragment.kt index e4933bdc..800deb8f 100644 --- a/lib/src/main/java/com/smileidentity/fragment/DocumentVerificationFragment.kt +++ b/lib/src/main/java/com/smileidentity/fragment/DocumentVerificationFragment.kt @@ -25,7 +25,7 @@ import java.io.File /** * Perform a Document Verification * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/document-verification) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/document-verification) * * A [Fragment] wrapper for the [DocumentVerification] to be used if not using Jetpack Compose. * New instances *must* be created via [newInstance]. Results are communicated back to the caller diff --git a/lib/src/main/java/com/smileidentity/fragment/SmartSelfieAuthenticationFragment.kt b/lib/src/main/java/com/smileidentity/fragment/SmartSelfieAuthenticationFragment.kt index 28388598..e83c979b 100644 --- a/lib/src/main/java/com/smileidentity/fragment/SmartSelfieAuthenticationFragment.kt +++ b/lib/src/main/java/com/smileidentity/fragment/SmartSelfieAuthenticationFragment.kt @@ -21,7 +21,7 @@ import com.smileidentity.util.randomUserId /** * Perform a SmartSelfie™ Authentication * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/biometric-authentication) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/biometric-authentication) * * A [Fragment] wrapper for the [SmartSelfieAuthentication] to be used if not using Jetpack * Compose. New instances *must* be created via [newInstance]. Results are communicated back to the diff --git a/lib/src/main/java/com/smileidentity/fragment/SmartSelfieEnrollmentFragment.kt b/lib/src/main/java/com/smileidentity/fragment/SmartSelfieEnrollmentFragment.kt index 4a18dfe7..577fe02a 100644 --- a/lib/src/main/java/com/smileidentity/fragment/SmartSelfieEnrollmentFragment.kt +++ b/lib/src/main/java/com/smileidentity/fragment/SmartSelfieEnrollmentFragment.kt @@ -21,7 +21,7 @@ import com.smileidentity.util.randomUserId /** * Perform a SmartSelfie™ Enrollment * - * [Docs](https://docs.smileidentity.com/products/for-individuals-kyc/biometric-authentication) + * [Docs](https://docs.usesmileid.com/products/for-individuals-kyc/biometric-authentication) * * A [Fragment] wrapper for the [SmartSelfieEnrollment] to be used if not using Jetpack * Compose. New instances *must* be created via [newInstance]. Results are communicated back to the diff --git a/lib/src/main/java/com/smileidentity/models/Upload.kt b/lib/src/main/java/com/smileidentity/models/Upload.kt index 608400a1..27529165 100644 --- a/lib/src/main/java/com/smileidentity/models/Upload.kt +++ b/lib/src/main/java/com/smileidentity/models/Upload.kt @@ -25,7 +25,7 @@ data class UploadImageInfo( /** * @param country The 2 letter country code of the user's ID (ISO 3166-1 alpha-2 format) - * @param idType The ID type from the list [here](https://docs.smileidentity.com/supported-id-types/for-individuals-kyc/backed-by-id-authority) + * @param idType The ID type from the list [here](https://docs.usesmileid.com/supported-id-types/for-individuals-kyc/backed-by-id-authority) * @param idNumber The ID number of the user's ID * @param firstName The first name of the user * @param middleName The middle name of the user diff --git a/sample/src/main/java/com/smileidentity/sample/compose/MainScreen.kt b/sample/src/main/java/com/smileidentity/sample/compose/MainScreen.kt index ecb5b8a7..70d9f7b3 100644 --- a/sample/src/main/java/com/smileidentity/sample/compose/MainScreen.kt +++ b/sample/src/main/java/com/smileidentity/sample/compose/MainScreen.kt @@ -338,13 +338,13 @@ fun MainScreen() { ) } idInfo?.let { idInfo -> - val url = URL("https://smileidentity.com/privacy-policy") + val url = URL("https://usesmileid.com/privacy-policy") SmileID.BiometricKYC( idInfo = idInfo, partnerIcon = painterResource( id = com.smileidentity.R.drawable.si_logo_with_text, ), - partnerName = "Smile Identity", + partnerName = "Smile ID", productName = idInfo.idType, partnerPrivacyPolicy = url, ) { result -> diff --git a/sample/src/main/java/com/smileidentity/sample/compose/ResourcesScreen.kt b/sample/src/main/java/com/smileidentity/sample/compose/ResourcesScreen.kt index eeb99cf7..8f6067ae 100644 --- a/sample/src/main/java/com/smileidentity/sample/compose/ResourcesScreen.kt +++ b/sample/src/main/java/com/smileidentity/sample/compose/ResourcesScreen.kt @@ -28,19 +28,19 @@ fun ResourcesScreen( Triple( stringResource(R.string.resources_explore_docs_title), stringResource(R.string.resources_explore_docs_subtitle), - ) { uriHandler.openUri("https://docs.smileidentity.com") }, + ) { uriHandler.openUri("https://docs.usesmileid.com") }, Triple( stringResource(R.string.resources_privacy_policy_title), stringResource(R.string.resources_privacy_policy_subtitle), - ) { uriHandler.openUri("https://smileidentity.com/privacy-policy") }, + ) { uriHandler.openUri("https://usesmileid.com/privacy-policy") }, Triple( stringResource(R.string.resources_faqs_title), stringResource(R.string.resources_faqs_subtitle), - ) { uriHandler.openUri("https://docs.smileidentity.com/further-reading/faqs") }, + ) { uriHandler.openUri("https://docs.usesmileid.com/further-reading/faqs") }, Triple( stringResource(R.string.resources_supported_types_title), stringResource(R.string.resources_supported_types_subtitle), - ) { uriHandler.openUri("https://docs.smileidentity.com/supported-id-types") }, + ) { uriHandler.openUri("https://docs.usesmileid.com/supported-id-types") }, ) Column( modifier = modifier