diff --git a/index.js b/index.js index 04fc48a..dbc3e43 100644 --- a/index.js +++ b/index.js @@ -41,7 +41,7 @@ class SignaturePad extends Component { } _onNavigationChange = (args) => { - this._parseMessageFromWebViewNavigationChange(args.url); + this._parseMessageFromWebViewNavigationChange(unescape(args.url)); }; _parseMessageFromWebViewNavigationChange = (newUrl) => { diff --git a/package.json b/package.json index c5e23e3..fed46f1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-signature-pad", - "version": "0.0.5", + "version": "0.0.6", "description": "React Native wrapper around szimek's Canvas based Signature Pad", "main": "index.js", "scripts": {