4

when I switch to some pages in my application that I set up with InAppwebView, I get this error ( updateAcquireFence: Did not find frame ) the same project works without any problem on the device with android version 6, but on devices with android version 11 12 I get this error. Can you help, thanks in advance

       InAppWebView(
                    onWebViewCreated: ((_controller) {
                      controller = _controller;
                    }),

                    initialUrlRequest: URLRequest(
                        url: Uri.parse('')),
                  
                    initialOptions: InAppWebViewGroupOptions(

                        crossPlatform: InAppWebViewOptions(
                          javaScriptEnabled: true,
                          mediaPlaybackRequiresUserGesture: false,
                          supportZoom: false,

                        ),

                        android: AndroidInAppWebViewOptions(

                          mixedContentMode: AndroidMixedContentMode

                              .MIXED_CONTENT_ALWAYS_ALLOW,
                        )),

                    onProgressChanged:

                        (InAppWebViewController controller, int progress) {

                      setState(() {

                        this.progress = progress / 100;

                      });
                    },
                  ),
Yusuf Barulay
  • 81
  • 1
  • 7
  • https://stackoverflow.com/questions/55592392/how-to-fix-neterr-cleartext-not-permitted-in-flutter , it worked – Yusuf Barulay Sep 25 '22 at 08:25
  • Hi Yusuf, could you please explain why that post can resolve this issue? I have the same problem now and I don't know how to fix it. It causes my Flutter app crash on some devices. – Bryan Yin Jul 26 '23 at 08:40

0 Answers0