Skip to content

v5.0.0-beta4 "Argument 12 (NSNumber) of A0Auth0.webAuth must not be null" when running authorize function #1259

@ScopeSV

Description

@ScopeSV

Checklist

Description

I am upgrading an expo app to SDK 53, and with that, the auth0 package.
As the older packages aren't supported any longer, I have upgraded from 4.0.0 to 5.0.0-beta4.
I have done a complete prebuild, after deleting node modules, android and iOS dir, and lock file.

The app starts up fine, however when I run the authorize function from import { useAuth0 } from 'react-native-auth0' I get an error Argument 12 (NSNumber) of A0Auth0.webAuth must not be null

There are no errors in either the console or the React native dev tools console. The error is only visible in the app itself.

Image

I haven't edited any configs from the Expo SDK 53 and auth0 4.0.0

plugins section in app.config

  [
            'react-native-auth0',
            {
                domain: 'login.24sevenoffice.com',
            },
  ],

What could this mean?

I am happy to more info if needed.

Thanks.

Reproduction

See above

Additional context

No response

react-native-auth0 version

5.0.0-beta.4

React Native version

0.79.5

Expo version

53.0.0

Platform

iOS

Platform version(s)

15.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions