googlevr / gvr-android-sdk

Google VR SDK for Android
http://developers.google.com/vr/android/
Other
3.28k stars 1.28k forks source link

v1.150.0 still requires 'READ_PHONE_STATE' #565

Closed kuanyingchou closed 6 years ago

kuanyingchou commented 6 years ago

Hi,

After using the library, our app started to require permission 'READ_PHONE_STATE'.

Our 'app/build/outputs/logs/manifest-merger-global-release-report.txt ' says that the permission is implied since 'com.google.vr.sdk.audio has a targetSdkVersion < 4'.

Maybe #71 is happening again?

sigmaxipi commented 6 years ago

It looks like this issue regressed between 1.80 & 1.90 of the SDK. We'll fix this in the next version of the SDK. But the workaround mentioned in #71 should also work if you modify the audio library's AndroidManifest.xml