fluttercommunity / flutter_webview_plugin

Community WebView Plugin - Allows Flutter to communicate with a native WebView.
https://pub.dev/packages/flutter_webview_plugin
Other
1.48k stars 929 forks source link

[Bug]Strange number of HTTP status code #825

Open shinriyo opened 3 years ago

shinriyo commented 3 years ago

System info

Issue occurs on: iOS Plugin version: ^0.3.11 Flutter doctor output:

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, 1.18.0-11.1.pre, on Mac OS X 10.15.6 19G2021,
    locale ja-JP)

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor
      --android-licenses
[✓] Xcode - develop for iOS and macOS (Xcode 11.7)
[✓] Chrome - develop for the web
[!] Android Studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Android Studio (version 4.0)
[✓] VS Code (version 1.49.1)
[✓] Connected device (3 available)

! Doctor found issues in 2 categories.

I have 2 Android Studios. And one is not setup yet but not used. so don't worry about it.

Steps to Reproduce

  1. login yahoo
  2. status code -999 WebViewHttpError error.code is -999
  3. what is this number??

do you know what is HTTP status code is?

Logs

-999

shinriyo commented 3 years ago

@fluttercommunity What is -999?

shinriyo commented 3 years ago

Error of Flutter?

shinriyo commented 3 years ago

@charafau do you know this??

charafau commented 3 years ago

@shinriyo thanks for commenting. This plugin is more or less read only at this state, but we can accept bug fixes, I have been quite busy lately and didn't have time to merge all those bugs. I suggest you that if you can please use official webview

shinriyo commented 3 years ago

@charafau I know official WebView. But, yours are better for Japanese keybords in text field.

shinriyo commented 3 years ago

@charafau Official plugin supported Japanese keybords on iOS/Android. But, alert confirm JavaScript not supported yet!

https://github.com/flutter/plugins/pull/2012 so slow to fix

charafau commented 3 years ago

To answer original question:

Seems like you / your webpage is making another request before ongoing is finished - https://stackoverflow.com/questions/44844968/nsurlerrordomain-error-999-using-uiwebview

shinriyo commented 3 years ago

@charafau Thank you. Ah,it is caused by Objective-C.