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

[Request]: Should add Android id again #972

Closed
IMWaqasFarooq opened this issue Jul 20, 2022 · 7 comments
Closed

[Request]: Should add Android id again #972

IMWaqasFarooq opened this issue Jul 20, 2022 · 7 comments
Labels
device_info_plus duplicate This issue or pull request already exists enhancement New feature or request

Comments

@IMWaqasFarooq
Copy link

Plugin

device_info_plus

Use case

we need android id to keep records of the device, in an earlier version of your package it's there, but now you remove it by saying to avoid violating the google play policiy.
I didn't understand hows it is a violation of google play policies, I am aware that google updated their policies, but it is for applications when we upload it on the play store, and there we have to give a reason why we are getting Android id and then google allow us for it, I am doing this for my native application. hows it links with your library?

Proposal

Please update your library and add this feature again it's much a needed feature for developers. , because google play policies violation is for developers who are uploading their application on the play store and not telling them a valid reason for it

@IMWaqasFarooq IMWaqasFarooq added enhancement New feature or request triage labels Jul 20, 2022
@javaherisaber
Copy link

@IMWaqasFarooq
I couldn't find any indication of policy related subject regarding Android-ID in Google play's policy updates
https://support.google.com/googleplay/android-developer/answer/11995078#user_data_preview

Can you send me a link to your reference on this policy violation?

@ksheremet
Copy link

@javaherisaber

Can you send me a link to your reference on this policy violation?

It is not a policy, but I've found the original issue: #824

@utkudenis
Copy link

Hello there,
We are selling an affordable package for new members within the app. We were controlling this with the device id so that new accounts would not be opened and taken from the same device. We can't do this right now, do you have any suggestions?

We explained that we got the device id information in the play store and why we got it, and it was accepted.

@vbuberen
Copy link
Collaborator

Replied in the original issue about removing the AndroidId: #824 (comment)

@vbuberen vbuberen added duplicate This issue or pull request already exists device_info_plus and removed triage labels Jul 29, 2022
@nohli
Copy link
Member

nohli commented Aug 6, 2022

A new plugin for getting the Android ID is published 🙂

@nohli nohli closed this as completed Aug 6, 2022
@TreyThomas93
Copy link

@nohli Why was there a need for another plugin?

@fluttercommunity fluttercommunity locked and limited conversation to collaborators Oct 23, 2022
@miquelbeltran
Copy link
Member

Sorry, locking the thread, as commenters should read the original issue #824 before asking the same question over and over.

First and foremost, Google discourages the use of the ANDROID_ID: (Avoid using hardware identifiers.)
https://developer.android.com/training/articles/user-data-ids

Secondly, since Android 8.0, the ANDROID_ID is generated for each app, making it not possible for app developers to use it to track across different apps, giving a misleading value if you pretend to use it for user tracking.
https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID

Finally, when reading the android_id in native code, Android Studio will warn you to instead use less confidential IDs like the Advertising ID or a custom instant ID.

IMO, if you are using android_id in your code, you are probably using it wrong.

We decided that providing this value bundled with all the other device info by default was an unnecessary privacy issue, and that's why it was decided that the android_id should be moved to a separated plugin. Many developers use device_info_plus for other reasons than obtaining hardware identifiers, and we specially want to avoid issues when submitting apps to Google Play like the users in #824

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
device_info_plus duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

8 participants