Help loading local index.html on iOS using Asset protocol #14046
Unanswered
lukeyreyno
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a Webview Window on iOS using the following code:
When I
unzip -l
on the.ipa
fromnpm run tauri ios build
, I get the following path:Payload/loc8-royale.app/cache/loc8-royale/index.html
I have set up the asset protocol in
tauri.conf.json
as so:I keep getting
No such file or directory (os error 2)
when I inspect at the safari devtools.It's trying to fetch
URL: asset://cache/loc8-royale/index.html
If I try to fetch using
http://asset.localhost
, I get errors from ATS.Please let me know what I might be going missing with my setup.
Beta Was this translation helpful? Give feedback.
All reactions