Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.
This repository was archived by the owner on May 20, 2025. It is now read-only.

"ANDROID_ID " not compliant with Huawei App market Policies #2327

@zhuminjunivan

Description

@zhuminjunivan

I found that there is a way to get ANDROID_ID in the CodePushNativeModule method, CodePushNativeModule will be called when it is initialized. It is against the user's privacy policy to obtain ANDROID_ID without the user's consent when the app is opened.
image
(

mClientUniqueId = Settings.Secure.getString(reactContext.getContentResolver(), Settings.Secure.ANDROID_ID);
)

And mClientUniqueId is only used in the getConfiguration method, so I recommend getting ANDROID_ID when using it.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions