How to add data-app-key in App.accessRule of meteor application for android


#1

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.