Hello Rob and all the coronalabs community,
I tried to return the problem in all directions before posting here but I have not managed to solve my problem.
We have developed a suite of applications (one for each city) that is still based on the same model and that worked well until then.
For notifications, we use the V2 notification plugin with Firebase Cloud Messaging and it worked very well so far.
But today we encounter a problem on our apps that we have recently builded (with 2018.3363), only on iOS (it work on Android).
Once on the iOS device, the applications closes at boot time, as soon as it tries to registerForPushNotifications.
local function notificationListener( event ) ... end Runtime:addEventListener( "notification", notificationListener ) notifications.registerForPushNotifications({ useFCM=true })
We have this error apparently:
Terminating app due to uncaught exception ‘NSInvalidArgumentException’, reason: '-[FIRInstanceID setAPNSToken:type:]
: unrecognized selector sent to instance 0x1c40b81e0
However, we followed our usual process for the management of Firebase accounts and for the creation of various necessary keys (Firebase, APNs, GoogleService-Info.plist …).
In short, we do not understand where the problem come from … and a little help would be appreciated. Someone would know where the mistake can come from? Did we do something wrong? Is this a possible bug?
Thank you in advance for all future help you can bring me.
Have a nice day!
PS: Sorry for my bad english