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
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.
The text was updated successfully, but these errors were encountered:
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
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.
The text was updated successfully, but these errors were encountered: