auth0-samples / auth0-ionic2-samples

MIT License
28 stars 56 forks source link

Cannot read property 'open' of undefined #28

Open DJSitte opened 7 years ago

DJSitte commented 7 years ago

When running the example project nothing happens when I click the button and I get the following debug output:

07-07 15:26:15.443  3771  3771 D SystemWebChromeClient: file:///android_asset/www/cordova.js: Line 312 : Error in Success call backId: SafariViewController770851044 : TypeError: Cannot read property 'open' of undefined
07-07 15:26:15.443  3771  3771 I chromium: [INFO:CONSOLE(312)] "Error in Success callbackId: SafariViewController770851044 : TypeError: Cannot read property 'open' of undefined", source: file:///android_asset/www/cordova.js (312)
07-07 15:26:15.448  3771  3771 D SystemWebChromeClient: file:///android_asset/www/build/main.js: Line 1362 : ERROR
07-07 15:26:15.448  3771  3771 I chromium: [INFO:CONSOLE(1362)] "ERROR", source: file:///android_asset/www/build/main.js (1362)

Ionic-CLI: v3.4.0 Ionic: v3.5.0 Cordova: v7.0.1

EDIT: It works when I run it on my phone, but does not work in the emulator.

BenjaminWatts commented 7 years ago

hey - I have same problem - did you get a resolution?