Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capacitor 5 support #93

Open
ihmpavel opened this issue May 7, 2023 · 10 comments · May be fixed by #94
Open

Capacitor 5 support #93

ihmpavel opened this issue May 7, 2023 · 10 comments · May be fixed by #94

Comments

@ihmpavel
Copy link

ihmpavel commented May 7, 2023

Capacitor 5 has been announced and released.

Unfortunately plugins made for Capacitor 4 are not backwards compatible without few changes. That means users are enforced to stay on Capacitor 4.

The change looks pretty straightforward - https://capacitorjs.com/docs/updating/plugins/5-0

Community plugins with open PRs

@ihmpavel ihmpavel linked a pull request May 7, 2023 that will close this issue
@wizevlad
Copy link

👀

@riderx
Copy link

riderx commented May 23, 2023

I forked the plugin, made upgrade to v5 and set CI/CD to test and keep it update automatic.
https://github.com/Cap-go/capacitor-native-biometric
My Org Capgo will finance the maintenance of it.
npm i @capgo/capacitor-native-biometric

@craPkit
Copy link

craPkit commented Sep 11, 2023

This seems to have been fixed with Capacitor CLI 5.0.2:
ionic-team/capacitor#6504 (comment)

@cardacci
Copy link

cardacci commented Jan 3, 2024

Do we have any update on the migration to Capacitor 5?

@kientrant1
Copy link

I can't find out any newest version that can support capacitor 5. Do we have any news on this thread?

@riderx
Copy link

riderx commented May 3, 2024

You can use the Capgo version.
It’s still maintained and had some fix for android and iOS latest version.
I did a release this week for capacitor 6

@kientrant1
Copy link

You can use the Capgo version. It’s still maintained and had some fix for android and iOS latest version. I did a release this week for capacitor 6

Just have one concern. In case if switching to the Capgo version. How can we migrate existing biometric that is setup in by original version?

@riderx
Copy link

riderx commented May 7, 2024

Have a try in local. For me biometric data are link to the app not the plugin so it should be builtin replace

@kientrant1
Copy link

Have a try in local. For me biometric data are link to the app not the plugin so it should be builtin replace

Thanks @riderx. Just retried and I can see that Capgo version still can load biometric from Epicshaggy version. Maybe, I got the issue of un-sync data because using "Live Update" feature (only update Web part) in Ionic. Switching to Capgo version requires to update in Native souce as well.

@riderx
Copy link

riderx commented May 7, 2024

Yes it cannot be live update, the native plugin had to have a different name so the same JS cannot contact it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants