@sanctum-key/react-native-sdk 1.0.61 → 1.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/README.md +34 -0
  2. package/android/build/.transforms/ac63f648699cdd4b91e6ee06476f2a70/results.bin +1 -0
  3. package/android/build/.transforms/ac63f648699cdd4b91e6ee06476f2a70/transformed/classes/classes_dex/classes.dex +0 -0
  4. package/android/build/intermediates/aapt_friendly_merged_manifests/debug/processDebugManifest/aapt/AndroidManifest.xml +9 -0
  5. package/android/build/intermediates/compile_library_classes_jar/debug/bundleLibCompileToJarDebug/classes.jar +0 -0
  6. package/android/build/intermediates/incremental/debug/packageDebugResources/compile-file-map.properties +1 -1
  7. package/android/build/intermediates/manifest_merge_blame_file/debug/processDebugManifest/manifest-merger-blame-debug-report.txt +45 -25
  8. package/android/build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml +9 -0
  9. package/android/build/intermediates/runtime_library_classes_jar/debug/bundleLibRuntimeToJarDebug/classes.jar +0 -0
  10. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab +0 -0
  11. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/inputs/source-to-output.tab.values.at +0 -0
  12. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab +0 -0
  13. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.keystream +0 -0
  14. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab.values.at +0 -0
  15. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-attributes.tab_i +0 -0
  16. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab +0 -0
  17. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.keystream +0 -0
  18. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab.values.at +0 -0
  19. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/class-fq-name-to-source.tab_i +0 -0
  20. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab +0 -0
  21. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream +0 -0
  22. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.keystream.len +0 -0
  23. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.len +0 -0
  24. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab.values.at +0 -0
  25. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/internal-name-to-source.tab_i +0 -0
  26. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab +0 -0
  27. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.keystream +0 -0
  28. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab.values.at +0 -0
  29. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/proto.tab_i +0 -0
  30. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab +0 -0
  31. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/source-to-classes.tab.values.at +0 -0
  32. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab +0 -0
  33. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/subtypes.tab.values.at +0 -0
  34. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab +0 -0
  35. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/jvm/kotlin/supertypes.tab.values.at +0 -0
  36. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/counters.tab +1 -1
  37. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab +0 -0
  38. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/file-to-id.tab.values.at +0 -0
  39. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab +0 -0
  40. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream +0 -0
  41. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.keystream.len +0 -0
  42. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.len +0 -0
  43. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab.values.at +0 -0
  44. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/id-to-file.tab_i +0 -0
  45. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab +0 -0
  46. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream +0 -0
  47. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.keystream.len +0 -0
  48. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.len +0 -0
  49. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab.values.at +0 -0
  50. package/android/build/kotlin/compileDebugKotlin/cacheable/caches-jvm/lookups/lookups.tab_i +0 -0
  51. package/android/build/kotlin/compileDebugKotlin/cacheable/last-build.bin +0 -0
  52. package/android/build/kotlin/compileDebugKotlin/classpath-snapshot/shrunk-classpath-snapshot.bin +0 -0
  53. package/android/build/kotlin/compileDebugKotlin/local-state/build-history.bin +0 -0
  54. package/android/build/outputs/logs/manifest-merger-debug-report.txt +34 -12
  55. package/android/build/tmp/compileDebugJavaWithJavac/previous-compilation-data.bin +0 -0
  56. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule$BarcodeRegion.class +0 -0
  57. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule$Companion.class +0 -0
  58. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$1$6$1.class → SanctumKeySdkModule$definition$1$7$1.class} +0 -0
  59. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$1$6$2.class → SanctumKeySdkModule$definition$1$7$2.class} +0 -0
  60. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$1.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$1.class} +0 -0
  61. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$5.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$2.class} +0 -0
  62. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$3.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$3.class} +0 -0
  63. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$4.class +0 -0
  64. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$2.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$5.class} +0 -0
  65. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$6.class +0 -0
  66. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$4.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$7.class} +0 -0
  67. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$8.class +0 -0
  68. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunction$6.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunction$9.class} +0 -0
  69. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$1.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$1.class} +0 -0
  70. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$2.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$2.class} +0 -0
  71. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$3.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$3.class} +0 -0
  72. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$4.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$4.class} +0 -0
  73. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$5.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$5.class} +0 -0
  74. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$6.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$6.class} +0 -0
  75. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$AsyncFunctionWithPromise$7.class → SanctumKeySdkModule$definition$lambda$24$$inlined$AsyncFunctionWithPromise$7.class} +0 -0
  76. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$$inlined$View$1.class → SanctumKeySdkModule$definition$lambda$24$$inlined$View$1.class} +0 -0
  77. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$lambda$15$$inlined$Prop$1.class → SanctumKeySdkModule$definition$lambda$24$lambda$23$$inlined$Prop$1.class} +0 -0
  78. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/{SanctumKeySdkModule$definition$lambda$16$lambda$15$$inlined$Prop$2.class → SanctumKeySdkModule$definition$lambda$24$lambda$23$$inlined$Prop$2.class} +0 -0
  79. package/android/build/tmp/kotlin-classes/debug/kyc/sanctumkey/com/SanctumKeySdkModule.class +0 -0
  80. package/android/src/main/AndroidManifest.xml +9 -0
  81. package/android/src/main/java/kyc/sanctumkey/com/SanctumKeySdkModule.kt +147 -0
  82. package/build/package.json +1 -1
  83. package/build/src/SanctumKeySdkModule.d.ts +2 -0
  84. package/build/src/SanctumKeySdkModule.d.ts.map +1 -1
  85. package/build/src/SanctumKeySdkModule.js.map +1 -1
  86. package/build/src/SanctumKeySdkModule.web.d.ts +2 -0
  87. package/build/src/SanctumKeySdkModule.web.d.ts.map +1 -1
  88. package/build/src/SanctumKeySdkModule.web.js +14 -0
  89. package/build/src/SanctumKeySdkModule.web.js.map +1 -1
  90. package/build/src/components/KYCElements/CountrySelection.d.ts.map +1 -1
  91. package/build/src/components/KYCElements/CountrySelection.js +1 -1
  92. package/build/src/components/KYCElements/CountrySelection.js.map +1 -1
  93. package/build/src/components/KYCElements/CountrySelectionTemplate.d.ts.map +1 -1
  94. package/build/src/components/KYCElements/CountrySelectionTemplate.js +27 -17
  95. package/build/src/components/KYCElements/CountrySelectionTemplate.js.map +1 -1
  96. package/build/src/components/KYCElements/IDCardCapture.d.ts.map +1 -1
  97. package/build/src/components/KYCElements/IDCardCapture.js +46 -28
  98. package/build/src/components/KYCElements/IDCardCapture.js.map +1 -1
  99. package/build/src/components/OverLay/IdCard.d.ts +1 -1
  100. package/build/src/components/OverLay/IdCard.d.ts.map +1 -1
  101. package/build/src/components/OverLay/IdCard.js +47 -14
  102. package/build/src/components/OverLay/IdCard.js.map +1 -1
  103. package/build/src/components/OverLay/type.d.ts +2 -0
  104. package/build/src/components/OverLay/type.d.ts.map +1 -1
  105. package/build/src/components/OverLay/type.js.map +1 -1
  106. package/build/src/components/Svgs/scanningLine.d.ts +4 -1
  107. package/build/src/components/Svgs/scanningLine.d.ts.map +1 -1
  108. package/build/src/components/Svgs/scanningLine.js +15 -11
  109. package/build/src/components/Svgs/scanningLine.js.map +1 -1
  110. package/build/src/components/TemplateKYCExample.d.ts +4 -1
  111. package/build/src/components/TemplateKYCExample.d.ts.map +1 -1
  112. package/build/src/components/TemplateKYCExample.js +2 -2
  113. package/build/src/components/TemplateKYCExample.js.map +1 -1
  114. package/build/src/components/TemplateKYCFlowRefactored.d.ts +4 -2
  115. package/build/src/components/TemplateKYCFlowRefactored.d.ts.map +1 -1
  116. package/build/src/components/TemplateKYCFlowRefactored.js +157 -8
  117. package/build/src/components/TemplateKYCFlowRefactored.js.map +1 -1
  118. package/build/src/config/region_mapping.d.ts.map +1 -1
  119. package/build/src/config/region_mapping.js +12 -0
  120. package/build/src/config/region_mapping.js.map +1 -1
  121. package/build/src/config/region_mapping.json +12 -0
  122. package/build/src/index.d.ts +2 -0
  123. package/build/src/index.d.ts.map +1 -1
  124. package/build/src/index.js +2 -0
  125. package/build/src/index.js.map +1 -1
  126. package/build/src/security/deviceSecurity.d.ts +30 -0
  127. package/build/src/security/deviceSecurity.d.ts.map +1 -0
  128. package/build/src/security/deviceSecurity.js +55 -0
  129. package/build/src/security/deviceSecurity.js.map +1 -0
  130. package/build/src/utils/logger.d.ts.map +1 -1
  131. package/build/src/utils/logger.js +5 -0
  132. package/build/src/utils/logger.js.map +1 -1
  133. package/ios/SanctumKeySdkModule.swift +93 -0
  134. package/package.json +1 -1
  135. package/src/SanctumKeySdkModule.ts +2 -0
  136. package/src/SanctumKeySdkModule.web.ts +16 -0
  137. package/src/components/KYCElements/CountrySelection.tsx +3 -1
  138. package/src/components/KYCElements/CountrySelectionTemplate.tsx +73 -24
  139. package/src/components/KYCElements/IDCardCapture.tsx +53 -30
  140. package/src/components/OverLay/IdCard.tsx +72 -15
  141. package/src/components/OverLay/type.ts +4 -2
  142. package/src/components/Svgs/scanningLine.tsx +19 -12
  143. package/src/components/TemplateKYCExample.tsx +8 -1
  144. package/src/components/TemplateKYCFlowRefactored.tsx +202 -16
  145. package/src/config/region_mapping.json +12 -0
  146. package/src/config/region_mapping.ts +12 -0
  147. package/src/index.ts +9 -1
  148. package/src/security/deviceSecurity.ts +106 -0
  149. package/src/utils/logger.ts +5 -0
