fixed bug in pushNotificationsService token registration
This commit is contained in:
parent
b1cfa65a6e
commit
93f900919f
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ angular.module('copayApp.services').factory('pushNotificationsService', function
|
||||||
if (usePushNotifications) {
|
if (usePushNotifications) {
|
||||||
|
|
||||||
FirebasePlugin.onTokenRefresh(function(token) {
|
FirebasePlugin.onTokenRefresh(function(token) {
|
||||||
if (!_token) return;
|
if (!token) return;
|
||||||
$log.debug('Refresh and update token for push notifications...');
|
$log.debug('Refresh and update token for push notifications...');
|
||||||
_token = token;
|
_token = token;
|
||||||
root.enable();
|
root.enable();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue