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
Blocknotes proved WordPress can run on mobile devices. Currently it uses iCloud for synchronization. Let's explore a toolchain that enables bundling any WordPress site as a mobile app with a single command.
This issue is to start the discussion and explorations around that specific angle to grow the WordPress ecosystem.
The WAMR and Chicory runtimes could be useful for shipping WASM in mobile apps. Alternatively, the app could bundle a cross-platform runtime like Wasmer – this could enable exporting Playground sites as platform-specific executables in a similar way to what QuickJS-emscripten does.
Pre-compile the WASM for each platform (AOT) would speed up the startup. So could shipping the initial memory snapshot.
JavascriptEngine looks nice and could be a good fit for Android, but I'm tempted to use a solution that works with both iOS and Android instead of building two.
What's our goal? Do we want working apps that can run WordPress and display the HTML, or do we want libraries that allow developers to make requests to WordPress?
Activity
adamziel commentedon Nov 4, 2024
https://developer.android.com/jetpack/androidx/releases/javascriptengine could help run WASM in mobile apps without a WebView
bgrgicak commentedon Nov 5, 2024
JavascriptEngine looks nice and could be a good fit for Android, but I'm tempted to use a solution that works with both iOS and Android instead of building two.
bgrgicak commentedon Nov 5, 2024
What's our goal? Do we want working apps that can run WordPress and display the HTML, or do we want libraries that allow developers to make requests to WordPress?
adamziel commentedon Nov 5, 2024
Both :-) also, agreed on interop — I'm just sharing what I've learned