Page MenuHomePhabricator

D3608.diff
No OneTemporary

D3608.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
Thu, Nov 28, 11:10 AM (21 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2593836
Default Alt Text
D3608.diff (614 B)

Event Timeline