-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v9.2.0 adds unnecessary permissions in manifest #3510
Comments
Same issue. |
I was unable to replicate this issue. The Hello world app had the following permissions.
Could this be a separate dependency? |
I also mentioned in the original post about the "manifest-merger-release-report.txt" file, which states the reason behind this. As you can see in the report, "reason: com.google.unity.ads has a targetSdkVersion < 4". It means it is coming from "com.google.unity.ads". I don't have any other plugin beside admob in my app. If it is not happening because of admob, then why does the report states the reason coming from com.google.unity.ads? |
Thanks, I will take a deeper look into this issue and I will get back to you shortly. |
I use Unity 2021.3.39f1 and this problem does not occur. After updating to Unity 2021.3.43f1 this problem occurs in this version of the plugin and also in previous ones, such as GoogleMobileAds-v9.1.0 and GoogleMobileAds-v9.0.0. I had to go back to the old version of Unity. Apparently there is some problem between the plugin and recent versions of Unity. |
im also seeing this. didn't start happening until i added "Google Mobile Ads for Unity" for the first time Unity 2022.3.46f1 |
@AndrewShields Thanks for letting me know about the duplication. Environment
READ_PHONE_STATE / READ_EXTERNAL_STORAGEIt may contain libraries for which you have not specified a version.
Solving temporary problemsI added the following to <uses-permission android:name="android.permission.READ_PHONE_STATE" tools:node="remove" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" tools:node="remove" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" /> |
The issue related to the extra permissions has been identified and will be fixed in the next release. Thanks for the report! |
[REQUIRED] Step 1: Describe your environment
[REQUIRED] Step 2: Describe the problem
Steps to reproduce:
AdMob plugin latest version 9.2.0 adds unnecessary permissions (mentioned below), these were never added in the past. Users complain if new permissions are added. Why are these added now? Are these required by the plugin?
I looked in the "manifest-merger-release-report.txt" file and this is the reason mentioned there, please take a look, please fix this issue. I don't want these weird permissions added.
The text was updated successfully, but these errors were encountered: