-
Notifications
You must be signed in to change notification settings - Fork 464
Closed
Description
Issue
On iOS 18+, Chrome and other browsers can no longer be opened using the iosCustomBrowser property from within the React Native application.
Previously, setting iosCustomBrowser to any browser (e.g., 'chrome', 'safari', 'opera', 'firefox') worked without issues on iOS 17 and earlier versions.
Is there a workaround or fix for this issue?
Lots of users are facing the same problem.
Environment
- Identity Provider:
Duende Identity Server (OpenID Connect and OAuth 2.0) - Platform:
iOS - React Native Version:
0.76.1 - react-native-app-auth Version:
8.0.0 - Using Expo: No
Additional Details
- macOS: 14.5
- Xcode: 16.0
- Node: v18.18.2
- Yarn: v1.22.21
- NOTE: Works on iOS 17 and earlier but not on iOS 18+
Xcode Console Message:
BUG IN CLIENT OF UIKIT: The caller of UIApplication.openURL(:) needs to migrate to the non-deprecated UIApplication.open(:options:completionHandler:). Force returning false (NO).
Steps to Reproduce
- Set
iosCustomBrowser: 'chrome'(or any other supported browser, such as'safari','opera','firefox') usingreact-native-app-authpackage. - Run the app on a device or simulator with iOS 18 or later.
- Attempt to initiate an authentication flow that opens the specified browser.
- Browser does not open, and the Xcode console logs the message mentioned above.
mvdev24, marreb00, tylercaceres, VariabileAleatoria and Helen2hang
Metadata
Metadata
Assignees
Labels
No labels