react-native-push-notification / ios

React Native Push Notification API for iOS.
MIT License
734 stars 282 forks source link

onRegister is not triggered if requestPermissions = false #328

Open dzpt opened 2 years ago

dzpt commented 2 years ago

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 
    react-native-push-notification@8.0.1