Skip to content
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

i find a bug #157

Closed
ynmiximixi opened this issue Sep 18, 2019 · 4 comments
Closed

i find a bug #157

ynmiximixi opened this issue Sep 18, 2019 · 4 comments

Comments

@ynmiximixi
Copy link

I had a problem with the flutter inappbrowser,I entered a route using InAppWebView,After I exit this route,I call up other apps through my app,When I went back to my app my app quit,this is my log:
E/AndroidRuntime(18843): at android.view.inputmethod.InputMethodManager.onWindowFocus(InputMethodManager.java:1447)
E/AndroidRuntime(18843): at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3316)
E/AndroidRuntime(18843): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(18843): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(18843): at android.app.ActivityThread.main(ActivityThread.java:5293)
E/AndroidRuntime(18843): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(18843): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(18843): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime(18843): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
I/Process (18843): Sending signal. PID: 18843 SIG: 9
Lost connection to device.

@ynmiximixi
Copy link
Author

When I don't close this routing address and do the same thing, my app doesn't exit,I guess that's because the flutter was still calling something flutter_inappbrowser, and when I went back to my app, I had the null pointer problem because I had turned off flutter_inappbrowser

@ynmiximixi
Copy link
Author

D/AndroidRuntime(22023): Shutting down VM
D/JIGUANG-JCore-IMPL(22023): [JCommonInterface] onEvent action:deviceinfo
D/JIGUANG-JCore(22023): [HttpHelper] status code:200 retry left:2
E/AndroidRuntime(22023): FATAL EXCEPTION: main
E/AndroidRuntime(22023): Process: com.zhiyeit.mall, PID: 22023
E/AndroidRuntime(22023): java.lang.NullPointerException: Attempt to invoke virtual method 'android.view.inputmethod.InputConnection android.view.View.onCreateInputConnection(android.view.inputmethod.EditorInfo)' on a null object reference

@pichillilorenzo
Copy link
Owner

Now it should be fixed in 2.0.0. Also, this plugin changed its name to flutter_inappwebview. The current latest version now is 2.1.0+1. So, you can change your dependency influtter_inappwebview: ^2.1.0+1.

This was referenced Jul 6, 2020
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants