Remove permission prompt

Yes,  I’ve built it a number of times regularly and then just copied the apk into my phone. You don’t really get a prompt, just a message when you run the apk (with developer on) saying "Do you want to install this application? it does not require any special access.”

And darn, I tried your idea but I still get a prompt. Thanks for the idea though

If all else fails I would advise you to gradually errorcheck:

  1. Start with a new empty test project (that just displays “Hello World” for example) and a clean config.lua and build.settings. Test this.

  2. Add more and more of your code module with the existing clean config and build files and test this.

  3. Add lines to the build.settings file and test this.

  4. Add lines to the config.lua and test this.

And see where and when the error starts popping up.

For the record: the config.lua is most likely not the culprit so you could skip that in all likelihood.

Would it have to do with the save game file location at all? Right now we save a .json file on the users phone using a directory, I’ve tried a couple, like 

system.ApplicationSupportDirectory and  system.DocumentsDirectory

but no luck. Just wondering if I need to change anything else.

I’ve been slowly taking things out but still get a prompt. It’s so strange since we don’t look in or need to users phone for anything

I doubt it. File location would only come into play when the code is executed. Not at install time. Have you gone through the steps I listed?

“allow access to photos, media and files on device” is a message you always get on device with a live build.

Live builds simply run your source on the device so access is required.

SGS,

I’ve installed other corona built apps from the play store and they don’t prompt me that message.

Do I not need a live build for the play store?

Live builds are for development only --> they are called “live” because the changes to your code are reflected in real-time.

Final distribution to Play Store or App Store are not done with live builds.

thomas6,

yes this change did it, this is my first app and I wasn’t sure and figured i needed a live build for the play store so i left it checked live. Just building regularly with my key and after releasing an updated beta then the prompt was gone.

Thanks!, (still figuring things out, but its fun!)

We did say this weeks ago but hey… glad you sorted it