Your workflow is unique 👨💻 - tell us how you use Dropbox here.
Forum Discussion
harunctgbd
7 years agoExplorer | Level 3
Android SDK auth access token malformed when Access Token use in Dropbox JS SDK
Recently I have included Dropbox in my ionic 1 android application through Dropbox JavaScript SDK for user data backup. I have used inAppBrowser for the authentication process. Everything is working ...
harunctgbd
7 years agoExplorer | Level 3
I have added a total sample project https://github.com/haruncpi/testdropbox
- clone the repo.
You need to change two files with the app key
1. www/js/controllers.js
2. platforms/android/AndroidManifest.xml
For run the project you have required
1. Node v6.14*
2. Cordova 6.0 install it by npm install -g cordova@6.0.0
3. ionic 1.7 install it by npm install -g ionic@1.7.15
For running app run the command
ionic run [it will install the app to connected device or emulator]
For debugging and show the log in the console run the command below
ionic run -l -c -s
I have done all stuff what you required. Hopefully, I'll get a solution. Thanks for your cooperations.
Greg-DB
Dropbox Community Moderator
7 years agoThanks! I'll work on getting that environment working to try to reproduce this. (I can't make any promises though, as we don't officially support Cordova/Ionic.)
I'm looking through the code though, and I don't see where you actually construct the Dropbox JavaScript client object and call usersGetCurrentAccount, per your original comment. Can you add that? Given the rest of the investigation here, it certainly seems possible that that portion will be relevant (e.g., how you're transferring the token over, when/where you're loading and using the JavaScript library, etc.).
About Dropbox API Support and Feedback
Get help with the Dropbox API from fellow developers and experts.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X, Facebook or Instagram.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!