Invalid redirect_url when using JavaScript SDK in Cordova based hybrid Android app

New Contributor

Hello,

 

I've working on setting up a custom application using the Yammer JavaScript SDK.  Everything is working great in a browser where I can define my redirect_url properly (thanks for supporting localhost by the way).  

 

My problem is when I try to run this from a hybrid app on Android (Cordova based).  When running from an app in Android, the base url actually file:///android_assets/www/  which isn't a value redirect_url when I enter it into the whitelist field.

 

Is it even possible to use the JavaScript SDK in a Cordova based app?

 

Appreciate any pointers you can provide.

 

Thanks,

 

--jb

0 Replies