You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you explain in more detail when this happens? For example, when you click on a dropdown menu??
Also, Post here the flutter version, Android version, android device info, and plugin version.
If you can, post here also some code (or the URL) that is causing this error, so I can test 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.
I am using flutter_inappwebview in my app and its example is running properly but when i integrate with my app I am getting below error.
2020-06-06 12:01:02.678 24736-24736/com.myapp.example W/System.err: java.lang.ClassCastException: $Proxy3 cannot be cast to android.view.WindowManagerImpl
2020-06-06 12:01:02.681 24736-24736/com.myapp.example W/System.err: at android.view.Window.setWindowManager(Window.java:770)
2020-06-06 12:01:02.681 24736-24736/com.myapp.example W/System.err: at android.view.Window.setWindowManager(Window.java:751)
2020-06-06 12:01:02.681 24736-24736/com.myapp.example W/System.err: at android.app.Dialog.(Dialog.java:339)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.app.AlertDialog.(AlertDialog.java:202)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.app.AlertDialog$Builder.create(AlertDialog.java:1106)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at Fb3.a(chromium-Monochrome.aab-stable-410409673:1)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at ST2.(chromium-Monochrome.aab-stable-410409673:5)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at org.chromium.content.browser.input.SelectPopup.show(chromium-Monochrome.aab-stable-410409673:12)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.os.MessageQueue.nativePollOnce(Native Method)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.os.MessageQueue.next(MessageQueue.java:386)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.os.Looper.loop(Looper.java:175)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7625)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
2020-06-06 12:01:02.682 24736-24736/com.myapp.example W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
I am using kotlin
class Application : FlutterApplication(), PluginRegistrantCallback {
}
MainActivity
import io.flutter.plugins.GeneratedPluginRegistrant
import android.view.WindowManager.LayoutParams
import io.flutter.app.FlutterFragmentActivity
class MainActivity: FlutterFragmentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
//getWindow().addFlags(LayoutParams.FLAG_SECURE)
}
}
The text was updated successfully, but these errors were encountered: