Skip to content

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

@artur-burlak

Description

@artur-burlak

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

  • Your Identity Provider: Azure
  • Platform that you're experiencing the issue on: iOS
  • Your react-native Version: e.g. 0.74.1
  • Your react-native-app-auth Version: e.g. 7.1.3
  • Are you using Expo? NO

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue-acceptedThis issue has been confirmed and accepted by the maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions