【问题标题】:What is the flutter alternate for Android's WebView.settings.domStorageEnabled?Android 的 WebView.settings.domStorageEnabled 的颤振替代品是什么?
【发布时间】:2018-08-31 17:53:27
【问题描述】:

如果我尝试使用 android WebView 在 webview 中加载我的网站,我会收到来自 firebase 的错误,例如,

Error: The current environment does not support the specified persistence type

所以我添加了 WebView.settings.domStorageEnabled = true,它开始按要求工作。

然而,现在我正在尝试使用 Flutter。我正在使用以下插件。

https://github.com/dart-flitter/flutter_webview_plugin

我现在遇到同样的错误。但我找不到任何这样的设置。任何帮助,将不胜感激。谢谢。

【问题讨论】:

标签: android firebase webview dart flutter


【解决方案1】:

您使用的插件目前不支持。

实际插件

仍然不支持此选项。

如果您想以传统方式使用这些插件,您提供的解决方案是最好的。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-02-25
    • 2019-02-22
    • 2011-05-07
    • 2012-04-24
    • 2019-12-03
    • 2010-09-17
    相关资源
    最近更新 更多