File AppDelegate+FirebasePlugin.m.
In the method: - (void)application:(UIApplication )application didRegisterForRemoteNotificationsWithDeviceToken:(NSData )deviceToken
instead of
[FIRMessaging messaging].APNSToken = deviceToken;
I have to use
[[FIRMessaging messaging] setAPNSToken:deviceToken type:FIRMessagingAPNSTokenTypeSandbox];
every time when I making a build in debug mode (code signing iOS Developer).
Seems like issue appeared after update to the last Xcode (10.0). It might be because APNS token type not properly defined because of that. Am I right ? Do you have any ideas ?
xCode: Version 10.0 (10A255)
cordova-plugin-firebase: version 2.0.1
Same problem with this versions
+1 @Hanzofm
Check out this cordova-ios issue to see if the workaround works to solve your issue
With that change, are you able to get notifications on iOS ?
@christianguevara check the thread on https://github.com/arnesson/cordova-plugin-firebase/issues/902 as it seems to be related
Yes, already solved the problem updating to 2.0.4 and using legacy build system
I just need to go --> File --> WorspaceSettings --> Build Settings(change here to "Legacy Build System"