Search Issue Tracker

Fixed in Unity 2017.2

Votes

0

Found in

5.6.0f3

Issue ID

915891

Regression

No

[Android] ACCESS_FINE_LOCATION permission is included in the AndroidManifest.xml when it's not supposed to

Mobile

-

-

Priority: 4Not yet prioritized for a release

-

Severity: 2No workaround

Steps to reproduce:

1) Download attached project 'GPSAndroidTest56.zip' and open in Unity
2) In Build Settings, make sure Build System is set to ADT (Legacy)
3) Export 'Scene1'
4) Open the 'AndroidManifest.xml' file from the exported android project
You will see that ' <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />' permission is included in the build

Expected result: Using higher value than 500 meters should not require to turn GPS chip on
Actual result: Using higher value than 500 meters requires to turn GPS chip on (check attached image 'bug.png')

Reproduced with:
5.3.7p4, 5.4.5p2, 5.5.3p4, 5.6.1p1, 2017.1.0b7, 2017.2.0a1

--------------------------------------------------
Fixed in: 2017.3.0a1 and 2017.2.0b8
Note: 'Low Accuracy Location' option is added in the Player Settings

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.