FCM Token returning null on IOS


I would like implement push notification with ionic 5. With android I can retrieve the FCM token but on IOS I can’t. I have this error message :

FCMToken unavailable, it’ll retry in one second.

Do you know what is the problem? Any advise?


Did you try OneSignal?

I’m using it without problem.

not yet. I think that I will try it because I didn’t found any solution for my problem.