1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Upgrading to React Native 5.9

This commit is contained in:
Laurent Cozic
2019-06-14 07:12:24 +01:00
parent 3fafda9684
commit f46ad5bfda
18 changed files with 1789 additions and 1663 deletions

View File

@ -175,7 +175,8 @@ class NoteBodyViewer extends Component {
onLoadEnd={() => this.onLoadEnd()}
onError={() => reg.logger().error('WebView error') }
onMessage={(event) => {
let msg = event.nativeEvent.data;
// Since RN 58 (or 59) messages are now escaped twice???
let msg = unescape(unescape(event.nativeEvent.data));
console.info('Got IPC message: ', msg);