fixed push notifications for ios
This commit is contained in:
parent
e1630095d3
commit
6194071569
1 changed files with 1 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ angular.module('copayApp.services').factory('pushNotificationsService', function
|
|||
var _token = null;
|
||||
|
||||
root.init = function() {
|
||||
if (isIOS) FirebasePlugin.grantPermission();
|
||||
if (!usePushNotifications || _token) return;
|
||||
configService.whenAvailable(function(config) {
|
||||
if (!config.pushNotificationsEnabled) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue