Page MenuHomePhabricator

D3608.id12343.diff
No OneTemporary

D3608.id12343.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:37 PM (22 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577136
Default Alt Text
D3608.id12343.diff (614 B)

Event Timeline