I had to RFM and add the required settings in the Info.plist file like explained in the docs
I had a custom Application Delegate that was overriding the settings this plugin does. So I just moved the register of my delegate before the require of the firebase and all works fine now.
I have the following code:
Although this works fine on Android on iOS i'm not getting any token. Below is the log from when the app is deployed to iPhone X:
If I try to get the token via
messaging.getCurrentPushToken()
the promise gets resolved withundefined
.I'm using the plugin in "push only" set up: