Merge pull request #3917 from gabrielbazan7/fix/WhiteIcon
adding transparent icons to push notifications
This commit is contained in:
commit
b694871043
7 changed files with 5 additions and 3 deletions
BIN
cordova/android/res/drawable-hdpi/push.png
Normal file
BIN
cordova/android/res/drawable-hdpi/push.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.2 KiB |
BIN
cordova/android/res/drawable-ldpi/push.png
Normal file
BIN
cordova/android/res/drawable-ldpi/push.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1 KiB |
BIN
cordova/android/res/drawable-mdpi/push.png
Normal file
BIN
cordova/android/res/drawable-mdpi/push.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
cordova/android/res/drawable-xhdpi/push.png
Normal file
BIN
cordova/android/res/drawable-xhdpi/push.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 3 KiB |
BIN
cordova/android/res/drawable-xxhdpi/push.png
Normal file
BIN
cordova/android/res/drawable-xxhdpi/push.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
|
|
@ -47,6 +47,8 @@ angular.module('copayApp.services').factory('configService', function(storageSer
|
|||
config: {
|
||||
android: {
|
||||
senderID: '1036948132229',
|
||||
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