I have an App that login to a specific page and execute some commands via Javascript. But when I start the App again it should open the login form. But, instead, it stays logged and goes to the user's screen.
child: WebView(
initialUrl:
'https://thepage.com/m/customer/account/login/',
onWebViewCreated: (c) {
_webviewController = c;
print("cleaning the cache");
_webviewController.clearCache();
},
onPageFinished: (String page) async {
setState(() {
_isPageLoaded = true;
});
},
javascriptMode: JavascriptMode.unrestricted,
),
I tried to clean the cache, but perhaps it is not enough.
I/zygote64( 5259): Compiler allocated 6MB to compile void android.view.ViewRootImpl.performTraversals()
I/flutter ( 5259): cleaning the cache