dojah-kyc-sdk-react-expo 0.1.0 → 0.1.1

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.
package/README.md CHANGED
@@ -6,6 +6,19 @@
6
6
  npm install dojah-kyc-sdk-react-expo
7
7
  ```
8
8
 
9
+
10
+ ## Android Setup
11
+
12
+ ### Requirements
13
+ * Minimum Android SDK version - 21
14
+ * Supported targetSdkVersion - 35
15
+
16
+
17
+ Enable jetifier in grade.properties:
18
+ ```
19
+ android.enableJetifier=true
20
+ ```
21
+
9
22
  ### Permissions
10
23
 
11
24
  For Android you don't need to declare permissions, its already included in the Package.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dojah-kyc-sdk-react-expo",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Dojah Kyc",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -45,18 +45,15 @@ function withGradlePropertiesModification(config) {
45
45
  config.modResults = [];
46
46
  }
47
47
 
48
- // Add new entries
49
- config.modResults.push(
50
- [{
51
- key: 'org.gradle.jvmargs',
52
- value:
53
- '-Xmx4096m -XX:MaxMetaspaceSize=512m -XX:MaxPermSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8',
54
- },
48
+ [
55
49
  {
50
+ type: 'property',
56
51
  key: 'android.enableJetifier',
57
52
  value: 'true',
58
- }]
59
- );
53
+ }
54
+ ].map((entry) => {
55
+ config.modResults.push(entry);
56
+ });
60
57
 
61
58
  return config;
62
59
  });