Merge pull request #903 from ifiokjr/patch-1
FIX: Types for requestPermissions on iOS
This commit is contained in:
commit
5baab58584
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue