Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3356616
D3608.id12201.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
614 B
Referenced Files
None
Subscribers
None
D3608.id12201.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3608: Android bugfix: call failedToRegisterPushPermission of PushHandler if notifications are disabled
Attached
Detach File
Event Timeline
Log In to Comment