refactor
This commit is contained in:
parent
915e4e5f7d
commit
5087fdf4cf
2 changed files with 5 additions and 5 deletions
|
|
@ -47,8 +47,8 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
config: {
|
||||
android: {
|
||||
senderID: '1036948132229',
|
||||
icon: "push",
|
||||
iconColor: "#2F4053"
|
||||
icon: 'push',
|
||||
iconColor: '#2F4053'
|
||||
},
|
||||
ios: {
|
||||
alert: 'true',
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue