App Store privacy answers
When you submit an app that uses @apex-inc/capacitor-plugin, App Store Connect asks what data the app collects and whether it's used to track people. This page gives the answers for the plugin (2.9.0 and later) and explains what happens when someone taps "Ask App Not to Track".
What the plugin declares for you
The plugin ships a privacy manifest. Xcode merges it into your app's privacy report when you archive, so you can check every line below in Xcode's report before you answer.
| Data | Linked to the person | Used for tracking | Why |
|---|---|---|---|
| Device ID (the advertising ID, only after a yes) | Yes | Yes | Third-party advertising, analytics |
| Product interaction (screens, app events) | Yes | Yes | Analytics, third-party advertising |
| Purchase history (in-app purchases) | Yes | Yes | Analytics, third-party advertising |
The manifest also lists one tracking domain, track.apex.inc. Events that carry the advertising ID go there. iOS blocks that address for anyone who hasn't allowed tracking, so the advertising ID can't leave the phone without a yes.
Your answers in App Store Connect
Answer Yes, we collect data, then add these types.
| App Store Connect type | Linked | Tracking | Purposes |
|---|---|---|---|
| Identifiers → Device ID | Yes | Yes | Third-party advertising, Analytics |
| Usage Data → Product Interaction | Yes | Yes | Analytics, Third-party advertising |
| Purchases → Purchase History | Yes | Yes | Analytics, Third-party advertising |
| Contact Info → Email Address | Yes | Yes | Analytics, Third-party advertising |
| Contact Info → Phone Number | Yes | Yes | Analytics, Third-party advertising |
Add the email and phone rows only if your app passes them to Apex when someone signs in (Apex.identify). They are used for tracking only for people who allowed it: Apex sends them, scrambled, to the ad networks you connected so the network can match the sale to its ad. Apple's form asks whether the data is used for tracking at all, so the answer is Yes.
Add your own rows for anything else your app collects. These answers cover only what Apex collects.
Ask before tracking
Because the plugin declares tracking, your app needs Apple's tracking prompt. Add NSUserTrackingUsageDescription to Info.plist with a sentence in your own words, then ask at a moment that makes sense in your app:
const { status } = await Apex.requestTrackingAuthorization();
Apple reviews the wording. Say what the person gets ("so the ads you see are for things you like"), not what Apex does.
What happens after "Ask App Not to Track"
- The advertising ID stays on the phone. Events go to
app.apex.inc, which isn't a tracking domain, without it. - You still see your own numbers. Installs, sessions, purchases, sign-in credit and partner codes all keep working. Joining someone's sign-in on your website to the same person in your app is your own business's data, not tracking, so Apple's rules allow it.
- Ad networks hear only that something happened. Meta gets the install or purchase with tracking marked off and nothing that says who the person is: no email, phone, address, device ID or ad click. That's the same as Meta's own SDK sends after a no. No other ad network gets anything for that person.
- Apple Ads keeps working. Apple credits its own ads through its attribution API, which Apple allows without asking.
Partner credit doesn't depend on the answer either. A partner's code typed in the app, or a sign-in that matches someone who came through a partner's link, credits the partner with or without tracking.
If you use your own address
If you point the plugin at your own server with apiUrl, every event goes there, including the ones that carry the advertising ID. List your own tracking address in your app's privacy manifest and answer the form the same way.