You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What authentication flow has the issue?
Mobile Interactive
Repro
Run 4.8.1 with AcquireTokenInteractive on iOS 10 and it will crash (4.7.1 will work).
Expected behavior
Login view should appear.
Actual behavior
App crashes with the following message:
Foundation.MonoTouchException
Message=Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[WKWebViewConfiguration defaultWebpagePreferences]: unrecognized selector sent to instance 0x1703a1340
Possible Solution
Not solution, but possible cause: 'defaultWebpagePreferences' was introduced in iOS 13 and therefore isn't available on ios 10. You can find reference to 'defaultWebpagePreferences' from this recent commit: b3e4397#diff-c49dff8cf6a7d53678d8a220af373ba1
Fix that and I reckon the problem should be gone.
The text was updated successfully, but these errors were encountered:
Which Version of MSAL are you using ?
MSAL 4.8.1
Platform
Xamarin.Forms (iOS)
What authentication flow has the issue?
Mobile Interactive
Repro
Run 4.8.1 with AcquireTokenInteractive on iOS 10 and it will crash (4.7.1 will work).
Expected behavior
Login view should appear.
Actual behavior
App crashes with the following message:
Foundation.MonoTouchException
Message=Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[WKWebViewConfiguration defaultWebpagePreferences]: unrecognized selector sent to instance 0x1703a1340
Possible Solution
Not solution, but possible cause: 'defaultWebpagePreferences' was introduced in iOS 13 and therefore isn't available on ios 10. You can find reference to 'defaultWebpagePreferences' from this recent commit: b3e4397#diff-c49dff8cf6a7d53678d8a220af373ba1
Fix that and I reckon the problem should be gone.
The text was updated successfully, but these errors were encountered: