Open mhrastegari opened 3 weeks ago
Thanks for the report we will investigate!
@javiercn / @SteveSandersonMS / @MackinnonBuck - thoughts on this?
We've had issues in the past where a change in Blazor caused an issue on older web views:
I'm not sure if this is a case of:
I know in general Blazor supports only the 'latest browser' but this scenario might be a bit different because it's probably the latest WebKit/Gecko/Safari for that OS?
I tried .NET 9 Preview 7 with a Blazor Web app and that works fine on iOS 16.4.
Hm, this probably needs investigating.
@mhrastegari, do the dev tools point to a specific location in blazor.webview.js
failing? Also, are you able to see the content returned by the browser's request to blazor.webview.js
? I'm wondering if either:
blazor.webview.js
is returning something other than the actual script (e.g., JSON)We received a similar report of this in https://github.com/dotnet/aspnetcore/issues/57326
@MackinnonBuck I'm trying to repro locally but it's taking a while to get my Mac set up for .NET 9 Preview 7.
The other report is interesting because it seems to imply it's an issue with all the Blazor JS files... I couldn't repro that in my quick test earlier.
@Eilon Interesting. So it is probably an issue with the script itself then (not with fetching the script).
Well, wait. I spoke to soon. The screenshot in that other issue shows blazor.webview.js
. It might be that "blazor.web.js" in the issue title is a typo.
So maybe the problem does only happen for blazor.webview.js
.
This issue has been verified using latest Visual Studio 17.12.0 Preview 1.0 (9.0.0-preview.7.24407.4). Can repro on iOS platform. works fine on 17.12.0 Preview 1.0 (8.0.80)
Description
We're trying to update our projects and templates to the .NET. 9 preview 7 but in iOS version of our app on devices with OS versions lower than 17 not working!
Steps to Reproduce
Link to public reproduction project repository
https://github.com/mhrastegari/BlazorIssueWithOldIosVersions
Version with bug
9.0.0-preview.7.24407.4
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.80 SR8
Affected platforms
iOS
Affected platform versions
Tested on iOS 16 & iOS 15
Did you find any workaround?
No
Relevant log output
Screenshots
Working on iOS 17 but not 16: