chore: Follow up request iOS permissions

pull/733/head
Krille 1 week ago
parent 69711506ea
commit 2625e89a33
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -306,6 +306,9 @@ class BackgroundPush {
Logs().v('Setup firebase');
if (_fcmToken?.isEmpty ?? true) {
try {
if (PlatformInfos.isIOS) {
await firebase?.requestPermission();
}
_fcmToken = await firebase?.getToken();
if (_fcmToken == null) throw ('PushToken is null');
} catch (e, s) {

Loading…
Cancel
Save