Skip to content

Webview seems didn't work normally. #320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
AidenYangX opened this issue Feb 10, 2019 · 4 comments
Closed

Webview seems didn't work normally. #320

AidenYangX opened this issue Feb 10, 2019 · 4 comments

Comments

@AidenYangX
Copy link

I just want to navigate to a webview to let users to fill in some information.But when i navigate to this link:http://anylogic-assistant.mikecrm.com/akJvneA.It seems can't show the whole page,just show a line "Powered by MikeCRM".

'/feedback': (_) => WebviewScaffold(
            url: 'http://anylogic-assistant.mikecrm.com/akJvneA',
            appBar: new AppBar(
              title: const Text('feedback'),
            ),
          ),

In the meanwhile,my DEBUG CONSOLE shows following errors:

W/System  ( 2689): ClassLoader referenced unknown path: /system/app/webview/lib/x86
I/WebViewFactory( 2689): Loading com.android.webview version 51.0.2704.91 (code 275509110)
I/cr_LibraryLoader( 2689): Time to load native libraries: 5 ms (timestamps 7610-7615)
I/cr_LibraryLoader( 2689): Expected native library version number "51.0.2704.91", actual native library version number "51.0.2704.91"
V/WebViewChromiumFactoryProvider( 2689): Binding Chromium to main looper Looper (main, tid 1) {43edaa3}
I/cr_LibraryLoader( 2689): Expected native library version number "51.0.2704.91", actual native library version number "51.0.2704.91"
I/chromium( 2689): [INFO:library_loader_hooks.cc(143)] Chromium logging enabled: level = 0, default verbosity = 0
I/cr_BrowserStartup( 2689): Initializing chromium process, singleProcess=true
E/ApkAssets( 2689): Error while loading asset assets/natives_blob_64.bin: java.io.FileNotFoundException: assets/natives_blob_64.bin
E/ApkAssets( 2689): Error while loading asset assets/snapshot_blob_64.bin: java.io.FileNotFoundException: assets/snapshot_blob_64.bin
W/cr_media( 2689): Requires BLUETOOTH permission
I/cr_DRP  ( 2689): No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp
D/cr_Ime  ( 2689): [InputMethodManagerWrapper.java:30] Constructor
W/cr_AwContents( 2689): onDetachedFromWindow called when already detached. Ignoring
D/cr_Ime  ( 2689): [InputMethodManagerWrapper.java:59] isActive: false
I/cr_Ime  ( 2689): ImeThread is not enabled.
W/art     ( 2689): Attempt to remove non-JNI local reference, dumping thread
E/libEGL  ( 2689): validate_display:99 error 3008 (EGL_BAD_DISPLAY)
I/VideoCapabilities( 2689): Unsupported profile 4 for video/mp4v-es
D/        ( 2689): HostConnection::get() New Host Connection established 0x933f2a40, tid 2765
W/art     ( 2689): Attempt to remove non-JNI local reference, dumping thread
W/art     ( 2689): Attempt to remove non-JNI local reference, dumping thread
W/art     ( 2689): Attempt to remove non-JNI local reference, dumping thread
W/cr_BindingManager( 2689): Cannot call determinedVisibility() - never saw a connection for the pid: 2689

my plugin version is:

flutter_webview_plugin: ^0.3.0+2

i think may be is some js can't be loaded ,but i can't fix it.

@fanzkday
Copy link

fanzkday commented Apr 2, 2019

Me too!

@charafau
Copy link
Collaborator

charafau commented Apr 2, 2019

Did you guys set withJavascript: true ?

@fanzkday
Copy link

fanzkday commented Apr 3, 2019

@charafau It is work, thanks!

@charafau
Copy link
Collaborator

charafau commented Apr 3, 2019

Great, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants