dotnet / MobileBlazorBindings

Experimental Mobile Blazor Bindings - Build native and hybrid mobile apps with Blazor
MIT License
1.21k stars 172 forks source link

Does blazor hybrid work on iOS? #444

Open ygl-rg opened 2 years ago

ygl-rg commented 2 years ago

Hi All

I created a project by using "dotnet new blazorhybrid -o trial" and tried to run it on iOS without success. The phone showed a blank page. The android version just works. I am wondering whether it supports iOS or not. Thanks

Regards

ygl

Eilon commented 2 years ago

Hi, iOS is supposed to work, but maybe a new issue has come up. Did you try running in the iOS Simulator or on a physical iOS device?

ygl-rg commented 2 years ago

Hi I am running this dem on iPhone X (iOS version: 15)

Eilon commented 2 years ago

Are you able to try on the iOS Simulator? I've occasionally seen issues where it works on Simulator but not on a physical device. That could help narrow down what the problem is.

AmirImam commented 2 years ago

Are you able to try on the iOS Simulator? I've occasionally seen issues where it works on Simulator but not on a physical device. That could help narrow down what the problem is.

It's not working on simulator too. When I inspected the simulator on the browser, I found the app div is empty image

jmacentee commented 2 years ago

@Eilon , Our project was working fine on iOS and Android until we upgraded our iOS SDK from 14.5 to 15. (Which is required by Apple by April 25). That caused a bunch of build errors and after we got all those resolved, we now have the blank page problem similar to what a few other people have mentioned.