diff --git a/cordova/android/AndroidManifest.xml b/cordova/android/AndroidManifest.xml index 72e8eb3fe..67a8fe99f 100644 --- a/cordova/android/AndroidManifest.xml +++ b/cordova/android/AndroidManifest.xml @@ -1,13 +1,19 @@ - + - + + + + + + + diff --git a/cordova/config.xml b/cordova/config.xml index 51c490074..44171ab9e 100644 --- a/cordova/config.xml +++ b/cordova/config.xml @@ -1,5 +1,5 @@ - + Copay A secure bitcoin wallet for friends and companies. @@ -13,4 +13,5 @@ + diff --git a/index.html b/index.html index 072e868d3..a1c2fdcaf 100644 --- a/index.html +++ b/index.html @@ -65,6 +65,9 @@ + + + diff --git a/js/mobile.js b/js/mobile.js index b02cf72ba..75a5993df 100644 --- a/js/mobile.js +++ b/js/mobile.js @@ -17,13 +17,7 @@ function onDeviceReady() { function handleBitcoinURI(url) { if (!url) return; - - var body = document.getElementsByTagName('nav')[0]; - var $rootScope = angular.element(body).scope(); - $rootScope.pendingPayment = new bitcore.BIP21(url); - - // Redirect or reload controller (if already there) - window.location = ($rootScope.wallet ? '#!/send' : '#!/open') + '?r=' + Math.random(); + window.location = '#!/uri-payment/' + encodeURIComponent(url); } window.plugins.webintent.getUri(handleBitcoinURI);