PhilipsHue / PhilipsHueSDK-Java-MultiPlatform-Android

The Software Development Kit for Philips Hue Java Mulfi-Platform and Android (beta)
273 stars 214 forks source link

Please remove Android Permission GET_TASKS dependency #25

Open StefanRademakers opened 8 years ago

StefanRademakers commented 8 years ago

Using the Android permission GET_TASKS in an Android app,
triggers the following permission request while installing the app:

* Device & app history. * Allows the app to view one or more of: * information about activity on the * device, which apps are running, \ browsing history and bookmarks.

Users get suspicious about what the app does with this personal information. I looked at the code and I don't see why we would need this permission request.

If it is used with activity intents to handle the back stack, couldn't this be solved with an: android:noHistory="true" attribute in the AndroidManifest?

Hope you can work around this permission.

Best Regards, Stefan

SteveyO commented 8 years ago

Hi Stefan,

Thanks for highlighting this. It was a long time ago since I wrote the QuickStart app and I honestly can't remember why this line is included. I just tested the QuickStart app and to me it functions exactly the same without the GET_TASKS permission so I have just removed it. Am all in favour of reducing unwanted permissions.

I will have another look at the noHistory option soon, as the way I currently handle the Back Stack is not the prettiest.

Thanks Steve