Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ios/Flutter/AppFrameworkInfo.plist
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<key>CFBundleVersion</key>
<string>1.0</string>
<key>MinimumOSVersion</key>
<string>12.0</string>
<string>13.0</string>
</dict>
</plist>
27 changes: 20 additions & 7 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
PODS:
Comment thread
Aniket-indulkar marked this conversation as resolved.
- Analytics (4.1.0)
- AppAuth (2.0.0):
- AppAuth/Core (= 2.0.0)
- AppAuth/ExternalUserAgent (= 2.0.0)
- AppAuth/Core (2.0.0)
- AppAuth/ExternalUserAgent (2.0.0):
- AppAuth/Core
- complycube (0.2.3):
- ComplyCubeMobileSDK
- Flutter
- ComplyCubeMobileSDK (2.0.2):
- FingerprintPro (= 2.11.0)
- ComplyCubeMobileSDK (2.0.7):
- Analytics (= 4.1)
- AppAuth (= 2.0.0)
- FingerprintPro (= 2.12.0)
- GooglePlaces (= 7.4.0)
- JWTDecode (= 2.6.3)
- lottie-ios (= 4.5.1)
- Sentry (= 8.49.0)
- FingerprintPro (2.11.0)
- FingerprintPro (2.12.0)
- Flutter (1.0.0)
- GooglePlaces (7.4.0)
- JWTDecode (2.6.3)
Expand All @@ -23,6 +32,8 @@ DEPENDENCIES:

SPEC REPOS:
trunk:
- Analytics
- AppAuth
- ComplyCubeMobileSDK
- FingerprintPro
- GooglePlaces
Expand All @@ -37,10 +48,12 @@ EXTERNAL SOURCES:
:path: Flutter

SPEC CHECKSUMS:
complycube: 45e9a0f9de45d7e4b298899df00034e4cc5b6f3b
ComplyCubeMobileSDK: 0f263cd90b63f2ffc8a683258aa787cfc4a29671
FingerprintPro: 2fbd0cda75fbab32055f7cb38bc5fc9d17168979
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
Analytics: 21202e6dee8b74c73944084d2f876ce5cfd65e07
AppAuth: 1c1a8afa7e12f2ec3a294d9882dfa5ab7d3cb063
complycube: 37f1b1ce7f86f039f54022b50dec11b8f749ff8a
ComplyCubeMobileSDK: fab2c953cf6cfe4554da5573378a7f9addd8efdd
FingerprintPro: 035517a1b4e3e4fc073486b53b9956509010f8db
Flutter: cabc95a1d2626b1b06e7179b784ebcf0c0cde467
GooglePlaces: 544e908d94860bf6f8fc1865b80d2c7eb6b5f937
JWTDecode: 33e5e26e5ddbd21b2065820894c08fef0cad9509
lottie-ios: 248b380fa1b97d18e792c37d90da7ab2aa0d6562
Expand Down
130 changes: 66 additions & 64 deletions ios/Runner.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1510"
version = "1.3">
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
Expand Down Expand Up @@ -44,6 +44,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
shouldUseLaunchSchemeArgsEnv = "YES">
<MacroExpansion>
<BuildableReference
Expand Down Expand Up @@ -72,6 +73,7 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
customLLDBInitFile = "$(SRCROOT)/Flutter/ephemeral/flutter_lldbinit"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
Expand Down
8 changes: 8 additions & 0 deletions ios/Runner/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,13 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>NSPhotoLibraryUsageDescription</key>
<string>We use your photo library to upload identity documents for verification.</string>

<key>NSPhotoLibraryAddUsageDescription</key>
<string>We save captured images to your photo library if you choose.</string>
<key>NSCameraUsageDescription</key>
<string>We use the camera to capture identity documents and selfies for verification.</string>

