【问题标题】:React Native error with WebView使用 WebView 反应本机错误
【发布时间】:2015-04-30 04:02:02
【问题描述】:

我在授权并从服务获取令牌后遇到错误,并不断收到以下错误:

    RCTJSLog> "encountered an error loading page",
 {"target":19,"canGoBack":false,"domain":"WebKitErrorDomain","code":102,"loadi

ng":false,"title":"","canGoForward":false,"description":"Frame load 

interrupted","url":""} 

知道这意味着什么吗?它正在跳过 Web 视图,因为我已经进行了身份验证,但给了我一个错误屏幕。

这里是GIT

【问题讨论】:

  • 你的代码在哪里被调用?您是否在 React Native 之外(即使用 curl)尝试过使用相同的参数来验证它是否有效?
  • 伙计,我有同样的错误。我不知道我该如何解决它。我正在访问一个对 customSchema:// 执行 301 的 url...当 url 执行此操作时,我在 webview 上收到此错误 =(我快疯了

标签: javascript webview react-native


【解决方案1】:

这可能是 React Native 旧版本的错误。

你应该更新你的版本。

检查这个:https://github.com/facebook/react-native/issues/2904

【讨论】:

    猜你喜欢
    • 2020-01-30
    • 2021-07-15
    • 1970-01-01
    • 1970-01-01
    • 2021-11-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多