One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
prachi708
8 years agoExplorer | Level 3
How to add data-app-key in App.accessRule of meteor application for android
I am developing web app and cordova app (android) together in meteor, I have included different scripts in it but cordova app is not recognizing scripts and gives different script missing error.
After search I find out that by adding script in mobile-config.js by App.accessRule will work, and it worked for me.
I am using dropbox API in my application and it requires use of
< script type=“text/javascript” src=“https://www.dropbox.com/static/api/2/dropins.js” id=“id_dropbox” data-app-key=“xxxxxxxxxxx”>
now my problem is including this script like this is working fine for web app but for cordova app I have to pass data-app-key in App.accessRule and I am not able to do that. Please tell how this can be done.
- Greg-DB
Dropbox Staff
[Cross-linking for reference: https://stackoverflow.com/questions/46240874/how-to-add-data-app-key-in-app-accessrule-of-meteor-application-for-android ]
Unfortunately the JavaScript Dropbox Chooser/Saver aren't built for use in Cordova. I'll send this along as a feature request for official support and instructions, but that being the case I'm afraid I can't offer a solution here.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 23 hours ago
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 or Facebook.
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!