Forum Discussion

prachi708's avatar
prachi708
Explorer | Level 3
8 years ago

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.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,950 PostsLatest Activity: 23 hours ago
351 Following

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!