PhilipsHueSDK-Java-MultiPlatform-Android icon indicating copy to clipboard operation
PhilipsHueSDK-Java-MultiPlatform-Android copied to clipboard

Please remove Android Permission GET_TASKS dependency

Open StefanRademakers opened this issue 9 years ago • 1 comments

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

StefanRademakers avatar Nov 11 '15 09:11 StefanRademakers

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

SteveyO avatar Nov 11 '15 14:11 SteveyO