What is the right way to use the "requestNotifications" function? Defined in the library "react-native-permissions".
I tried:
await requestNotifications({
sound: true,
vibrate: true,
alert: true,
});
but i get the error "... if type NSMutableDisctionary cannot be converted to NSArray"
What is wrong with the function call?
Function declare is requestNotifications(options: NotificationOption[]): Promise<NotificationsResponse>;