You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a start point I've got this sample application.
I made steps from tutorial. I can login with ios, login page opens and everything work as expected.
But I could not make login page opened on android emulator and device (both).
In Chrome Inspector (android emulator) I see this error
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'open' of undefined
TypeError: Cannot read property 'open' of undefined
at WebView.open (file:///android_asset/www/build/main.js:116941:20)
at file:///android_asset/www/build/main.js:65196:11
at file:///android_asset/www/build/main.js:116917:12
at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
Then after long 'googling' I decided to install cordova-plugin-inappbrowser, that led to page opens. But I cant login with google because of restrictions of in-app browsers. And because of this auth0 ionic2 sample application doesn't work on android.
Don't know how to solve this...
Maybe someone can help? Could someone check this sample on android device and/or update documentation if something was missed?
The text was updated successfully, but these errors were encountered:
I was having the same problem while running an emulator using API version 23. I was able to get it running in an emulator with API version 25. It also worked just fine when I ran it on a physical device.
As a start point I've got this sample application.
I made steps from tutorial. I can login with ios, login page opens and everything work as expected.
But I could not make login page opened on android emulator and device (both).
In Chrome Inspector (android emulator) I see this error
ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'open' of undefined
TypeError: Cannot read property 'open' of undefined
at WebView.open (file:///android_asset/www/build/main.js:116941:20)
at file:///android_asset/www/build/main.js:65196:11
at file:///android_asset/www/build/main.js:116917:12
at Object.cordova.callbackFromNative (file:///android_asset/www/cordova.js:293:58)
Then after long 'googling' I decided to install cordova-plugin-inappbrowser, that led to page opens. But I cant login with google because of restrictions of in-app browsers. And because of this auth0 ionic2 sample application doesn't work on android.
Don't know how to solve this...
Maybe someone can help? Could someone check this sample on android device and/or update documentation if something was missed?
The text was updated successfully, but these errors were encountered: