capacitor-community / fcm

Enable Firebase Cloud Messaging for Capacitor apps
https://capacitor.ionicframework.com/docs/
MIT License
237 stars 83 forks source link

Preventing auto initialization #52

Closed msimkunas closed 3 years ago

msimkunas commented 3 years ago

Are there any plans to support toggling the auto initialization of the plugin (see https://firebase.google.com/docs/cloud-messaging/android/client#prevent-auto-init)? This would allow opt-in behavior.

I suppose that adding a setAutoInitEnabled or some such method would be enough.