-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Platform Exception when launching on Android 5.0.2 (API 21) #526
Comments
Any updates on this? I'm facing the same issue. |
The recommended version is still set to 3.4.x so you'll have to manually set it to the latest. As of writing this is: |
I also get this error when I run in Release Mode, and include the file_picker plugin. If I remove the file_picker, I don't get an error. I get it on any API version, not just 21. E/flutter (26973): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: com.pichillilorenzo/flutter_inappwebview |
any news on this one ? |
Have you tried the latest version? |
I have faced the same on latest version, but found a solution: just |
I had tried
|
This issue is stale and has been automatically closed because it has been open for more than 365 days with no activity. Please reopen a new issue if you still have it. |
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. |
Device information:
EMULATOR
Description
Running the example throw a platformException
Expected behavior:
inappwebview should print the webpage correclty
Current behavior:
Receiving a platform exception
Steps to reproduce
Stacktrace/Logcat
Issue in my app with same version of Android
Device information:
EMULATOR
Description
I am actually using this plugin on the app i am building actually, there is no PlatformException though when launching
the app on Android 5.0.2 but apparently there is an issue with Javascript as controller.evaluateJavascript doesn't work.
Expected behavior:
inappwebview should execute JS correctly
Current behavior:
Nothing happen
Code
The text was updated successfully, but these errors were encountered: