FormidableLabs / react-native-app-auth

React native bridge for AppAuth - an SDK for communicating with OAuth2 providers
https://commerce.nearform.com/open-source/react-native-app-auth
MIT License
1.96k stars 438 forks source link

[iOS] RN 0.74 NewArch + bridgelesssMode ON authorize, refresh, logout doesn't work, Promise Rejection #980

Open AptypTheKing opened 1 month ago

AptypTheKing commented 1 month ago

Issue

On iOS 17.4 RN 0.74.1 NewArch + bridgelessMode ON(THIS IS IMPORTANT) authorize, refresh, logout are throwing promise rejection.

Possible unhandled promise rejection: RNAppAuth.authorize(): Error while converting JavaScript argument 10 to objectiove C type BOOL. Objective C type BOOL is unsupported.

Screenshot 2024-05-26 at 20 19 33 Screenshot 2024-05-26 at 20 20 03

Here useNonce = true by default

ATTENTION: This happening only on bridgelessMode ON. Looks like some turbo modules issue.


Environment

carbonrobot commented 2 weeks ago

We are actively working on Bridgeless support and hope to have an update soon.

steve4835 commented 1 week ago

I am having this issue as well