-
Notifications
You must be signed in to change notification settings - Fork 442
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS: iosCustomBrowser fails to open Chrome or any browser on iOS 18+ #1034
Comments
We are facing the same error. We had to downgrade xcode to version 15.4 in order to overcome the issue, but an update of the library (I guess the ios sdk that this project wraps) is needed. |
Yes, you’re absolutely right. Thank you for the response! This library should be updated with the latest iOS SDK, as Apple has set a deadline: "Starting from April 2025, all iOS/iPadOS apps uploaded to the App Store must be built with the iOS 18 SDK." For more details, see Apple's documentation. |
We are waiting on the upstream |
Is there an issue opened on the upstream repo? |
Here is the upstream issue. It is currently merged, but not yet released. |
The new release of |
We have now released 8.0.1 which includes an upstream API fix. Please retest. |
Looks like it's working again, thanks. |
For iOS Setup details:
For those who encountered the same issue after upgrade to the new release package, please check: Error during pod install:
Tried a clean install using 'gem', but the same issue persisted. Run following for cocoapods:
In react-native project > in iOS directory run following:
Status:Once I resolved the issue with CocoaPods, we moved forward with the auth flow using the custom browser, and everything worked seamlessly with the new release 8.0.1, thanks. |
For me |
Yes, I tried that command initially but got the same error. Who knows, one of those mysteries! Good thing we have a few options to work with. |
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
Duende Identity Server (OpenID Connect and OAuth 2.0)
iOS
0.76.1
8.0.0
Additional Details
Xcode Console Message:
Steps to Reproduce
iosCustomBrowser: 'chrome'
(or any other supported browser, such as'safari'
,'opera'
,'firefox'
) usingreact-native-app-auth
package.The text was updated successfully, but these errors were encountered: