Skip to content

Commit

Permalink
Update URL (#171)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanshg authored Jul 21, 2023
1 parent 5054f2f commit 0f5eaf4
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 28 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand All @@ -42,7 +42,7 @@ implementation("com.smileidentity:android-sdk:<latest-version>")
#### 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
Expand Down Expand Up @@ -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

Expand Down
10 changes: 5 additions & 5 deletions lib/lib.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -109,23 +109,23 @@ mavenPublishing {
email = "[email protected]"
url = "https://github.com/vanshg"
organization = "Smile ID"
organizationUrl = "https://smileidentity.com"
organizationUrl = "https://usesmileid.com"
}
developer {
id = "JNdhlovu"
name = "Japhet Ndhlovu"
email = "[email protected]"
url = "https://github.com/jndhlovu"
organization = "Smile ID"
organizationUrl = "https://smileidentity.com"
organizationUrl = "https://usesmileid.com"
}
developer {
id = "jumaallan"
name = "Juma Allan"
email = "[email protected]"
url = "https://github.com/jumaallan"
organization = "Smile ID"
organizationUrl = "https://smileidentity.com"
organizationUrl = "https://usesmileid.com"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {},
)
Expand All @@ -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,
)
Expand Down
8 changes: 4 additions & 4 deletions lib/src/main/java/com/smileidentity/compose/SmileIDExt.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/src/main/java/com/smileidentity/models/Upload.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 ->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f5eaf4

Please sign in to comment.