mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge.git
synced 2025-01-10 17:11:56 +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);
|
webSettings.setDomStorageEnabled(true);
|
||||||
//needed for localstorage
|
//needed for localstorage
|
||||||
webSettings.setDatabaseEnabled(true);
|
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);
|
JSInterface gbJSInterface = new JSInterface(device, uuid);
|
||||||
myWebView.addJavascriptInterface(gbJSInterface, "GBjs");
|
myWebView.addJavascriptInterface(gbJSInterface, "GBjs");
|
||||||
|
Loading…
Reference in New Issue
Block a user