My Blazor WASM app doesn't work on mobile. Works fine on Desktop.

Posted 34 days ago by Pastew
0

Please help, I have no more ideas.
My app works on Desktop and it doesn't work on my mobile.
Link to app: https://taniepiwo.pl/
Link to source code: https://github.com/Pastew/TaniePiwoClient
 

  • 0
    Error I get on mobile using Web Inspector app:
    
    mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
    --------------------
    Stacktrace: 
    
    --------------------
    Error
        at 640908 (https://taniepiwo.pl/_framework/wasm/dotnet.3.2.0.js:1:19012)
        at _emscripten_asm_const_iii (https://taniepiwo.pl/_framework/wasm/dotnet.3.2.0.js:1:19197)
        at wasm_logger (<anonymous>:wasm-function[3126]:0x9ab09)
        at eglib_log_adapter (<anonymous>:wasm-function[6030]:0x10e78d)
        at monoeg_g_logstr (<anonymous>:wasm-function[4574]:0xc99e6)
        at monoeg_g_logv_nofree (<anonymous>:wasm-function[2192]:0x60c59)
        at monoeg_g_log (<anonymous>:wasm-function[132]:0x2ffc)
        at g_error_xsx (<anonymous>:wasm-function[5875]:0x103f51)
        at interp_exec_method (<anonymous>:wasm-function[1120]:0x2d3e7)
        at interp_runtime_invoke (<anonymous>:wasm-function[5655]:0xf7391)
    --------------------
    Unimplemented opcode: 6553 dc.i4.m1 at 0x0
    --------------------
    undefined
    --------------------
    undefined
    --------------------
    Uncaught (in promise) RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
    --------------------
    mono_wasm_runtime_ready fe00e07a-5519-4dfe-b35a-f867dbaf2e28
    --------------------
    Stacktrace: 
    
    --------------------
    Error
        at 640908 (https://taniepiwo.pl/_framework/wasm/dotnet.3.2.0.js:1:19012)
        at _emscripten_asm_const_iii (https://taniepiwo.pl/_framework/wasm/dotnet.3.2.0.js:1:19197)
        at wasm_logger (<anonymous>:wasm-function[3126]:0x9ab09)
        at eglib_log_adapter (<anonymous>:wasm-function[6030]:0x10e78d)
        at monoeg_g_logstr (<anonymous>:wasm-function[4574]:0xc99e6)
        at monoeg_g_logv_nofree (<anonymous>:wasm-function[2192]:0x60c59)
        at monoeg_g_log (<anonymous>:wasm-function[132]:0x2ffc)
        at g_error_xsx (<anonymous>:wasm-function[5875]:0x103f51)
        at interp_exec_method (<anonymous>:wasm-function[1120]:0x2d3e7)
        at interp_runtime_invoke (<anonymous>:wasm-function[5655]:0xf7391)
    --------------------
    Unimplemented opcode: 7420 moves at 0x0
    --------------------
    undefined
    --------------------
    undefined
    --------------------
    Uncaught (in promise) RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
    --------------------
    Posted 34 days ago by Pastew
  • 0

    The first thing I recommend is making sure your mobile browser is compatible with Blazor WebAssembly. It looks like you may be using Asp.Net Core 3.1, so here is a list of supported browsers: https://docs.microsoft.com/en-us/aspnet/core/blazor/supported-platforms?view=aspnetcore-3.1

    Posted 34 days ago by selliott Edited 34 days ago
  • 0

    I tested it on Chrome and Firefox.

    Posted 33 days ago by Pastew
  • 0

    I'd try upgrading to .Net 5. This may be a related issue: https://github.com/dotnet/aspnetcore/issues/33559

    Posted 33 days ago by selliott Edited 33 days ago
Someone is typing...

Post a Reply

You must be logged in to add a new post.
Number of online users: 1
An error has occurred. This application may no longer respond until reloaded. Reload 🗙