firebase-database-dotnet
firebase-database-dotnet copied to clipboard
Update FirebaseSubscription.cs
Fix Crash on net6.0-ios
Reproduction: https://github.com/VladislavAntonyuk/ContinueOnPC
Can you elaborate more on the issue? Why would setting MaxAutomaticRedirections
crash the iOS app?
this property seems to be unsupported.
Could possibly be related to the following comments in Xamarin source:
- https://github.com/xamarin/xamarin-macios/blob/10b6dffec0d0e2e4b52adf158e0b731dcba29cf8/src/Foundation/NSUrlSessionHandler.cs#L579
- https://github.com/xamarin/xamarin-macios/blob/10b6dffec0d0e2e4b52adf158e0b731dcba29cf8/src/Foundation/NSUrlSessionHandler.cs#L660
I believe it's possible to implement support for MaxAutomaticRedirections (it just has to be done)
We support the AllowAutoRedirect property, but we don't support changing the MaxAutomaticRedirections value, so be safe here and say we don't support redirect configuration.