capacitor-community / contacts

Contacts Plugin for Capacitor
https://capacitor-community.github.io/contacts/
119 stars 52 forks source link

Upgrade to v5 #104

Closed just-dodo closed 1 year ago

just-dodo commented 1 year ago

https://capacitorjs.com/docs/next/updating/plugins/5-0

tafelnl commented 1 year ago

As soon as Capacitor v5 is production ready, I'll update the plugin to support it!

Btw: I think you should be able to use the v4 version with Capacitor v5 as well.

Paso commented 1 year ago

Capacitor 5.0.0 has been released now.

tafelnl commented 1 year ago

Great. I'll ship a release next week. Again, for the ones in a hurry: I think you should be able to use v4 of this plugin in an app running on the Capacitor v5 version. But please report if that isn't the case. I haven't had the time to verify so myself.

drekinov commented 1 year ago

v4 works (so far) if you add namespace to gradle.bundle file because AGP v8 refuse to compile even if single capacitor plugin is not having namespace. that is kind of fine workaround for testing but it is better to have all change released before doing any production release. I eventually used fork but did workaround for sentry-capacitor - testing purposes only

tafelnl commented 1 year ago

Thanks for reporting. V5 will be shipped next week, so stay tuned!

tafelnl commented 1 year ago

Released as beta (v5.0.0-beta.1).

Should be very stable though. Nothing has changed except for running the npx @capacitor/plugin-migration-v4-to-v5@latest command.

Run npm install @capacitor-community/contacts@beta to upgrade.

tafelnl commented 1 year ago

Everything has been working fine since the v5 beta release. So I promoted it to production (without changes)! Can be installed using npm install @capacitor-community/contacts@latest. Closing this issue