Open Amazon redeem link in system browser. Fix buy gc on mobile

This commit is contained in:
Gustavo Maximiliano Cortez 2016-06-13 16:36:08 -03:00
commit 7793be3615
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF
7 changed files with 22 additions and 14 deletions

View file

@ -27,6 +27,8 @@ angular.element(document).ready(function() {
document.addEventListener('deviceready', function() {
window.open = cordova.InAppBrowser.open;
// Create a sticky event for handling the app being opened via a custom URL
cordova.addStickyDocumentEventHandler('handleopenurl');
startAngular();