mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-12-28 03:25:49 +01:00
Pebble: fix of app configuration webview
This commit is contained in:
parent
4dbe5744da
commit
139e9cfb14
@ -192,6 +192,9 @@ public class ExternalPebbleJSActivity extends AbstractGBActivity {
|
||||
webSettings.setDomStorageEnabled(true);
|
||||
//needed for localstorage
|
||||
webSettings.setDatabaseEnabled(true);
|
||||
// #3373 #3424 - Fix configuration for pebble apps
|
||||
// TODO: this should use a WebViewAssetLoader
|
||||
webSettings.setAllowFileAccess(true);
|
||||
|
||||
JSInterface gbJSInterface = new JSInterface(device, uuid);
|
||||
myWebView.addJavascriptInterface(gbJSInterface, "GBjs");
|
||||
|
Loading…
Reference in New Issue
Block a user