Android privacy
Third-party SDK privacy review
Most Android apps ship a dozen SDKs. Each one can add permissions, collect identifiers and send data before the user has agreed to anything.
Why SDKs need their own review
An SDK runs with your app's permissions and identity. Its data collection becomes your responsibility in privacy laws, in the Google Play Data safety section and in your privacy policy. MASVS-PRIVACY asks that apps minimize data collection, are transparent about it and give users control.
Build the inventory
- List SDKs from the decompiled package names and the build files when you have source access.
- Diff the merged manifest against your own: SDKs add permissions, services, receivers and providers.
- Note which SDKs read identifiers such as the advertising ID; apps targeting Android 13 or later must declare the
AD_IDpermission to read it. - Record where each SDK is initialized: in
Application.onCreate, through a content provider that runs at startup, or after consent.
Observe the traffic
With an intercepting proxy on an authorized test device, start the app from a fresh install and do nothing. Record every host contacted before the consent screen is answered. Then decline consent and repeat. Requests to analytics or advertising hosts carrying device identifiers before consent, or after a refusal, are the most common finding.
Certificate pinning in some SDKs may hide traffic; record that as a coverage gap. See the certificate pinning guide.
Compare with disclosures
| Source | Compare against |
|---|---|
| Observed traffic | Data types listed in the Play Data safety section and the privacy policy. |
| Added permissions | Features the app actually offers; remove permissions only an unused SDK feature needs. |
| Initialization order | The consent flow: nothing optional should start before the user decides. |
| SDK settings | Documented options to disable advertising ID collection, IP storage or automatic event tracking. |
Fix and report
Delay SDK initialization until consent, disable automatic collection you do not need, remove unused SDKs and the permissions they add, and update disclosures to match what is sent. Report the SDK, the host, the data observed and whether consent had been given. Hardcoded SDK keys are discussed in the API keys post.