Webview local storage is working in browser but not in IOS

Actions & Logic

When I test my html in webview in a desktop browser, the local storage is used to save data and it persists. However, when I run the app on IOS, the local data is not stored and is not there when the page is reloaded. Now I read somewhere that

You need to add this

webConfiguration.websiteDataStore = WKWebsiteDataStore.default()

Apple documentation doesn't clearly state it but I think the default WKWebsiteDataStore is persistent.

Can anyone let me know where to add this parameter? I am not a programmer so I cant figure it out ๐Ÿ˜Ÿ Do we add it somewhere in Xcode or in Flutterflow?

What have you tried so far?

Have tried searching the web for a solution, but don't know where to add the code.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
8 replies