-
Notifications
You must be signed in to change notification settings - Fork 52
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
Update this plugin for Capacitor 3 #30
Comments
I started getting the following error in an Ionic app today that uses this plugin.
I believe this comes from Ionic AppAuth, but I'm not sure. wi3land/ionic-appauth#60 Any ideas for a workaround? |
I'm experiencing the same issue as @mraible, except i'm not using the ionic-appauth plugin. |
Same problem for me, the plugin is incompatible with new packaging of capacitor 3.0. There are not workarounds, the solution i think is only a new plugin version |
@mraible @casper5822 So after some more digging it seems that the issue is that the |
Hi all, I will look at it during weekend. |
@martinkasa thank you, hope you can fix it |
Thanks for the tip @VictorCoding! I was able to solve this issue temporarily by creating an {
"dependencies": {
"capacitor-secure-storage-plugin": {
"version": "0.4.0",
"dependencies": {
"@capacitor/core": {
"version": "2.4.7"
}
}
}
}
} |
Hi all,
for Capacitor 3.0 use latest or 0.6.0
I have tested both versions, but if you find some bug, feel free to open new issue. |
Capacitor 3 is being built and is already in beta. In this new version the native plugins have been removed from the core and there are some changes that are necessary in the existing plugins.
Example: Plugin Imports
The Plugins object is deprecated, but will continue to work in Capacitor 3. Capacitor plugins should be updated to use the new plugin registration APIs (see the Upgrade Guide for plugins), which will allow them to be imported directly from the plugin’s package.
Going forward, the Plugins object from @capacitor/core should not be used.
References:
Updating Capacitor to 3.0 in your plugin
Updating Capacitor to 3.0 in your app
(credits to @mklipe for issue explanation)
The text was updated successfully, but these errors were encountered: