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: {
|
config: {
|
||||||
android: {
|
android: {
|
||||||
senderID: '1036948132229',
|
senderID: '1036948132229',
|
||||||
|
icon: 'push',
|
||||||
|
iconColor: '#2F4053'
|
||||||
},
|
},
|
||||||
ios: {
|
ios: {
|
||||||
alert: 'true',
|
alert: 'true',
|
||||||
|
|
|
||||||
|
|
@ -232,11 +232,11 @@ angular.module('copayApp.services')
|
||||||
};
|
};
|
||||||
|
|
||||||
root.setDeviceToken = function(token, cb) {
|
root.setDeviceToken = function(token, cb) {
|
||||||
storage.set('token', token, cb);
|
storage.set('pushToken', token, cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
root.getDeviceToken = function(cb) {
|
root.getDeviceToken = function(cb) {
|
||||||
storage.get('token', cb);
|
storage.get('pushToken', cb);
|
||||||
}
|
}
|
||||||
|
|
||||||
root.removeAddressbook = function(network, cb) {
|
root.removeAddressbook = function(network, cb) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue