如何在不丢失数据的情况下将 cordova-plugin-ionic-webview 从 1.2.1 升级到 5.0.0

发布于 2025-01-10 22:52:06 字数 447 浏览 0 评论 0原文

通过将 cordova-plugin-ionic-webview 1.2.1 升级到 5.0.0firebase 用户会在 Android 设备上自动注销。即使将 webview 升级到 5.0.0 后,它也可以在 ios 设备上正常运行。

this.angularFireAuth.auth.signInWithEmailAndPassword(email, pswd);

ionic 3cordova-android 10.1.1

由于 AppStore 弃用通知(Apple 将停止接受使用 UIWebView API 的应用程序的提交),我必须升级插件。

如果有人遇到过相关问题,有什么解决方案吗?

By upgrading cordova-plugin-ionic-webview 1.2.1 to 5.0.0 the firebase user gets logged out automatically on android devices. It worked properly on ios devices even after upgrading the webview to 5.0.0.

this.angularFireAuth.auth.signInWithEmailAndPassword(email, pswd);

ionic 3 and cordova-android 10.1.1

I have to upgrade plugin due to AppStore Deprecation notice (Apple will stop accepting submissions of apps that use UIWebView APIs).

Any solutions if anyone had faced the relevant problem?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

等待圉鍢 2025-01-17 22:52:06

使用这些命令:

cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@latest

如果您需要特定版本,请将 latest 替换为您需要的版本。

use these commands:

cordova plugin rm cordova-plugin-ionic-webview
cordova plugin add cordova-plugin-ionic-webview@latest

If you need a specific version, replace latest by the version you need.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文