package/README.md CHANGED
@@ -12,6 +12,7 @@ A comprehensive React Native SDK for identity verification (KYC — Know Your Cu
12
12
  ✅ **File Upload** with validation
13
13
  ✅ **Custom Overlays** and instructions
14
14
  ✅ **Permission Management** with graceful fallbacks
15
+ ✅ **Device Integrity Checks** for rooted/jailbroken devices, developer mode, and emulators
15
16
  ✅ **Multi-Platform Support** (iOS, Android, Web)
16
17
  ✅ **TypeScript Support** with full type definitions
17
18
  ✅ **Expo Config Plugin** for easy setup
@@ -170,6 +171,39 @@ const styles = StyleSheet.create({
170
171
  });
171
172
  ```
172
173
 
174
+ ## Device Security
175
+
176
+ On Android and iOS, the KYC flow checks device integrity before loading a template or starting a session. In `PRODUCTION`, rooted or jailbroken devices, Android developer mode, attached debuggers, and emulators/simulators are blocked by default. In non-production environments the SDK reports the result without blocking, so development builds can still run.
177
+
178
+ You can observe the result or override individual rules:
179
+
180
+ ```tsx
181
+ <LaunchSanctumKeyKYC
182
+ // ...other required props
183
+ deviceSecurityPolicy={{
184
+ blockCompromisedDevices: true,
185
+ blockDeveloperMode: true,
186
+ blockEmulators: true,
187
+ failClosed: true,
188
+ }}
189
+ onDeviceSecurityCheck={(result) => {
190
+ console.log('Device security:', result);
191
+ }}
192
+ />
193
+ ```
194
+
195
+ The check can also be called independently:
196
+
197
+ ```ts
198
+ import { checkDeviceSecurity } from '@sanctum-key/react-native-sdk';
199
+
200
+ const result = await checkDeviceSecurity();
201
+ ```
202
+
203
+ Apple does not expose a public API that reports the iOS Developer Mode setting. On iOS, the SDK therefore detects an attached debugger and reports `developerModeCheckSupported: false`; jailbreak and simulator checks still run normally.
204
+
205
+ Because this feature includes native Kotlin and Swift code, rebuild the Android/iOS application after upgrading the SDK. A Metro reload is not sufficient, and Expo Go cannot provide the native checker.
206
+
173
207
 
174
208
  ## Supported Document Types
175
209
 
@@ -52,6 +52,15 @@
52
52
  android:name="android.hardware.camera.autofocus"
53
53
  android:required="false" />
54
54
 
55
+ <!-- Specific package visibility used by the device-integrity check. -->
56
+ <queries>
57
+ <package android:name="com.topjohnwu.magisk" />
58
+ <package android:name="eu.chainfire.supersu" />
59
+ <package android:name="com.noshufou.android.su" />
60
+ <package android:name="com.koushikdutta.superuser" />
61
+ <package android:name="com.thirdparty.superuser" />
62
+ </queries>
63
+
55
64
  <application android:requestLegacyExternalStorage="false" >
56
65
 
57
66
  <!-- FileProvider pour partager les fichiers -->
@@ -1,2 +1,2 @@
1
- #Mon Aug 24 17:26:25 EAT 2026
1
+ #Wed Sep 30 09:07:57 EAT 2026
2
2
  kyc.sanctumkey.com.sanctum-key-react-native-sdk-main-6\:/xml/file_paths.xml=/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/build/intermediates/packaged_res/debug/packageDebugResources/xml/file_paths.xml
@@ -83,28 +83,48 @@
83
83
  53 android:required="false" />
84
84
  53-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:33:68-92
85
85
  54
86
- 55 <application android:requestLegacyExternalStorage="false" >
87
- 55-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:35:5-47:19
88
- 55-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:36:9-53
89
- 56
90
- 57 <!-- FileProvider pour partager les fichiers -->
91
- 58 <provider
92
- 58-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:9-46:20
93
- 59 android:name="androidx.core.content.FileProvider"
94
- 59-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:13-62
95
- 60 android:authorities="${applicationId}.fileprovider"
96
- 60-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:13-64
97
- 61 android:exported="false"
98
- 61-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:13-37
99
- 62 android:grantUriPermissions="true" >
100
- 62-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:42:13-47
101
- 63 <meta-data
102
- 63-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:43:13-45:54
103
- 64 android:name="android.support.FILE_PROVIDER_PATHS"
104
- 64-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:44:17-67
105
- 65 android:resource="@xml/file_paths" />
106
- 65-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:45:17-51
107
- 66 </provider>
108
- 67 </application>
109
- 68
110
- 69</manifest>
86
+ 55 <!-- Specific package visibility used by the device-integrity check. -->
87
+ 56 <queries>
88
+ 56-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:36:5-42:15
89
+ 57 <package android:name="com.topjohnwu.magisk" />
90
+ 57-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:37:9-56
91
+ 57-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:37:18-53
92
+ 58 <package android:name="eu.chainfire.supersu" />
93
+ 58-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:9-56
94
+ 58-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:18-53
95
+ 59 <package android:name="com.noshufou.android.su" />
96
+ 59-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:9-59
97
+ 59-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:18-56
98
+ 60 <package android:name="com.koushikdutta.superuser" />
99
+ 60-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:9-62
100
+ 60-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:18-59
101
+ 61 <package android:name="com.thirdparty.superuser" />
102
+ 61-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:9-60
103
+ 61-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:18-57
104
+ 62 </queries>
105
+ 63
106
+ 64 <application android:requestLegacyExternalStorage="false" >
107
+ 64-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:44:5-56:19
108
+ 64-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:45:9-53
109
+ 65
110
+ 66 <!-- FileProvider pour partager les fichiers -->
111
+ 67 <provider
112
+ 67-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:47:9-55:20
113
+ 68 android:name="androidx.core.content.FileProvider"
114
+ 68-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:48:13-62
115
+ 69 android:authorities="${applicationId}.fileprovider"
116
+ 69-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:49:13-64
117
+ 70 android:exported="false"
118
+ 70-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:50:13-37
119
+ 71 android:grantUriPermissions="true" >
120
+ 71-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:51:13-47
121
+ 72 <meta-data
122
+ 72-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:52:13-54:54
123
+ 73 android:name="android.support.FILE_PROVIDER_PATHS"
124
+ 73-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:53:17-67
125
+ 74 android:resource="@xml/file_paths" />
126
+ 74-->/Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:54:17-51
127
+ 75 </provider>
128
+ 76 </application>
129
+ 77
130
+ 78</manifest>
@@ -52,6 +52,15 @@
52
52
  android:name="android.hardware.camera.autofocus"
53
53
  android:required="false" />
54
54
 
55
+ <!-- Specific package visibility used by the device-integrity check. -->
56
+ <queries>
57
+ <package android:name="com.topjohnwu.magisk" />
58
+ <package android:name="eu.chainfire.supersu" />
59
+ <package android:name="com.noshufou.android.su" />
60
+ <package android:name="com.koushikdutta.superuser" />
61
+ <package android:name="com.thirdparty.superuser" />
62
+ </queries>
63
+
55
64
  <application android:requestLegacyExternalStorage="false" >
56
65
 
57
66
  <!-- FileProvider pour partager les fichiers -->
@@ -1,7 +1,7 @@
1
1
  -- Merging decision tree log ---
2
2
  manifest
3
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:2:1-49:12
4
- INJECTED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:2:1-49:12
3
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:2:1-58:12
4
+ INJECTED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:2:1-58:12
5
5
  package
6
6
  ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:4:5-33
7
7
  INJECTED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml
@@ -71,26 +71,48 @@ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/m
71
71
  ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:33:68-92
72
72
  android:name
73
73
  ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:33:19-67
74
+ queries
75
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:36:5-42:15
76
+ package#com.topjohnwu.magisk
77
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:37:9-56
78
+ android:name
79
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:37:18-53
80
+ package#eu.chainfire.supersu
81
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:9-56
82
+ android:name
83
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:18-53
84
+ package#com.noshufou.android.su
85
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:9-59
86
+ android:name
87
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:18-56
88
+ package#com.koushikdutta.superuser
89
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:9-62
90
+ android:name
91
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:18-59
92
+ package#com.thirdparty.superuser
93
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:9-60
94
+ android:name
95
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:18-57
74
96
  application
75
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:35:5-47:19
97
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:44:5-56:19
76
98
  android:requestLegacyExternalStorage
77
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:36:9-53
99
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:45:9-53
78
100
  provider#androidx.core.content.FileProvider
79
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:38:9-46:20
101
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:47:9-55:20
80
102
  android:grantUriPermissions
81
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:42:13-47
103
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:51:13-47
82
104
  android:authorities
83
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:40:13-64
105
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:49:13-64
84
106
  android:exported
85
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:41:13-37
107
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:50:13-37
86
108
  android:name
87
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:39:13-62
109
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:48:13-62
88
110
  meta-data#android.support.FILE_PROVIDER_PATHS
89
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:43:13-45:54
111
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:52:13-54:54
90
112
  android:resource
91
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:45:17-51
113
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:54:17-51
92
114
  android:name
93
- ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:44:17-67
115
+ ADDED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml:53:17-67
94
116
  uses-sdk
95
117
  INJECTED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml reason: use-sdk injection requested
96
118
  INJECTED from /Users/chengo/Projects/KYC-User-Frontend/sanctumkey-sdk/android/src/main/AndroidManifest.xml
@@ -32,6 +32,15 @@
32
32
  <uses-feature android:name="android.hardware.camera" android:required="true" />
33
33
  <uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
34
34
 
35
+ <!-- Specific package visibility used by the device-integrity check. -->
36
+ <queries>
37
+ <package android:name="com.topjohnwu.magisk" />
38
+ <package android:name="eu.chainfire.supersu" />
39
+ <package android:name="com.noshufou.android.su" />
40
+ <package android:name="com.koushikdutta.superuser" />
41
+ <package android:name="com.thirdparty.superuser" />
42
+ </queries>
43
+
35
44
  <application
36
45
  android:requestLegacyExternalStorage="false">
37
46
  <!-- FileProvider pour partager les fichiers -->