App rejected because of App Tracking Transparency on WebView

I'm working on an app made in React Native with Expo.

It uses a web view to show the site in the app.

Everything worked well, but when I submitted my app to the App Store, it got rejected.

The mail said:

We noticed you collect data to track after the user selects "Ask App Not to Track" on the App Tracking Transparency permission request.

Specifically, we noticed your app accesses web content you own and collects cookies for tracking after the user asked you not to track them.

After that, using the https://docs.expo.dev/versions/latest/sdk/tracking-transparency/, I added a permission request to track data.

If the user doesn't accept it, I disable third party cookies on the web view.

After submitting again to the App Store, I got the exact same message.

I don't know what to do, because I can't control the site, and I'm limited to the React Native web view props

Maybe, I could enable incognito mode if the user doesn't want the app to track, but I'm not sure if this will be accepted too.

Thanks in advance

Did you manage to get an answer to this? Facing the same problem here - a webview showing content owned by the same company as the app and which has a legally required cookie panel that allows users to opt out on the webview. Apple say that we have to ask the user to opt in/out before showing the webview cookie panel opt in/out.

Did you solve that problem? I have the same one, I've implemented ATT with expo, but Apple continue rejecting de app...

The thirdPartyCookiesEnabled feature on the WebView is for Android only so it doesn't help with ATT. You will have to inject javascript to the webview to block third party cookies.

App rejected because of App Tracking Transparency on WebView
 
 
Q