mirror of https://github.com/BTCPrivate/copay.git
12 lines
319 B
JavaScript
12 lines
319 B
JavaScript
'use strict';
|
|
|
|
var UriHandler = function() {};
|
|
|
|
UriHandler.prototype.register = function() {
|
|
var base = window.location.origin + '/';
|
|
var url = base + '#/uri_payment/%s';
|
|
// navigator.registerProtocolHandler('bitcoin', url, 'Copay');
|
|
};
|
|
|
|
angular.module('copayApp.services').value('uriHandler', new UriHandler());
|