GLBasic forum

Main forum => GLBasic - en => Topic started by: MrPlow on 2014-Aug-04

Title: AE question
Post by: MrPlow on 2014-Aug-04
Hi Guys,
Do I need to keep battery stats permission for in-app purchases only..?
Can I remove if I no longer use the in-app function?

I am trying to eliminate issues that might be causing some Samsung Galaxy Sx models problems installing my apps of late.
Title: Re: AE question
Post by: MrPlow on 2014-Aug-04
QuoteYou should not remove it. Its used in the OnCreate() function, and its does not check the permission is added or not, so its try to read the battery stats anyway. So its might crash, if you not set the permission. Im eventuelly fix that, so its can been disabled in a later AE.

The permission is used for reading battery stats, how much battery you have left on your phone (see PLATFORMINFO$, its a official command).

Thanks SF,
No problem, I will leave it be so.

Just wondered because AppBrain analysis said the permission was very rarely used among apps globally.
Title: Re: AE question
Post by: MrPlow on 2014-Oct-20
Noticed the new AE does not add battery_stats permission?

Should I keep it or remove it?
Title: Re: AE question
Post by: spacefractal on 2014-Oct-20
I'm thinks I'm fixed its, so it's you require it is you checks battery status. But that some time ago.
Title: Re: AE question
Post by: MrPlow on 2014-Oct-20
Great, I'll leave in current apps and take out of new ones.

:-)