capacitor-community / fcm

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

iOS Build Error In subscribeTo and unsubscribeFrom #28

Closed rahadigital closed 4 years ago

rahadigital commented 4 years ago

Hello,

This may be something simple I am missing but have not been able to figure out it yet.

I have successfully used this plugin for android. Now going through the setup process for iOS I am running into the following build error.

"Type of expression is ambiguous without more context" in subscribeTo/unsubscribeFrom. See attached image.

Any help in figuring this out and pointing me in a direction would be appreciate. 5c928e1f6b9579b5ed73aa20ddbc1e88

rahadigital commented 4 years ago

In case anyone has similar problem make sure to remove cordova push plugin and re-add ios platform. Seems like it was using a different firebase messaging version then this plugin needs.