Title, basically. I’ve been struggling to implement this, i always have the same warning saying that functions like submit or createConfig does not exist.
The only possible reason i see is because i can’t run react-native link @okta/okta-react-native.
My current solution is to eject the app from Expo and work with react-native only.
While i go this way i want your opinion on it. Is it compatible?
Posting here in case it helps someone else down the line: Expo is now (mostly) supported thanks to the recent-ish addition of native module support through expo dev client. This does unfortunately mean Expo Go is no longer available once the SDK is added, but after the development build is made with the additional dev client dependency, the process is largely the same. iOS essentially works out of the box, but some extra effort is needed to successfully make builds for Android, using expo config-plugins:
First, make a new plug-in to add the required appAuthRedirectScheme value to the app gradle:
Then, follow the Expo documentation for making a development (or production build) to install on your simulator or test device. You can then launch and test your code using expo start --dev-client. I was able to successfully implement the custom sign in flow using okta-react-native v2.7.0 with this approach