Auth0 Home Blog Docs

Quickstart Phonegap app gives white screen

white-screen-phonega

#1

cordova.js:59 Uncaught module cordov.App not found
require @ cordova.js:59
localRequire @ cordova.js:49
(anonymous) @ VM496 index.js:2
cordova.js:1600 GET http://localhost/02-login/www/cordova_plugins.js net::ERR_ABORTED
exports.injectScript @ cordova.js:1600
injectIfNecessary @ cordova.js:1608
exports.load @ cordova.js:1688
(anonymous) @ cordova.js:1221
setTimeout (async)
(anonymous) @ cordova.js:1220
build @ cordova.js:53
require @ cordova.js:68
(anonymous) @ cordova.js:1936
(anonymous) @ cordova.js:1938
insertion.js:217 GET https://unpkg.com/51bcf8309bec5b58a1d7cd88adfdaaaa/1.js net::ERR_ABORTED
(anonymous) @ insertion.js:217
safeCallbackApply @ VM531 extensions::uncaught_exception_handler:27
handleResponse @ VM532 extensions::sendRequest:67


#3

Last time I looked at the PhoneGap quickstart (about the time of your post) it was outdated. If you want to use Hosted Login Page in a PhoneGap/Cordova App then I’d recommend you have a look at using the auth0-cordova library (https://github.com/auth0/auth0-cordova) and the Ionic 2+ Quickstart as a guide for how to get it working… I’m not using Ionic but it was still the only quickstart that pointed me in the right direction.