Comment by whstl
13 hours ago
It can download Javascript (or other interpreted language, or config data), but you generally can't download and execute new compiled native code on iOS, due to iOS code-signing/executable-memory restrictions.
Also keep in mind Apple might penalize you for dodging the review process and shipping new features, etc.
(btw, one exception to the JIT rule is custom browsers for the EU)
Pardon my ignorance but can't an iOS app host a WASM runtime without being a browser? And if so it doesn't need to be an interpreted language necessarily.
I am fairly certain this is against Apple's policies. In principle you're not supposed to change the functionality of your app without review.
i don't see any difference between wasm and js? If react native apps can be updated with js, wasm should be allowed.
3 replies →
Yes, it could, but then you would have re-invented React Native. But in WASM.
Yeah, but to my understanding that’s not what Shopify is doing.