webview / webview

Tiny cross-platform webview library for C/C++. Uses WebKit (GTK/Cocoa) and Edge WebView2 (Windows).

Home Page:https://webview.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Supporting IndexedDB on all platforms

Kukulkano opened this issue · comments

I like to suggest a function webview_setStoragePath to set a storage path for any storage to the Webview.

If the path is an empty string, the IndexedDB feature should be turned off in general. If a valid path is given, please advise the Webview to allow and store IndexedDB (and other storage like local storage?) to this location.

Filenames should be automatically chosen due to the functionality. The IndexedDB sqlite database might be named indexed.db and the local storage might be local.db. So developers can have different storages for different apps simply by chosing another folder.