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