Skip to content

Commit

Permalink
WFNEWS-2055 remove notificatiosn delay (#2136)
Browse files Browse the repository at this point in the history
* Improve deep linking logic and add .well-known files as assets

* WFNEWS-2055 remove notificatiosn delay
  • Loading branch information
ssylver93 authored Nov 7, 2024
1 parent 2882765 commit 9ce77c5
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ export class CapacitorService {
rofNotifications = new EventEmitter<ReportOfFireNotification>();
inactiveStart: number;
refreshTimer;
locationNotificationsDelay = 5000;
rofNotificationsDelay = 5000;
notificationSnackbarPromise = Promise.resolve();
registeredForNotifications = false;
Expand Down Expand Up @@ -383,11 +382,10 @@ export class CapacitorService {
featureType: data['topicKey'],
});

this.locationNotificationsDelay = 0;
} catch (e) {
console.warn('push notification not handled:', e, data);
}
}, this.locationNotificationsDelay);
}, 0);
}

showNotificationSnackbar(notification: any) {
Expand Down

0 comments on commit 9ce77c5

Please sign in to comment.