</dict>
</plist>
91 changes: 57 additions & 34 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class _MyAppState extends State<MyApp> {
onResume: () {
// This is called when the app returns to the foreground
print("App Resumed - equivalent to onResume");
if(_currentStatus == VerificationStatus.PENDING) {
if (_currentStatus == VerificationStatus.PENDING) {
// The user returned to the app but we have no status yet
// This could mean they abandoned the flow
setState(() => _status = 'abandoned');
Expand Down Expand Up @@ -94,7 +94,9 @@ class _MyAppState extends State<MyApp> {
title: const Text("Start Flow"),
subtitle: const Text(""),
onTap: () async {
_start("69662ca82b64c6000268004b", "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwYXlsb2FkIjoiTTJGa056VTNZamMzWTJKa1lqVTBZelUzTVRFd1pEZzVOV1UxTkdNNE0yWXlaVEZsWXpVMk1XWXhNalkwWWpFek1tTmlOalU0TlRnMU5HRXhOVGs0WW1JM1lUY3dZVGcwWlRVMFlUVTNOMkl3WldSbE9HWTRNREkwTnpVME5EVXlORFEzTldRek1HUmxOalV3TVdRd09UWm1ZekkwTUdJM01XVmxPVGd6WkRRek9EVTNZbU15WVdKaU56WTRNekJpT0RNd04yTmlZMlV3WlRsaE1EWmpabVZpT1RrNU5XTTBaVGN4TURjelptRmtNMlUwTmpZNE1UUXhOMkZoT1RjMk4yTmlORGMzT0dWbFpXUmlZV1U0T1dWbU16bGxaalJrWm1ZME5HWTBNalEyTUROaE5USTVNMlUzTnpobU9XVT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ek9EVTNZbU15WVdKaU56WTRNekJpT0RNd04yTmlZMlV3WlRsaE1EWmpabVZpT1RrNU5XTTBaVGN4TURjelptRmtNMlUwTmpZNE1UUXhOMkZoT1RjMk4yTmlORGMzT0dWbFpXUmlZV1U0T1dWbU16bGxaalJrWm1ZME5HWTBNalEyTUROaE5USTVNMlUzTnpobU9XVTJNams1WWpWbE5qRm1OakUxWVRoa1pXTm1NRFU1WkRNMU5HVmhaVFl3TWpRNE56WTBPR1psT0RJMllUY3hNek5qIiwiZW52aXJvbm1lbnQiOiJsaXZlIiwidXJscyI6eyJhcGkiOiJodHRwczovL2FwaS5jb21wbHljdWJlLmNvbSIsInN5bmMiOiJ3c3M6Ly94ZHMuY29tcGx5Y3ViZS5jb20iLCJjcm9zc0RldmljZSI6Imh0dHBzOi8veGQuY29tcGx5Y3ViZS5jb20ifSwib3B0aW9ucyI6eyJoaWRlQ29tcGx5Q3ViZUxvZ28iOmZhbHNlLCJlbmFibGVDdXN0b21Mb2dvIjp0cnVlLCJlbmFibGVUZXh0QnJhbmQiOnRydWUsImVuYWJsZUN1c3RvbUNhbGxiYWNrcyI6dHJ1ZSwiZW5hYmxlTmZjIjp0cnVlLCJpZGVudGl0eUNoZWNrTGl2ZW5lc3NBdHRlbXB0cyI6NSwiZG9jdW1lbnRJbmZsaWdodFRlc3RBdHRlbXB0cyI6MiwibmZjUmVhZEF0dGVtcHRzIjo1LCJlbmFibGVBZGRyZXNzQXV0b2NvbXBsZXRlIjp0cnVlLCJlbmFibGVXaGl0ZUxhYmVsaW5nIjpmYWxzZX0sImlhdCI6MTc3NDg3MTE5MCwiZXhwIjoxNzc0ODc0NzkwfQ.sZm7w8-34t-sKq90uR9_vyp0we7b4sp9CeZsZfuHR_w",
"IGNORE_THIS_WORKFLOW_ID");
},
),
),
Expand All @@ -109,48 +111,62 @@ class _MyAppState extends State<MyApp> {
// "workflowTemplateId": workflowId,
"stages": [
{
"name": "intro",
"title": "Green Bank ID verification",
"message": "We will now verify your identity so you can start trading."
"name": 'intro',
"heading": 'Remit KYC verification',
'title': 'Identity Verification',
"message": "We will now verify your identity so you can do payments."
},
{
"name": "consent",
"title": "Terms of Service",
"message": "Complete your identity verification to start trading with Green Bank."
"name":"consent"
},
{
"name": "documentCapture",
"title": "Document Capture",
"nfcEnabled": true,
"title": "Compliance ID Verification",
"name": 'documentCapture',
"showGuidance": true,
"useLiveCaptureOnly": false,
"useMLAssistance": true,
"isNFCEnabled":true,
"useLiveCaptureOnly": true,
"retryLimit": 1,
"documentTypes": {
"passport": true,
"driving_license": ["GB", "FR"],
"national_identity_card": ["GB", "FR"],
"residence_permit": ["GB", "FR"]
}
},
{"name": "addressCapture", "useAutoComplete": true, "allowedCountries": ["GB"]},
{
"name": "poaCapture",
"documentTypes": {"bank_statement": true, "utility_bill": true, "driving_license": true, "tax_document": true},
"showGuidance": true,
"useLiveCaptureOnly": false,
"retryLimit": 1,
"isAddressCaptureEnabled": false
"driving_license": ["GB"],
},
},
{
"title": "Remit Face verifications",
"name": "faceCapture",
"mode": "photo",
"showGuidance": false,
"useLiveCaptureOnly": false,
"useMLAssistance": true,
"showGuidance": true,
"retryLimit": 1
},
// {"name": "addressCapture", "useAutoComplete": true, "allowedCountries": ["GB"]},
{
"name": "poaCapture",
"documentTypes": {
"bank_statement": true,
"utility_bill": true,
"driving_license": true,
"tax_document": true
},
"showGuidance": true,
"useLiveCaptureOnly": false,
"retryLimit": 1,
"isAddressCaptureEnabled": true
},
// "complete",
// {
// "name": "complete",
// "title": "Success!",
// "message": "You're all set"
// }
// {"name": "addressCapture", "useAutoComplete": true, "allowedCountries": ["GB"]},
// {
// "name": "poaCapture",
// "documentTypes": {"bank_statement": true, "utility_bill": true, "driving_license": true, "tax_document": true},
// "showGuidance": true,
// "useLiveCaptureOnly": false,
// "retryLimit": 1,
// "isAddressCaptureEnabled": false
// },
// {
// "name": "faceCapture",
// "mode": "photo",
Expand Down Expand Up @@ -179,23 +195,30 @@ class _MyAppState extends State<MyApp> {
],
"lookAndFeel": {
"isDarkMode": false,
"borderRadius": 30,
"uiInterfaceStyle": "light",
"primaryButtonBgColor": "#09EB7E",
"primaryButtonBorderColor": "#FFFFFF",
"primaryButtonPressedBgColor": "#08DB7D",
"primaryButtonTextColor": "#011E3C",
"secondaryButtonBgColor": "#F6F6F6",
"secondaryButtonTextColor": "#000000",
"linkButtonTextColor": "#000000",
"secondaryButtonBorderColor": "#000000",
"headingTextColor": "#000000",
"errorPanelBgColor": "#FFFFFF",
"editTextColor": "#808080",
"errorPanelColor": "#F2F2F2",
"errorPanelBgColor": "#F2F2F2",
"errorPanelIconColor": "#D32F2F",
"errorPanelTitleTextColor": "#D32F2F",
"errorPanelDescriptionTextColor": "#D32F2F",
"errorPopupColor": "#D32F2F",
"errorPopupIconColor": "#D32F2F",
"errorPopupTitleTextColor": "#D32F2F",
"errorPopupDescriptionTextColor": "#D32F2F",
"documentTypeSelectorBorderColor": "#808080",
"documentTypeSelectorBgColor": "#FFFFFF",
"documentTypeSelectorIconColor": "#09EB7E",
"documentTypeSelectorTitleTextColor": "#000000",
"documentTypeSelectorDescriptionTextColor": "#000000",
"backgroundContentColor": "#09EB7E"
"borderRadius": 30
}
// "lookAndFeel": {
// "borderRadius": 16,
Expand Down
38 changes: 15 additions & 23 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ packages:
dependency: "direct main"
description:
name: complycube
sha256: a6034997f6b2e8e2d9cd246d7bd2338dd70f055dab949778a2a50847781eec15
sha256: ac1991384e7a0c548575d37dfb7acd23331fbb15671601746ac058c926fe4887
url: "https://pub.dev"
source: hosted
version: "1.0.2"
version: "1.0.4"
cupertino_icons:
dependency: "direct main"
description:
Expand All @@ -61,10 +61,10 @@ packages:
dependency: transitive
description:
name: fake_async
sha256: "6a95e56b2449df2273fd8c45a662d6947ce1ebb7aafe80e550a3f68297f3cacc"
sha256: "5368f224a74523e8d2e7399ea1638b37aecfca824a3cc4dfdf77bf1fa905ac44"
url: "https://pub.dev"
source: hosted
version: "1.3.2"
version: "1.3.3"
file:
dependency: transitive
description:
Expand Down Expand Up @@ -110,26 +110,26 @@ packages:
dependency: transitive
description:
name: leak_tracker
sha256: c35baad643ba394b40aac41080300150a4f08fd0fd6a10378f8f7c6bc161acec
sha256: "33e2e26bdd85a0112ec15400c8cbffea70d0f9c3407491f672a2fad47915e2de"
url: "https://pub.dev"
source: hosted
version: "10.0.8"
version: "11.0.2"
leak_tracker_flutter_testing:
dependency: transitive
description:
name: leak_tracker_flutter_testing
sha256: f8b613e7e6a13ec79cfdc0e97638fddb3ab848452eff057653abd3edba760573
sha256: "1dbc140bb5a23c75ea9c4811222756104fbcd1a27173f0c34ca01e16bea473c1"
url: "https://pub.dev"
source: hosted
version: "3.0.9"
version: "3.0.10"
leak_tracker_testing:
dependency: transitive
description:
name: leak_tracker_testing
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
sha256: "8d5a2d49f4a66b49744b23b018848400d23e54caf9463f4eb20df3eb8acb2eb1"
url: "https://pub.dev"
source: hosted
version: "3.0.1"
version: "3.0.2"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -178,14 +178,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.1.6"
plugin_platform_interface:
dependency: transitive
description:
name: plugin_platform_interface
sha256: "4820fbfdb9478b1ebae27888254d445073732dae3d6ea81f0b7e06d5dedc3f02"
url: "https://pub.dev"
source: hosted
version: "2.1.8"
process:
dependency: transitive
description:
Expand Down Expand Up @@ -251,18 +243,18 @@ packages:
dependency: transitive
description:
name: test_api
sha256: fb31f383e2ee25fbbfe06b40fe21e1e458d14080e3c67e7ba0acfde4df4e0bbd
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
url: "https://pub.dev"
source: hosted
version: "0.7.4"
version: "0.7.6"
vector_math:
dependency: transitive
description:
name: vector_math
sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803"
sha256: d530bd74fea330e6e364cda7a85019c434070188383e1cd8d9777ee586914c5b
url: "https://pub.dev"
source: hosted
version: "2.1.4"
version: "2.2.0"
vm_service:
dependency: transitive
description:
Expand All @@ -280,5 +272,5 @@ packages:
source: hosted
version: "3.0.4"
sdks:
dart: ">=3.7.0-0 <4.0.0"
dart: ">=3.8.0-0 <4.0.0"
flutter: ">=3.18.0-18.0.pre.54"
4 changes: 3 additions & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,9 @@ environment:
dependencies:
flutter:
sdk: flutter
complycube: ^1.0.2
complycube: ^1.0.4
# complycube:
# path: /Users/aniket.indulkar/Documents/GitHub/complycube-sdk-flutter-internal

# When depending on this package from a real application you should use:
# complycube: ^x.y.z
Expand Down
Loading