mu-dawood / my_fatoorah

My fatoorah sdk
Apache License 2.0
6 stars 11 forks source link

im building a app using my fatoora payment system but its throw error #21

Open rasheed-ct opened 1 year ago

rasheed-ct commented 1 year ago

E/flutter ( 3124): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, java.lang.IllegalStateException: Trying to create a platform view of unregistered type: com.pichillilorenzo/flutter_inappwebview E/flutter ( 3124): at io.flutter.plugin.platform.PlatformViewsController$1.createForTextureLayer(PlatformViewsController.java:219) E/flutter ( 3124): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.create(PlatformViewsChannel.java:122) E/flutter ( 3124): at io.flutter.embedding.engine.systemchannels.PlatformViewsChannel$1.onMethodCall(PlatformViewsChannel.java:60) E/flutter ( 3124): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:262) E/flutter ( 3124): at io.flutter.embedding.engine.dart.DartMessenger.invokeHandler(DartMessenger.java:295) E/flutter ( 3124): at io.flutter.embedding.engine.dart.DartMessenger.lambda$dispatchMessageToQueue$0$io-flutter-embedding-engine-dart-DartMessenger(DartMessenger.java:319) E/flutter ( 3124): at io.flutter.embedding.engine.dart.DartMessenger$$ExternalSyntheticLambda0.run(Unknown Source:12) E/flutter ( 3124): at android.os.Handler.handleCallback(Handler.java:938) E/flutter ( 3124): at android.os.Handler.dispatchMessage(Handler.java:99) E/flutter ( 3124): at android.os.Looper.loop(Looper.java:223) E/flutter ( 3124): at android.app.ActivityThread.main(ActivityThread.java:7656) E/flutter ( 3124): at java.lang.reflect.Method.invoke(Native Method) E/flutter ( 3124): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592) E/flutter ( 3124): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947) E/flutter ( 3124): , null, null) E/flutter ( 3124): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:653:7) E/flutter ( 3124): #1 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:296:18) E/flutter ( 3124): E/flutter ( 3124): #2 TextureAndroidViewController._sendCreateMessage (package:flutter/src/services/platform_views.dart:1146:18) E/flutter ( 3124): E/flutter ( 3124): #3 AndroidViewController.create (package:flutter/src/services/platform_views.dart:792:5) E/flutter ( 3124): E/flutter ( 3124):

rasheed-ct commented 1 year ago

please help me

mu-dawood commented 1 year ago

which version

mu-dawood commented 1 year ago

This package uses flutter_inappwebview which have these requirements

Screenshot 2023-01-23 at 4 58 06 PM
rasheed-ct commented 1 year ago

PS C:\CT_WORKSPACE\Mannequin-App\Code> flutter --version Flutter 3.3.9 • channel stable • https://github.com/flutter/flutter.git Framework • revision b8f7f1f986 (9 weeks ago) • 2022-11-23 06:43:51 +0900 Engine • revision 8f2221fbef Tools • Dart 2.18.5 • DevTools 2.15.0

rasheed-ct commented 1 year ago

minSdkVersion 27 targetSdkVersion 33

mu-dawood commented 1 year ago

Can you please try version 3.2.0 and tell me if issue persist

rasheed-ct commented 1 year ago

ok