diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java index 82060a52e..665eaaab7 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/activities/ExternalPebbleJSActivity.java @@ -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");