Open dcannizzaro opened 5 years ago
Closing as this issue is missing key information to help us reproduce it.
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use: adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
I was troubled with the same phenomenon.
However, by editing arcore_unity.aar and adding targetSdkVersion and minSdkVersion to androidManifest.xml, I was able to remove READ_PHONE_STATE. Thank you.
The only way to reproduce is to build the sample attached to ARCore 1.6.0 for Android.
Reopening after verifying that READ_PHONE_STATE
is being added to the final manifest when it should not be. Agreed that this is due to missing android:minSdkVersion
declaration.
We hope to fix this as part of the 1.8.0 release.
The lack of min SDK in the androidManifest.xml of the arcore_unity.aar file seems to cause an unnecessary "android.permission.READ_PHONE_STATE" to be added to the merged manifest on build.