mirror of
https://github.com/status-im/react-native-firebase.git
synced 2026-08-31 14:11:12 +00:00
Merge pull request #903 from ifiokjr/patch-1
FIX: Types for requestPermissions on iOS
This commit is contained in:
Vendored
+1
-1
@@ -954,7 +954,7 @@ declare module "react-native-firebase" {
|
||||
* IOS
|
||||
* Requests app notification permissions in an Alert dialog.
|
||||
*/
|
||||
requestPermissions(): void
|
||||
requestPermissions(): Promise<{ granted: boolean }>;
|
||||
|
||||
/**
|
||||
* Sets the badge number on the iOS app icon.
|
||||
|
||||
Reference in New Issue
Block a user