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 ?