-
Notifications
You must be signed in to change notification settings - Fork 455
The app crashes if iosCustomBrowser is not provided, react-native 0.77.1 #1061
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
Comments
I also am facing this issue. It works fine on iOS simulator |
I'm facing the same issue:
Seems to be working fine while debugging (either on the simulator or on the device), but the release build crashes at the |
Hello folks. The app I work on also just hit this issue. The snippet where the problem happens is here. Specifically:
The workaround I found is heavy handed but effective. I used patch-package to set this line of code to Lastly this issue is only reproducible in release builds. So in order to see it happen in the iOS simulator you must build a release build (not a debug build). |
Here is the cause. See official changelog for react-native 0.77.1:
|
Hi @ksm and thanks a lot for finding the cause of the problem. I'll be using the patch you provided for now, since I need the app I'm working on to be usable. Hope they will update this package soon. |
Is there any planned work on this issue? I'm asking because I cannot use the patch, since that open a regular browser session and I need to open an ephemeral browser in private modus for authentication |
It happens with react-native Version: 0.78.0 as well |
I am also having the same issue. Hopefully there will be a fix soon. |
I made a PR for the other issue I opened that truly may fix this issue as well (I think is the same issue) |
It's the same issue, actually, but your PR has solved the problem. Thanks a lot! |
You're welcome! My app is made in bare RN and I'm planning to move it to Expo, but I need some time to do it :) |
Issue
The release configuration of the app crashes on iOS if authorize method is called without iosCustomBrowser option. It reproduces only with react-native v0.77.1.
Environment
react-native
Version: 0.77.1react-native-app-auth
Version: 8.0.0The text was updated successfully, but these errors were encountered: