mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-04-17 23:04:53 +08:00
Merge pull request #903 from ifiokjr/patch-1
FIX: Types for requestPermissions on iOS
This commit is contained in:
2
lib/index.d.ts
vendored
2
lib/index.d.ts
vendored
@@ -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