capacitor-community / fcm

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

Update iOS target to 12.1 for Capacitor 3 #70

Closed Cyral closed 3 years ago

Cyral commented 3 years ago

Capacitor 3 requires iOS 12.1, so this plugin results in a compilation error:

/app/node_modules/@capacitor-community/fcm/ios/Plugin/Plugin/Plugin.swift:2:8: Compiling for iOS 11.0, but module 'Capacitor' has a minimum deployment target of iOS 12.0

The target can be adjusted in XCode manually but is lost on every cap sync

(Maybe I meant 12.0 instead of 12.1 actually, but xcode only let me pick 12.1)

phoenix503 commented 3 years ago

Yes , i am facing the same issue . Please update on this

SyFlo commented 3 years ago

same issue here. please let me know if there is a solution.

gwennhester commented 3 years ago

getting this issue as well. any solutions?

Cyral commented 3 years ago

This library seems dead. Someone should check out this tutorial on using FCM in Capacitor without any libraries: https://capacitorjs.com/docs/guides/push-notifications-firebase#required-dependencies Not sure if it still works but I will try it at some point, looks pretty straightforward to add notification support as long as you don't need FCM groups or anything that this library provides.

phoenix503 commented 3 years ago

Any idea how to use topic messaging in capacitor push notifications plugin ?

jacewardell commented 3 years ago

I'm having this same issue, but switching to Capacitor's built-in library isn't an option because it doesn't support topics. Does anyone else know of solutions that support topics?

ptmkenny commented 3 years ago

@Cyral I don't think it's fair to call this library dead when the maintainer is busy but willing to review pull requests. This is a community library, so people are welcome to contribute to help keep things up to date.

I recently followed the tutorial you mentioned, but it is for capacitor v2, not v3 (yes, the page says v3, but the information hasn't been updated yet for all the changes that were made in v3); for v3, you need to follow the plugin docs.

stewones commented 3 years ago

v2 for cap3 has been released