auth0-ionic2-samples icon indicating copy to clipboard operation
auth0-ionic2-samples copied to clipboard

window.safariViewController

Open lukazlatecan opened this issue 7 years ago • 3 comments

I try to run your project but i got following error: screen shot 2017-06-29 at 12 58 25

lukazlatecan avatar Jun 29 '17 10:06 lukazlatecan

Please make sure the necessary plugins are installed. It looks like the SafariViewController plugin is missing. Steps in the readme.

Also please note that the sample won't run in the browser and must be emulated or run on a real device.

chenkie avatar Jun 29 '17 14:06 chenkie

It was problem with the plugin yes. Thank you, it is now working on phone. I am wondering how is it possible to make it work in browser?

lukazlatecan avatar Jun 29 '17 14:06 lukazlatecan

Unfortunately it won't work in the browser. It's an implication of how auth is handled with the auth0-cordova package. It relies on an actual device (or emulated device) to do its thing.

chenkie avatar Jun 29 '17 14:06 chenkie