Cordova Build for React App which uses Autho0 React SDK

I have been developing a web-app in React and I have integrated Auth0 using Auth0-React SDK. Now I want to use Cordova. I was going through this guide from Auth0 about the Cordova integration.

I don’t understand using var Auth0Cordova = require('@auth0/cordova'); here. Is it mean that we need to replace the Auth0-React SDK with @auth0/cordova when integrating Cordova or is there any other workaround for the apps that already using Auth0-React SDK ?

Hey there!

That’s a good question. I’m not a Cordova/React guy myself but if I were you I would reach out to our Cordova repo maintainer via GitHub issue and ask him that.