capacitor-community / fcm

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

Upgrade to capacitor 6 #157

Closed rammoozz closed 1 month ago

rammoozz commented 2 months ago

Upgrade to capacitor 6

https://capacitorjs.com/docs/updating/6-0

jpissis commented 2 months ago

Hi, Do you know when the update will be ready ? Regards

jemantilla commented 1 month ago

Also waiting here

losciur commented 1 month ago

Hi, we also need the upgrade 🙏 With capacitor 6 and node v20.11.0 the error is:

npm install @capacitor-community/fcm       

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: app@0.0.1
npm ERR! Found: @capacitor/core@6.0.0
npm ERR! node_modules/@capacitor/core
npm ERR!   @capacitor/core@"6.0.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^5.0.0" from @capacitor-community/fcm@5.0.3
npm ERR! node_modules/@capacitor-community/fcm
npm ERR!   @capacitor-community/fcm@"*" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

Thanks 🙏

chrisweight commented 1 month ago

I've opened https://github.com/capacitor-community/fcm/pull/158 from my fork to address this - any maintainers able to take a look and feedback (@stewones)?

adriariu commented 1 month ago

Hi @stewones any news with the pull request?

afught commented 1 month ago

Hi @stewones ! Also waiting here

stewones commented 1 month ago

it's been released 🚀