Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happens if I disable IS_GCM_ENABLED key to false in Google-Service-info.plist

I have application which has Firebase Push Notifications.

I changed IS_GCM_ENABLED key to false in Google-Service-info.plist on Xcode.

But push notifications works perfectly and why push notification works even I changed key to false?

Could you explain for what we use these keys in Google-Service-info.plist IS_GCM_ENABLED, IS_SIGNIN_ENABLED, IS_APPINVITE_ENABLED, IS_ANALYTICS_ENABLED, IS_ADS_ENABLED,

As I know GCM changed to FCM and Why in Google-Service-info.plist we use IS_GCM_ENABLED not IS_FCM_ENABLED?

Why IS_FCM_ENABLED key doesn't exists in Google-Service-info.plist?

like image 562
Islam Temirbek Avatar asked Nov 05 '18 04:11

Islam Temirbek


1 Answers

IS_GCM_ENABLED is related to the both - FCM/GCM function services.

Other fields:

IS_APPINVITE_ENABLED - for App Invites feature services

IS_ANALYTICS_ENABLED - for Google Analytics feature services. More discussion here

IS_ADS_ENABLED - for Google Ads feature services

Unfortunately, there is no much public documentation about this. But Firebase has great support. They provided me with all the necessary information.

like image 153
coconata Avatar answered Nov 15 '22 05:11

coconata