@qore-id/react-native-qoreid-sdk 0.1.2-snapshot → 0.1.2

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 (2) hide show
  1. package/README.md +16 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -12,10 +12,18 @@ npm install @qore-id/react-native-qoreid-sdk
12
12
  yarn add @qore-id/react-native-qoreid-sdk
13
13
  ```
14
14
 
15
+ You will be required to install WebView package if you don't already have it installed in your project.
16
+
17
+ ```sh
18
+ npm i react-native-webview
19
+ ```
20
+
15
21
  ### Android
16
22
 
17
23
  Add the following to your `app/build.gradle`
24
+
18
25
  ```groovy
26
+ //before your dependencies
19
27
  repositories {
20
28
  mavenCentral()
21
29
  google()
@@ -23,14 +31,19 @@ Add the following to your `app/build.gradle`
23
31
  url "https://repo.qoreid.com/repository/maven-releases/"
24
32
  }
25
33
  }
34
+
26
35
  ```
27
36
 
28
- ### iOS
37
+ ```groovy
29
38
 
30
- You will be required to install WebView package if you don't already have it installed in your project.
31
39
 
40
+ ```
41
+
42
+ ### iOS
43
+ From your root directory
32
44
  ```sh
33
- npm i react-native-webview
45
+
46
+ project % cd ios && pod install
34
47
  ```
35
48
 
36
49
 
@@ -39,7 +52,6 @@ npm i react-native-webview
39
52
  ## Usage
40
53
 
41
54
  ```tsx
42
- //verify.android.tsx
43
55
  import React from 'react'
44
56
  import { QoreIdButton } from '@qore-id/react-native-qoreid-sdk';
45
57
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qore-id/react-native-qoreid-sdk",
3
- "version": "0.1.2-snapshot",
3
+ "version": "0.1.2",
4
4
  "description": "QoreId React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",