react-native-push-notification / ios

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

onRegister not triggered on one App but not others #337

Open JosephVasse opened 2 years ago

JosephVasse commented 2 years ago

I'm trying to add APNS notification to an IOS app.

I've been through the entier setup process I went into an error (see #334) but I believe this is not the reason since I commented it ( and did the same on a working app)

Here is the issue :

I've tried to create a blank react native app, setup it to receive notifications, it seems to work (I'm able to see my device token ...)

But In my "main" app (which I cannot re-create given the fact that've been working for 6 months on it) I cannot get my deviceToken, as. if the 'onRegister' event wasn't ever triggered. (go course I've read a lot of documentation about it before posting)

I'm aware that it will be difficult to help me with so few informations but if someone is willing to have a look at it, maybe discuss together about it, let me know.

jacquesdev commented 2 years ago

Did you give permission? I'm guessing it wont budge until that point?