Skip to first unread message
Assigned to ewpa...@gmail.com by steve....@gmail.com

Youssef Mossoba

unread,
Jan 17, 2018, 11:41:49 PM1/17/18
to MIT App Inventor Forum
I wanted to Publish an Update of my APP "Weekday Date Calculator"  on Google Play and I have got this:

"WARNING Users that have the APK with version code 2 may need to accept the android.permission.WRITE_EXTERNAL_STORAGE permission, which may result in them not upgrading to this version of the app.

TIP Ensure that the new permissions are necessary, and consider mentioning these permissions in the What's new in this release text."


Question: How can I remove this Permission that I don't need. First my Upgrade is only on the interface, no change in the App's functions. Second, the calculation results are not saved (or stored) at all.


Thank you.

Chris Ward

unread,
Jan 18, 2018, 8:49:17 AM1/18/18
to MIT App Inventor Forum
Hello Youssef

Well, that smells of an App Inventor bug, it should not include permissions that the app does not use.

The only short-term fix I think would be to edit the Manifest file which is included in the .apk file.

Hossein Amerkashi wrote a desktop app that can be used to edit the Manifest file: AppToMarket.

Unfortunately the latest App Inventor release nb165 is not compatible with App2Market at the moment.

Evan Patton

unread,
Jan 18, 2018, 9:31:48 AM1/18/18
to MIT App Inventor Forum
Hi Youssef,

That depends on what you have changed. For example, updating an extension that you use for your interface might add new permissions. Adding other components might as well. For example, if you add a File component, then you will get the WRITE_EXTERNAL_STORAGE permission since File primarily operates on files stored on the sdcard (simulated or real).

If you share the AIA with us, it should be straightforward to tell you which component is causing the permission to be added.

Regards,
Evan

Youssef Mossoba

unread,
Jan 18, 2018, 6:48:01 PM1/18/18
to mitappinv...@googlegroups.com
Thank You Evan.

Juan Antonio

unread,
Jan 20, 2018, 4:29:40 PM1/20/18
to MIT App Inventor Forum
Hi Youssef,

I think Canvas1 needs WRITE_EXTERNAL_STORAGE.

If you need an animated gif, perhaps you can use this extension:

Boban Stojmenovic

unread,
Jan 20, 2018, 5:41:52 PM1/20/18
to MIT App Inventor Forum

Juan, you are absolutely correct regarding this and that's because of this..



/Boban

Youssef Mossoba

unread,
Jan 20, 2018, 5:57:41 PM1/20/18
to MIT App Inventor Forum
Thank you Boban.

Youssef Mossoba

unread,
Jan 20, 2018, 5:58:19 PM1/20/18
to MIT App Inventor Forum
Thank You Juan, Su respuesta es muy apreciada.

Youssef Mossoba

unread,
Jan 20, 2018, 5:59:12 PM1/20/18
to MIT App Inventor Forum
Thank you Chris.
Message has been deleted

Abraham Getzler

unread,
Jan 21, 2018, 1:18:09 PM1/21/18
to MIT App Inventor Forum
This sounds like AI2 is using the Component list to
generate the permissions, instead of a finer grained
list of blocks actually used?

ABG

Youssef Mossoba

unread,
Jan 21, 2018, 8:05:57 PM1/21/18
to MIT App Inventor Forum
Hey Abraham, Tks for your answer. Indeed I have been using List blocks. In the original version published in 2015, I had only one list and  now for the update I added 3 more lists. I bundled all DatePickers, Buttons and Labels in 3 lists in order to specify FontSize in % of the screen width. The reason is to make the App suitable to any size tablet or phone. 
For now, I decided to go ahead and publish the upgrade and provide an explanation in the store listing under "What's new".
Reply all
Reply to author
Forward
0 new messages