Merge pull request #3917 from gabrielbazan7/fix/WhiteIcon

adding transparent icons to push notifications
This commit is contained in:
Gustavo Maximiliano Cortez 2016-02-25 15:19:24 -03:00
commit b694871043
7 changed files with 5 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@ -47,6 +47,8 @@ angular.module('copayApp.services').factory('configService', function(storageSer
config: {
android: {
senderID: '1036948132229',
icon: 'push',
iconColor: '#2F4053'
},
ios: {
alert: 'true',

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) {