Wallet/src/js/controllers/uri.js

12 lines
359 B
JavaScript
Raw Normal View History

'use strict';
angular.module('copayApp.controllers').controller('uriController',
function($rootScope, $stateParams, $log, openURLService) {
/* This is only for BROWSER links, it is not excecuted on mobile devices */
$log.info('DEEP LINK from Browser:' + $stateParams.url);
openURLService.handleURL({
url: $stateParams.url
});
});