App rejected by App Store on Kids Category because of presence of code collecting analytics or ads

I am facing a problem with Apple’s App Store rejecting my Kids Category app due to the presence of code to serve ads, collect analytics or personal information, even though I don’t serve any ads or collect any information, nor added any SDK that could do that in my app. The rejection description doesn’t inform me which SDK is causing the problem.

This is a very similar problem to the one in Android explained here (which has no solution without ejecting the app).

I am using Expo 39 and building the app bundle using the managed workflow.
It wasn’t an issue when I launched my app (it was an issue in Play Store), but now that I need to do an important update (just changing a few images) it is being rejected.

Is there anyone that I can remove all unused SDKs that might be causing the issue in my managed workflow build of iOS?

The rejection:

Guideline 1.3 - Safety - Kids Category

We noticed that your Kids Category app includes analytics, advertising and collects, transmits, or has the ability to share personal information or device information with third parties.

Your app includes the following feature(s), contrary to guideline 1.3 of the App Store Review Guidelines:

Next Steps
To resolve this issue, please remove this functionality or revise your app so that no

Appreciate any help!
thanks!

Hi @deltasoneca, sorry about this, but the thread you linked pretty much contains all the information we have about this topic already. There’s no way to remove specific SDKs from your app in the managed workflow right now, although it’s something we’re working on and hope to have a beta for soon.

We do document this limitation for the managed workflow- https://docs.expo.io/introduction/why-not-expo/:smile:

Both Apple and Google provide strict guidelines for any apps that specifically target children under a particular age. One of these guidelines states that certain ad libraries, such as Facebook’s Audience Network, cannot be used in the app. Since managed workflow apps contain code for the entire Expo SDK by default, including Facebook’s Audience Network library, you cannot list your app as “designed primarily for children under 13” in the App Store or Play Store, even though this code is never run unless you explicitly call it .

You can continue to use the managed workflow for all your development, but when it comes time to build your app files for the stores, you should run expo eject and build natively with Xcode and Android Studio. We’re working on letting you customize exactly what libraries are included in your managed workflow projects, so thank you for your patience in the meantime!