@qore-id/react-native-qoreid-sdk 1.0.3 → 1.0.4

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
@@ -36,7 +36,7 @@ Add this snippet of code to your `~/java/com.<app name>/MainActivity`
36
36
 
37
37
  ```
38
38
 
39
- Add import statement above the class
39
+ Add this import statement above the class
40
40
 
41
41
  ```java
42
42
  import com.qoreidsdk.QoreidSdkModule;
@@ -50,7 +50,19 @@ From your root directory
50
50
  ```sh
51
51
  npm i react-native-webview
52
52
  ``` -->
53
-
53
+ ## Permissions
54
+ Certain services on QoreID require device permissions to work properly. Follow the instructions [here](https://docs.qoreid.com/docs/permissions) to add the required permissions to your `~/android/app/src/main/AndroidManifest.xml` file.
55
+
56
+ Verifind required permissions
57
+ ```xml
58
+ ...
59
+ <!-- Required for Verifind -->
60
+ <uses-permission android:name="android.permission.ACTIVITY_RECOGNITION" />
61
+ <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
62
+ <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
63
+ <uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
64
+ ...
65
+ ```
54
66
 
55
67
  ## Usage
56
68
 
@@ -116,8 +128,6 @@ function App() {
116
128
 
117
129
 
118
130
 
119
-
120
-
121
131
  ### Utilities
122
132
 
123
133
  QoreId SDK exposes utilities that you can easily use
@@ -92,7 +92,7 @@ dependencies {
92
92
  // For < 0.71, this will be from the local maven repo
93
93
  // For > 0.71, this will be replaced by `com.facebook.react:react-android:$version` by react gradle plugin
94
94
  //noinspection GradleDynamicVersion
95
- implementation 'com.qoreid:qoreid-sdk:1.1.0'
95
+ implementation 'com.qoreid:qoreid-sdk:1.1.1'
96
96
  implementation "com.google.code.gson:gson:2.8.5"
97
97
  implementation "com.facebook.react:react-native:+"
98
98
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qore-id/react-native-qoreid-sdk",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "QoreId React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",