fluttercommunity / fluttercommunity/flutter_webview_plugin

Take a long time to load web

Đang mở
#705 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
1.5k
Fork
938
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

## System info

Issue occurs on: Android
Plugin version: ^0.3.10+2
Flutter doctor output:

```
[✓] Flutter (Channel dev, v1.18.0, on Mac OS X 10.15.4 19E266, locale en-ID)
• Flutter version 1.18.0 at /Users/ukietux/Library/flutter
• Framework revision 14f3a36aba (3 days ago), 2020-04-03 17:06:01 -0700
• Engine revision 09bc1fc45e
• Dart version 2.8.0 (build 2.8.0-dev.20.0 e736495eb7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/ukietux/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• ANDROID_HOME = /Users/ukietux/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
• All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 11.4, Build version 11E146
• CocoaPods version 1.8.4

[✓] Android Studio (version 3.6)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 45.0.1
• Dart plugin version 192.7761
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[!] IntelliJ IDEA Community Edition (version 2019.3.4)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• For information about installing plugins, see
https://flutter.dev/intellij-setup/#installing-the-plugins

[✓] VS Code (version 1.43.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.9.0

[✓] Connected device (1 available)
• AOSP on IA Emulator • emulator-5554 • android-x86 • Android 9 (API 28) (emulator)
```

## Steps to Reproduce

## Logs

```
I/flutter (10816): state : WebViewState.startLoad
I/flutter (10816): current Url https://checkout.stripe.com/pay/cs_test_musyXiuj8pcvSoanCEDzpDah3cqp6O1i5Gxmchn8ai0l2BWZJBKh199I#fidkdWxOYHwnPyd1blpxYHZxWkhOcUBiasdfsGtNa19dTGg9UFdxND1nZ39KMzU1bnJVdjJkdk0nKSd3YGNgd3dgd0p3bGJsayc%2FJ21xcXV2PyoqcGRxK2AoaHB2YCtyanduJyknaGxhdic%2FfidicGxhJz8nS0QnKSdocGxhJz8nZGY9Z2AxMj0oPTwyNygxPWQ3KGQzNWYoN2ZgMzc2NWc1Y2M8JykndmxhJz8nNjdnZjFnYWYoZjRkNygxNGFhKD00NzEoNTwwZ2EwMTA2NmQyJ3gpJ2dgcWR2Jz9eWHgl
I/flutter (10816): state : WebViewState.finishLoad
I/flutter (10816): false
I/flutter (10816): false
E/eglCodecCommon(10816): glUtilsParamSize: unknow param 0x000088ef
E/eglCodecCommon(10816): glUtilsParamSize: unknow param 0x000088ef
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 0
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
I/chatty (10816): uid=10103(com.alumagubi.hakken) Chrome_InProcGp identical 1 line
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 1 (1) 13 0
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
I/chatty (10816): uid=10103(com.alumagubi.hakken) Chrome_InProcGp identical 1 line
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 1 (1) 13 0
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 0 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/EGL_emulation(10816): eglMakeCurrent: 0xc18f78e0: ver 3 0 (tinfo 0xbf77fd30)
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
I/chatty (10816): uid=10103(com.alumagubi.hakken) Chrome_InProcGp identical 1 line
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
I/chatty (10816): uid=10103(com.alumagubi.hakken) Chrome_InProcGp identical 2 lines
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
I/chatty (10816): uid=10103(com.alumagubi.hakken) Chrome_InProcGp identical 1 line
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 13 10
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 4
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 13 14
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
I/flutter (10816): current Url https://checkout.stripe.com/pay/cs_test_musyXiuj8pcvSoanCEDzpDah3cqp6O1i5Gxmchn8ai0l2BWZJBKh199I#fidkdWxOYHwnPyd1blpxYHZxWkhOcUBiaGtNa19dTGg9UFdxND1nZ39KMzU1bnJVdjJkdk0nKSd3YGNgd3dgd0p3bGJsayc%2FJ21xcXV2PyoqcsdfsGRxK2AoaHB2YsdfCtyanduJyknaGxhdic%2FfidicGxhJz8nS0QnKSdocGxhJz8nZGY9Z2AxMj0oPTwyNygxPWQ3KGQzNWYoN2ZgMzc2NWc1Y2M8JykndmxhJz8nNjdnZjFnYWYoZjRkNygxNGFhKD00NzEoNTwwZ2EwMTA2NmQyJ3gpJ2dgcWR2Jz9eWHgl
I/flutter (10816): current Url https://checkout.stripe.com/pay/cs_test_msdfusyXiuj8pcvSoanCEDzpDah3cqp6O1i5Gxmchn8ai0l2BWZJBKh199I#fidkdWxOYHwnPyd1blpxYHZxWkhOcUBiaGtNa19dTGg9UFdxND1nZ39KMzU1bnJVdjJkdk0nKSd3YGNgd3dgd0p3bGJsayc%2FJ21xcXV2PyoqcGRxK2AoaHB2YCtyanduJyknaGxhdic%2FfidicGxhJz8nS0QnKSdocGxhJz8nZGY9Z2AxMj0oPTwyNygxPWQ3KGQzNWYoN2ZgMzc2NWc1Y2M8JykndmxhJz8nNjdnZjFnYWYoZjRkNygxNGFhKD00NzEoNTwwZ2EwMTA2NmQyJ3gpJ2dgcWR2Jz9eWHgl
I/flutter (10816): state : WebViewState.finishLoad
I/flutter (10816): state : WebViewState.finishLoad
I/flutter (10816): false
I/flutter (10816): false
I/chromium(10816): [INFO:CONSOLE(285)] "TypeError: Cannot read property 'getItem' of null", source: https://www.gstatic.com/_/mss/boq-payments-consumer/_/js/k=boq-payments-consumer.InstantbuyFrontendBuyflowPayframeUi.en_US.pJ5gSQ8bS1o.es5.O/ck=boq-payments-consumer.InstantbuyFrontendBuyflowPayframeUi.0UayzrV0ovk.L.B1.O/am=Qg/d=1/exm=_b,_tp,wmwg8b/excm=_b,_tp,payframeview/ed=1/wt=2/ct=zgms/rs=AMitfrhWQNG8I2xb1aWZDs8lalVQYHHqDw/m=Das5Le,IZT63,NpD4ec,PrPYRd,Ru0Pgb,SF3gsd,Y2UGcc,ZyYHPb,hc6Ubd,p8L0ob,vfuNJf,ws9Tlc (285)
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 0 10
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 2 (2) 4 17
D/eglCodecCommon(10816): setVertexArrayObject: set vao to 0 (0) 4 5
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện việc tải chậm được báo cáo trên Android với Flutter WebView plugin và Stripe checkout URL được cung cấp. So sánh thời gian tải quan sát được với một URL đơn giản hơn và ghi lại đầy đủ các bước tái hiện cùng logs; được xem là hoàn tất khi nguyên nhân và hành vi tải được cải thiện một cách khách quan đã được ghi chép hoặc xác minh.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
android, flutter, java
Lĩnh vực
mobile-dev
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.