Page MenuHomePhabricator

D3608.id12201.diff
No OneTemporary

D3608.id12201.diff

diff --git a/native/push/push-handler.react.js b/native/push/push-handler.react.js
--- a/native/push/push-handler.react.js
+++ b/native/push/push-handler.react.js
@@ -332,12 +332,8 @@
const firebase = getFirebase();
const hasPermission = await firebase.messaging().hasPermission();
if (!hasPermission) {
- try {
- await firebase.messaging().requestPermission();
- } catch {
- this.failedToRegisterPushPermissions();
- return;
- }
+ this.failedToRegisterPushPermissions();
+ return;
}
const fcmToken = await firebase.messaging().getToken();

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 7:39 PM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577136
Default Alt Text
D3608.id12201.diff (614 B)

Event Timeline