react-native-signature-canvas 4.4.0 → 4.5.0
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 +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -9,10 +9,8 @@
|
|
|
9
9
|
React Native Signature Component based Canvas for Android && IOS && expo
|
|
10
10
|
|
|
11
11
|
- Supports Android and iOS and Expo
|
|
12
|
-
-
|
|
13
|
-
- Tested with RN 0.50
|
|
12
|
+
- Tested with RN 0.69
|
|
14
13
|
- Core use [signature_pad.js](https://github.com/szimek/signature_pad)
|
|
15
|
-
- Only depend on react and react native
|
|
16
14
|
- Generates a base64 encoded png image of the signature
|
|
17
15
|
Note: Expo support for React Native Signature Canvas v1.5.0 started with Expo SDK v33.0.0.
|
|
18
16
|
|
|
@@ -28,6 +26,10 @@ or
|
|
|
28
26
|
npm install --save react-native-signature-canvas
|
|
29
27
|
```
|
|
30
28
|
|
|
29
|
+
> This package depends on [react-native-webview](https://github.com/react-native-webview/react-native-webview#readme) and it is particularly needed when you are using **_React Native CLI_**. To install `react-native-webview` follow the steps mentioned [here](https://github.com/react-native-webview/react-native-webview/blob/master/docs/Getting-Started.md)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
31
33
|
## Installation(for React Native V0.5x.x or Expo SDK < v33)
|
|
32
34
|
|
|
33
35
|
```bash
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-signature-canvas",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0",
|
|
4
4
|
"description": "React Native Signature Component based Canvas for Android && IOS && expo",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -29,6 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"homepage": "https://github.com/YanYuanFE/react-native-signature-canvas#readme",
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"react-native-webview": "
|
|
32
|
+
"react-native-webview": ">11.18.1"
|
|
33
33
|
}
|
|
34
34
|
}
|