Keep in mind often times mobile browsers will be more stingy with memory (and iOS doesn't offer an option to get a rough estimate of available RAM), as well as being more aggressive around killing your tab in the background.
On Thursday, January 31, 2019 at 7:50:58 PM UTC-8, caiiiycuk wrote: > > Maybe another option is to use optimized build with -Oz (to minimize > startup time). > > пт, 1 февр. 2019 г. в 06:51, Floh <[email protected] <javascript:>>: > > > > As long as you're on fairly recent Android/iOS versions where the > browsers have WASM support, it should "just work". > > > > If WASM is not an option you'd need to fallback to asm.js output, via > "-s WASM=0". > > > > You may need to add code for mobile-specifics, like touch input (e.g. > see here: https://emscripten.org/docs/api_reference/html5.h.html) > > > > I think that's about it :) > > > > On Thursday, 31 January 2019 22:34:39 UTC+1, James Folk wrote: > >> > >> Hello, > >> Are there any special settings I can use to enable the build for a > mobile browser? > >> Thanks -James > > > > -- > > You received this message because you are subscribed to the Google > Groups "emscripten-discuss" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to [email protected] <javascript:>. > > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
