This commit is contained in:
Gabriel Bazán 2016-02-24 19:04:29 -03:00
commit 5087fdf4cf
2 changed files with 5 additions and 5 deletions

View file

@ -4,7 +4,7 @@ angular.module('copayApp.services')
var root = {};
// File storage is not supported for writing according to
// File storage is not supported for writing according to
// https://github.com/apache/cordova-plugin-file/#supported-platforms
var shouldUseFileStorage = isCordova && !isMobile.Windows();
$log.debug('Using file storage:', shouldUseFileStorage);
@ -232,11 +232,11 @@ angular.module('copayApp.services')
};
root.setDeviceToken = function(token, cb) {
storage.set('token', token, cb);
storage.set('pushToken', token, cb);
}
root.getDeviceToken = function(cb) {
storage.get('token', cb);
storage.get('pushToken', cb);
}
root.removeAddressbook = function(network, cb) {