Skip to content

Commit

Permalink
Merge pull request #3 from DispatcherInc/fix/unescape
Browse files Browse the repository at this point in the history
unescape url on navigation change events.
  • Loading branch information
gunters63 committed Apr 29, 2016
2 parents 56d1c7e + e87da83 commit c2f1a81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class SignaturePad extends Component {
}

_onNavigationChange = (args) => {
this._parseMessageFromWebViewNavigationChange(args.url);
this._parseMessageFromWebViewNavigationChange(unescape(args.url));
};

_parseMessageFromWebViewNavigationChange = (newUrl) => {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit c2f1a81

Please sign in to comment.