Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oauth.io oauth-phonegap Cordova plugin and Tabris.js #62

Open
peterzen opened this issue Oct 16, 2015 · 0 comments
Open

Oauth.io oauth-phonegap Cordova plugin and Tabris.js #62

peterzen opened this issue Oct 16, 2015 · 0 comments

Comments

@peterzen
Copy link

I need to make the oauth-io/oauth-phonegap Cordova plugin work in the Tabris.js environment. The existing plugin does exactly what I need – but it only works in a vanilla Cordova context due to its reliance on the DOM context. I was wondering if anyone here managed to make this work? If not, what would be the best option to go about this? I can see two options:

a) implement a modified version of oauth-phonegap to make it work using the cordova-inappbrowser plugin (and find a way to pass the object received from the Oauth API back to main.js)

b) implement a new Cordova plugin that exposes the API from the native oauth-io/oauth-android & oauth-io/oauth-ios modules via the Cordova API

Option a) does not seem very clean (but might work), b) would be much cleaner but also more complex to implement.

Has anyone been in these shoes?

Many thanks for any advice/hints/pointers.

@peterzen peterzen changed the title oauth-io/oauth-phonegap Cordova plugin and Tabris.js Oauth.io oauth-phonegap Cordova plugin and Tabris.js Oct 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant