I created an android app using VS2022 and .net MAUI Blazor. As there is only a small and closed group of users, I distribute the apk by copying it onto the devices. I have two build configurations (test and production). The configurations have identical settings, only package name and app icon are different so testers can run both versions on their devices and tell them apart.
Now two users have an issue starting the production version. The app starts, but while loading the blazor standard error message appears. We can’t reproduce this error except on these devices, nether on emulated devices nor on physical devices. The only thing that the two devices affected do have in common while it differs from all devices we can come up with for testing seems to be the manufactorer: both devices on which the app crashes are huawei.
I already tried this fix for crashes in release configuration:
https://github.com/dotnet/maui/issues/4262
but to no effect.
So I’m looking for eather a solution the makes the app run on huawei devices or a confirmation that there isn’t any solution für this issue. I would be able to officially refuse supporting a certain manufacturer, but I have to state a reason. Ideas what beside that manufactorer can cause the problem are also highly appreciated.