You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 20, 2025. It is now read-only.
and that triggers Google's static code analysis warning looking like that:
SPLIT_BUNDLE [VERSION_CODE]: Policy Declaration - Data Safety Section: Device Or Other IDs Data Type - Device Or Other IDs (some common examples may include Advertising ID, Android ID, IMEI, BSSID, MAC address)
which leads to automatic build rejection.
Why is ANDROID_ID used? Is it possible to replace with something else or make it optional?
What would happen if we replace it with static string like "no-android-id" via patch-package — would it break any functionality?
Environment
react-native-code-push version: ours is 7.0.4, but that code is still the same in master, it will trigger the same warning.
react-native version: 0.68.5
iOS/Android/Windows version: N/A
Does this reproduce on a debug build or release build? Release build
Does this reproduce on a simulator, or only on a physical device? N/A
Related issues are #2327 and #2297, but they are closed while the issue is still active.