Notifications v2 GCM to FCM transition

Hi,

I have a published app using old notification plugin (GCM version). Now I am trying to use new notifications v2 plugin. 

On plugin documentation there is a warning message on top of the page:

For Android, all new apps, or existing apps being updated with push notifications for the first time, must use Firebase Cloud Messaging (FCM), supported by this plugin. If you have a legacy app already configured for Google Cloud Messaging (GCM), it will continue to work indefinitely, but you should continue using the ** legacy ** plugin instead of this plugin.

" … You should continue using the legacy plugin …" This sentence bothers me. Could someone from Corona please explain if its possible to use notifications v2 plugin on an updated app which is already using old plugin?

Thanks.

Hi @deniz,

If you’re updating your app, use FCM… basically, the line (in the docs) is warning you to not “swap in” the V2 plugin without making the other necessary changes involved with doing so.

Hope this helps,

Brent

Thanks for clarification. I updated my app and fcm notifications seems working fine.

One thing I realized: After you force stop (kill) the app, push notifications are not received by device. It is very common that Android os kill background apps when there are more than 3-4 apps running. Is there anything we can do to solve this issue?

Hi @deniz,

If you’re updating your app, use FCM… basically, the line (in the docs) is warning you to not “swap in” the V2 plugin without making the other necessary changes involved with doing so.

Hope this helps,

Brent

Thanks for clarification. I updated my app and fcm notifications seems working fine.

One thing I realized: After you force stop (kill) the app, push notifications are not received by device. It is very common that Android os kill background apps when there are more than 3-4 apps running. Is there anything we can do to solve this issue?