You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking at the official updater plugin and since it doesn't seem to support android, I thought about trying to add that.
I used a similar approach in my capacitor app, but from what I understand that one used a local web-server and tauri uses a custom protocol on android.
I created a test file using my plugin, located in /data/user/0/com.foo.bar/files/hello.html, however I'm unable to make it work.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've been looking at the official updater plugin and since it doesn't seem to support android, I thought about trying to add that.
I used a similar approach in my capacitor app, but from what I understand that one used a local web-server and tauri uses a custom protocol on android.
I created a test file using my plugin, located in
/data/user/0/com.foo.bar/files/hello.html
, however I'm unable to make it work.My kotlin code:
webView.loadUrl(assetUrl(Uri.fromFile(htmlFile)))
and my
app.security
section intauri.conf.json
:I'm unfamiliar with csp strings, am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions