Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to force plugin to use APNS for iOS when GoogleService-Info.plist is present #211

Open
Jasphine opened this issue Jan 4, 2023 · 1 comment

Comments

@Jasphine
Copy link

Jasphine commented Jan 4, 2023

I have a project that uses this plugin and the cordova-plugin-firebase-analytics. The analytics plugin requires that the GoogleService-Info.plist file be present but that seems to make this plugin assume I'm using FCM for iOS notifications. I'm using APNS for iOS notifications. Is there any way other than removing the plist file to tell the plugin to use APNS?

Thanks and appreciate.

@henkkelder
Copy link

Was running into the same problem. After inspecting the plugins sourcecode I found that you can do this by setting IS_GCM_ENABLE in the GoogleService-info.plist.

<key>IS_GCM_ENABLED</key> <false></false>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants