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

onRegister is not triggered if requestPermissions = false

Open dzpt opened this issue 4 years ago • 3 comments

If i set requestPermissions: true, onRegister and onRegistrationError will be called everytime i open the app. It won't happen if requestPermissions: false

Tested on ios real device (iPhone XR)

    react: 16.13.1 => 16.13.1 
    react-native: 0.63.4 => 0.63.4 
    [email protected]

might related to #1052 error

dzpt avatar Aug 31 '21 18:08 dzpt

The same. Any solutions?

Vladislava9009 avatar Oct 11 '21 10:10 Vladislava9009

Isn't that a feature? You would have to make a later call to requestPermissions if you set requestPermissions: false in the config.

wmcbain avatar Jan 25 '22 00:01 wmcbain

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 Aug 12 '24 00:08 github-actions[bot]