You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-43Lines changed: 10 additions & 43 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,65 +2,32 @@
2
2
3
3
This repository provides a pre-built UI that uses the ComplyCube SDK. It guides you through the ComplyCube identity verification process, which includes collecting client ID documents, proof of address documents, and biometric selfies.
4
4
5
-
> :information_source: Please get in touch with your **Account Manager** or **[support](https://support.complycube.com/hc/en-gb/requests/new)** to get access to our Mobile SDK.
6
-
7
5
## To run the app
8
6
9
-
### Installing Flutter dependencies
10
-
11
-
#### Add Repository Token for Dart
12
-
13
-
1. To access the ComplyCube repository, you must add a repository token. Run the following command in your terminal:
After executing the command, you will need to add the token provided by the jFrog repository.
20
-
21
-
#### Install Dart packages
22
-
23
-
1. To install the required Dart packages, run the following command:
24
-
25
-
```bash
26
-
dart pub get
27
-
```
28
-
29
-
### Install CocoaPods
7
+
1.[Create a Client ID](https://docs.complycube.com/documentation/guides/mobile-sdk-guide/mobile-sdk-integration-guide#id-2.-create-a-client).
8
+
2.[Generate an SDK token](https://docs.complycube.com/documentation/guides/mobile-sdk-guide/mobile-sdk-integration-guide#id-3.-generate-an-sdk-token).
9
+
3. In the `main.dart` file, replace `CLIENT_ID` and `SDK_TOKEN` with the generated values from the previous steps.
30
10
31
-
1. Before using the ComplyCube SDK, install the CocoaPods Artifactory plugin by running the following command in your terminal:
11
+
4. Install dependencies:
32
12
33
13
```bash
34
-
gem install cocoapods-art
14
+
flutter pub get
35
15
```
36
16
37
-
2. To add the library, copy your repository credentials into a `.netrc` file to your home directory and setup the repository:
17
+
5. Navigate to the `ios/`directory and install iOS pods:
38
18
39
19
```bash
40
-
pod repo-art add cc-cocoapods-release-local "https://complycuberepo.jfrog.io/artifactory/api/pods/cc-cocoapods-release-local"
20
+
cd ios
21
+
pod install
22
+
cd ..
41
23
```
42
24
43
-
### Add Artifactory Credentials for Gradle
44
-
45
-
1. In the `android/gradle.properties` file, replace `ARTIFACTORY_USER` and `ARTIFACTORY_PASSWORD` with your JFrog Username and the encrypted JFrog Password.
46
-
47
-
### Run the apps
48
-
49
-
1.[Create a Client ID](https://docs.complycube.com/documentation/guides/mobile-sdk-guide/mobile-sdk-integration-guide#id-2.-create-a-client).
50
-
2.[Generate an SDK token](https://docs.complycube.com/documentation/guides/mobile-sdk-guide/mobile-sdk-integration-guide#id-3.-generate-an-sdk-token).
51
-
3. In the `main.dart` file, replace `CLIENT_ID` and `SDK_TOKEN` with the generated values from the previous steps.
52
-
4. Run the Android app:
25
+
6. Run the app:
53
26
54
27
```bash
55
28
flutter run
56
29
```
57
30
58
-
5. Run the iOS app:
59
-
60
-
```bash
61
-
flutter run -d ios
62
-
```
63
-
64
31
## Integrating our SDK
65
32
66
33
For detailed instructions on integrating our SDK, please refer to our [integration guide](https://docs.complycube.com/documentation/guides/mobile-sdk-guide/mobile-sdk-integration-guide).
0 commit comments