SDK Support for Expo

Problem Statement

We want to integrate the Auth0 React-native-auth0 library with their Expo React Native application. However, the library has native code (written in swift, kotlin, etc.), whereas Expo requires that all JS libraries be written in pure JS.

Is there any workaround that would allow this integration between the React-native-auth0 library and Expo React ( https://expo.dev )?

Solution

The workaround we suggest is to use AuthSessions. A sample reference can be found here.