Skip to content

Commit e20f025

Browse files
authored
Update README.md
1 parent 34c0a1f commit e20f025

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ React Native wrapper around @[szimek's](https://github.com/szimek) HTML5 Canvas
33

44
- Supports Android and iOS
55
- Pure JavaScript implementation with no native dependencies
6-
- Tested with RN 0.32
6+
- Tested with RN 0.40
77
- Can easily be rotated using the "transform" style
88
- Generates a base64 encoded png image of the signature
99

@@ -93,3 +93,11 @@ export default class Demo extends Component {
9393
};
9494
}
9595
```
96+
97+
## Android 7 WebView Changes
98+
99+
Google changed the default behaviour for WebViews with Android 7 (Nougat). In apps that use WebViews, it no longer uses the WebView APK in previous versions but instead it uses the Chrome WebView.
100+
101+
Source: https://developer.android.com/about/versions/nougat/android-7.0.html#webview
102+
103+
Because of this, WebView's `onMessage` prop replaces `onChange` previously used. However, `onMessage` was not implemented in React Native WebView until React Native v0.37.

0 commit comments

Comments
 (0)