react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

I stumbled upon the same problem in android, and I was only using local notifications.

Open chax007 opened this issue 4 years ago • 1 comments

I stumbled upon the same problem in android, and I was only using local notifications.

Seems that firebase is called when configuring the library with requestPermissions: true.

This fixed the problem for me:

PushNotification.configure({
//...
 requestPermissions: Platform.OS === 'ios'
//...
}

Originally posted by @arqex in https://github.com/zo0r/react-native-push-notification/issues/1167#issuecomment-621999423

chax007 avatar Jul 22 '21 16:07 chax007

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 30 days if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jul 23 '22 00:07 github-actions[bot]