Launching a window and listening to events...electron, app and browser


Very new to everything frontend. I’m a Java back end guy.

I’m trying to build an app that has oauth authentication.

I want it to run in electron, in the browser, and in app.

I’m successfully launching a browser using inappbrowser, but the calling page crashes with the exact error this guy was getting. But he got it to work, with his fix.

Any ideas…? Is the above the right approach for cross platform?

Double posted, sorry.

But this guy has the same problem too listener