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

[BUG] Error messages with: message_codecs, platform_channel, platform_views #532

Open
blue492 opened this issue Aug 21, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@blue492
Copy link

blue492 commented Aug 21, 2024

Iam getting following error messages with: message_codecs, platform_channel, platform_views. It cause that mobile keyboard not shown up. The problem is only in android

html_editor_enhanced: ^2.6.0 ,
Flutter version: stable, 3.24.0

the problem is solved in
https://pub.dev/packages/html_editor_enhanced_android_fix/

``

D/InAppWebView( 4860): Using InAppWebViewClientCompat implementation
D/EGL_emulation( 4860): app_time_stats: avg=380.91ms min=2.63ms max=4786.66ms count=13
W/cr_WebSettings( 4860): setForceDark() is a no-op in an app with targetSdkVersion>=T
W/cr_SupportWebSettings( 4860): setForceDarkBehavior() is a no-op in an app with targetSdkVersion>=T
E/MethodChannel#flutter/platform_views( 4860): Failed to handle method call
E/MethodChannel#flutter/platform_views( 4860): java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE
E/MethodChannel#flutter/platform_views( 4860): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:649)
E/MethodChannel#flutter/platform_views( 4860): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:618)
E/MethodChannel#flutter/platform_views( 4860): at androidx.webkit.WebViewFeature.isFeatureSupported(WebViewFeature.java:611)
E/MethodChannel#flutter/platform_views( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.InAppWebView.prepare(InAppWebView.java:436)
E/MethodChannel#flutter/platform_views( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.FlutterWebView.(FlutterWebView.java:82)
E/MethodChannel#flutter/platform_views( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.FlutterWebViewFactory.create(FlutterWebViewFactory.java:67)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:523)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.plugin.platform.PlatformViewsController$1.createForPlatformViewLayer(PlatformViewsController.java:168)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:105)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/MethodChannel#flutter/platform_views( 4860): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/MethodChannel#flutter/platform_views( 4860): at android.os.Handler.handleCallback(Handler.java:958)
E/MethodChannel#flutter/platform_views( 4860): at android.os.Handler.dispatchMessage(Handler.java:99)
E/MethodChannel#flutter/platform_views( 4860): at android.os.Looper.loopOnce(Looper.java:205)
E/MethodChannel#flutter/platform_views( 4860): at android.os.Looper.loop(Looper.java:294)
E/MethodChannel#flutter/platform_views( 4860): at android.app.ActivityThread.main(ActivityThread.java:8177)
E/MethodChannel#flutter/platform_views( 4860): at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#flutter/platform_views( 4860): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/MethodChannel#flutter/platform_views( 4860): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
E/flutter ( 4860): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Unknown feature SUPPRESS_ERROR_PAGE, null, java.lang.RuntimeException: Unknown feature SUPPRESS_ERROR_PAGE
E/flutter ( 4860): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:649)
E/flutter ( 4860): at androidx.webkit.internal.WebViewFeatureInternal.isSupported(WebViewFeatureInternal.java:618)
E/flutter ( 4860): at androidx.webkit.WebViewFeature.isFeatureSupported(WebViewFeature.java:611)
E/flutter ( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.InAppWebView.prepare(InAppWebView.java:436)
E/flutter ( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.in_app_webview.FlutterWebView.(FlutterWebView.java:82)
E/flutter ( 4860): at com.pichillilorenzo.flutter_inappwebview_android.webview.FlutterWebViewFactory.create(FlutterWebViewFactory.java:67)
E/flutter ( 4860): at io.flutter.plugin.platform.PlatformViewsController.createPlatformView(PlatformViewsController.java:523)
E/flutter ( 4860): at io.flutter.plugin.platform.PlatformViewsController$1.createForPlatformViewLayer(PlatformViewsController.java:168)
E/flutter ( 4860): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:105)
E/flutter ( 4860): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:55)
E/flutter ( 4860): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:267)
E/flutter ( 4860): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:292)
E/flutter ( 4860): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319)
E/flutter ( 4860): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12)
E/flutter ( 4860): at android.os.Handler.handleCallback(Handler.java:958)
E/flutter ( 4860): at android.os.Handler.dispatchMessage(Handler.java:99)
E/flutter ( 4860): at android.os.Looper.loopOnce(Looper.java:205)
E/flutter ( 4860): at android.os.Looper.loop(Looper.java:294)
E/flutter ( 4860): at android.app.ActivityThread.main(ActivityThread.java:8177)
E/flutter ( 4860): at java.lang.reflect.Method.invoke(Native Method)
E/flutter ( 4860): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
E/flutter ( 4860): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:971)
E/flutter ( 4860): )
E/flutter ( 4860): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:648:7)
E/flutter ( 4860): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:334:18)
E/flutter ( 4860):
E/flutter ( 4860): #2 ExpensiveAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:1104:5)
E/flutter ( 4860):
E/flutter ( 4860): #3 AndroidViewController.create (package:flutter/src/services/platform_views.dart:827:5)
E/flutter ( 4860):
E/flutter ( 4860):

``

@blue492 blue492 added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants