Open Closed

BlazorWasm Support for older devices/browser #8179


User avatar
0
tim-swanson created
  • ABP Framework version: 8.2.0
  • UI Type: Blazor WASM
  • Database System: EF Core
  • Tiered (for MVC) or Auth Server Separated (for Angular): No
  • Exception message and full stack trace:
  • global.js Unhandled Promise Rejection: Error: Failed to start platform. Reason: Error: Assert failed: This browser/engine doesn't support BigInt64Array API. Please use a modern version. Have had other errors hinting at "Please use a modern browser"

When launching our site on older browsers/devices such as iPhone 11 we are getting errors on the index.html page of the Blazor project.

I have tried some workarounds in the .csproj file to disable SIMD but have not had any luck. <WasmEnableExceptionHandling>false</WasmEnableExceptionHandling> <WasmEnableSIMD>false</WasmEnableSIMD>

This seems to have come during the same time we did a .NET 8 and ABP 8 upgrade.

Has anyone found a workaround to get older devices to work with WASM? Unfortunately we cannot tell them that we do not support their device.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you create a new Blazor wasm template from Visual Studio?

    I want to confirm whether it is related to abp or NET 8.

    If Microsoft's templates don't support your browser, we can do nothing.

    Thanks.

  • User Avatar
    0
    tim-swanson created

    I ended up figuring it out, I had to add this in addition. Was not aware AOT was enabled by default. <RunAOTCompilation>false</RunAOTCompilation>

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11