PoseEstimationForMobile icon indicating copy to clipboard operation
PoseEstimationForMobile copied to clipboard

Permission while running the app

Open koreney opened this issue 7 years ago • 2 comments

Hi I installed the apk on xiaomi mi 5s. When running the app I see it requests the READ_PHONE_STATE permission. Looking through the code, I didn't find the exact location where it is requested. I'm trying to figure out why it is required and if it is a must, since this permission exposes sensitive information like the phone IMEI and IMSI.

Thanks in advance

koreney avatar Dec 05 '18 06:12 koreney

It only request camera permission when i re-install the app. 😁

edvardHua avatar Dec 10 '18 03:12 edvardHua

Thank you for responding. The problem seems to be in my build environment and relates to Android SDK versions. I found the answer in the following article: https://stackoverflow.com/questions/39668549/why-has-the-read-phone-state-permission-been-added

Fixed it by adding the following to the AndroidManifest.xml:

<manifest ... xmlns:tools="http://schemas.android.com/tools" ... >

Thanks again for you great work.

koreney avatar Dec 11 '18 19:12 koreney