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 system cannot obtain AndroidID #2954

Closed
wants to merge 2 commits into from

Conversation

kang-breakfly
Copy link

Description

Aiming at the problem that some phones of the Android system cannot obtain AndroidID or the user reinstalls AndroidID after uninstalling, the plugin makes SPUtil local storage, which will first take the local storage value after uninstalling and reinstalling
For the IOS system, users will get a different UUID each time they uninstall and reinstall. The solution to this problem is to store the UUID obtained for the first time through the keychain.

Copy link

Hey there and thank you for opening this pull request! 👋🏼

We require pull request titles to follow the Conventional Commits specification and it looks like your proposed title needs to be adjusted.

Details:

No release type found in pull request title " Android system cannot obtain AndroidID". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit

@kang-breakfly
Copy link
Author

Aiming at the problem that some phones of the Android system cannot obtain AndroidID or the user reinstalls AndroidID after uninstalling, the plugin makes SPUtil local storage, which will first take the local storage value after uninstalling and reinstalling
For the IOS system, users will get a different UUID each time they uninstall and reinstall. The solution to this problem is to store the UUID obtained for the first time through the keychain.

@miquelbeltran
Copy link
Member

Android ID was removed on purpose: #918 please check that PR to learn why.

Besides, your PR contains unrelated code. I did not review it, but I want to assume good faith. In any case, I am closing this PR.

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

Successfully merging this pull request may close these issues.

2 participants