Skip to content
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

Android Permission "Allow to make and manage phone calls" due to call to SystemInfo.deviceUniqueIdentifier #129

Open
turkenh opened this issue Jul 3, 2016 · 6 comments

Comments

@turkenh
Copy link

turkenh commented Jul 3, 2016

Using the plugin results for addition of the permission "Allow to make and manage phone calls" which is scary. A solution is needed.
It seems that this is a result of the call to SystemInfo.deviceUniqueIdentifier in the following line:

https://github.com/googleanalytics/google-analytics-plugin-for-unity/blob/master/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs#L62

@acrolink
Copy link

acrolink commented Jul 8, 2016

Looks like a bug to me that the Android team must address. I am getting the same scary warning "Allow to make and manage phone calls" when I need to access TelephonyManager to read the IMEI.

@Zamaroht
Copy link

Yes, I think this should be addressed. There was another issue about the same problem:
#15

There are other ways to get an unique identifier that don't require the READ_PHONE_STATE permission and could be used instead.

@turkenh
Copy link
Author

turkenh commented Sep 8, 2016

Any update here???

@miguel12345
Copy link

Hi,

So, I faced the same issue, and at first hand, I also thought this was a problem with Google Analytics. But if you look carefully, you can see that the entire GoogleAnalyticsMPV3.cs is essentially empty after macro processing due to the check made at https://github.com/googleanalytics/google-analytics-plugin-for-unity/blob/master/source/Plugins/GoogleAnalyticsV3/GoogleAnalyticsMPV3.cs#L30

So, in short, Google Analytics plugin SDK does not use SystemInfo.deviceUniqueIdentifier for android builds. You probably have an external party plugin that is using it. In our case, we had an external DLL that referenced SystemInfo.deviceUniqueIdentifier inside. After removing it, that permission was no longer present in the final manifest.

@AldoMaticDon
Copy link

I updated the biz snap app. And yes what the devil could they be up to. Will my phone be used as a Marketing device. ? I want to go back to the version that came with my phone.
Can a person clone their OS on a phone like we do when we clone a Hard drive with acronis. ?
They are putting organizations in a bind because this Biz Snap is part of workflows. Its a stick in the spokes. I would like to know how to

@megumin-firemage
Copy link

This is not code related but does pertain to the issue at hand:

This issue popped up when I removed egregious permissions from various apps on my tablet device. This tablet is not SIM equipped and only connects via WIFI, making traditional telephony unnecessary as it uses internet protocols. When attempting to use my camera just now, I was greeted with a message that I would have to enable my camera to Make and Manage phone calls... now wait one moment... Phone calls on a device that is not intended to be used as a phone is one thing, but a camera making and managing phone calls? That is a problem for me and for anyone who wonders just how invasive Google is getting with our devices. Google Play Services enables every basic permission by default. I have removed all permissions for that application and my Gmail application now greets me with a message that the app will not work properly unless I re-engage permissions for Google Play Services to access my contacts and my Phone... I have not had any issues using Gmail since revoking these permissions so I will continue use and simply ignore these messages. I can understand what Gmail would use contacts for, though revoking that permission has not impeded my ability to use the app. What Gmail would need access to my phone for is, again, beyond me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants