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

Your app is using the Advertising Identifier (IDFA). You must either provide details about the IDFA usage or remove it from the app and submit your binary again. #1138

Closed
asgeo1 opened this Issue Dec 20, 2017 · 7 comments

Comments

Projects
None yet
5 participants
@asgeo1
Copy link
Contributor

asgeo1 commented Dec 20, 2017

I'm getting that message when trying to submit my Expo app (ejected, expokit 2.1.4)

The AdSupport.framework is present in the XCode project, but really shouldn't be included in Expo apps by default.

Like what you did with Stripe payments, anything advertising related needs to be optional, otherwise you get rejected if your app doesn't actually display ads.

Anyway, I tried deleting AdSupport.framework from the project and rebuild and submitted, and I still get the error.

It's hard to know what is referencing it - there are a ton of Pods included in a default project. Most of them I'm not even using... (i.e. all the facebook and google ones, they should be optional too)

Any ideas?

@asgeo1

This comment has been minimized.

Copy link
Contributor Author

asgeo1 commented Dec 20, 2017

Hmm, after more googling I noticed this: https://segment.com/docs/sources/mobile/ios/quickstart/#step-5-submitting-to-the-app-store

And it says to say "yes" the app uses the IDFA... OK, no worries, I'll try that.

@asgeo1 asgeo1 closed this Dec 20, 2017

@terribleben

This comment has been minimized.

Copy link
Contributor

terribleben commented Dec 20, 2017

Hey there - we also have a note about it in our docs. Hope that helps.

@peferb

This comment has been minimized.

Copy link

peferb commented Jan 16, 2018

What do Expo use Segment for?

@timarney

This comment has been minimized.

Copy link

timarney commented Mar 26, 2018

Can someone explain the note in the docs as to why?

Apple will ask you whether your app uses the IDFA. Because Expo depends on Segment Analytics, the answer is yes

More information is needed to provide to clients.

Also need to be able to answer these questions correctly

This app uses the Advertising Identifier to (select all that apply):

  • Serve advertisements within the app
  • Attribute this app installation to a previously served advertisement
  • Attribute an action taken within this app to a previously served advertisement
@terribleben

This comment has been minimized.

Copy link
Contributor

terribleben commented Mar 29, 2018

Expo apps depend on Segment because the Expo SDK contains Segment. Expo (the company) doesn't use it for anything right now. It's just available for you to use.

@timarney: there's a link in the docs to Segment's guide for which boxes to check.

You may ask, "why does my app contain Expo's Segment API if I don't use that API?" All Expo apps (at time of writing) contain the whole Expo SDK, which is how we offer all of our APIs without requiring you to touch native code. It's on our roadmap to offer a more advanced option to customize the native libraries that ship with your app. At that point, it will be possible to, for example, omit Segment if you don't want it.

Hope this information is useful.

(and if you're reading this answer months after I wrote it, you might consider giving our docs another look to see if we support that type of customizable build by now.)

@timarney

This comment has been minimized.

Copy link

timarney commented Mar 29, 2018

@terribleben thanks for the response + additional information.

I had some added confusion as the Segment website was down and still is (3 days later) https://segment.com so I didn't have any information on the topic.

Found an archived link from expo chat here: https://web.archive.org/web/20170711101650/https://segment.com/docs/sources/mobile/ios/quickstart so I knew what boxes to check.

@squatto

This comment has been minimized.

Copy link

squatto commented Sep 11, 2018

This is what is on the archive link above from @timarney:


Step 5: Submitting to the App Store

When you submit to the app store, be aware that Segment collects the IDFA for use in doing mobile install attribution with integrations like Mobile App Tracking. Even if you’re not currently doing mobile install attribution, if you get asked, “Does this app use the Advertising Identifier (IDFA)?” on this page, you’ll want to check the following three boxes:

  1. “Attribute this app installation to a previously served advertisement”
  2. “Attribute an action taken within this app to a previously served advertisement”
  3. “I, YOUR_NAME, confirm that this app, and any third party…”

Note, you should not check the box labeled “Serve advertisements within the app” unless you are actually going to display ads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment