admob-plus / admob-plus

Trustable AdMob Plugin for Cordova, Capacitor, Ionic, React Native
https://admob-plus.github.io
MIT License
360 stars 150 forks source link

IOS 17: App Tracking Transparency permission request was not found #622

Open PlutoniumBytes opened 7 months ago

PlutoniumBytes commented 7 months ago

Hello.

the last IOS apps we recently submitted to Apple for review were rejected because the App Tracking Transparency permission request was not found.

"We're looking forward to completing our review, but we need more information to continue. Your app uses the AppTrackingTransparency framework, but we are unable to locate the App Tracking Transparency permission request when reviewed on iOS 17.1."

This request is displayed directly when the app is launched and has worked so far, but we only have test devices with IOS 15. Unfortunately, my Mac is also too old to install the latest XCode.

Does the plugin need to be updated for IOS 17 or is the Mac simply too old to build the apps?

pw-repo commented 7 months ago

Hello. Few days ago we received the same reject from Apple. But it works with all IOS versions, but on IOS 17 sometimes it doesn't work. We are using this plugin for IOS https://github.com/chemerisuk/cordova-plugin-idfa

Also found the similar issue with flutter, also IOS 17. https://developer.apple.com/forums/thread/737762

Also more here: https://github.com/deniza/app_tracking_transparency/issues/47

Seems there are some changes in IOS 17, and plugins are not working correctly.

duepuntotre commented 7 months ago

For me no problem: yesterday Apple accepted my last submission.

I did as described here: https://admob-plus.github.io/docs/cordova/consent

PlutoniumBytes commented 7 months ago

Hi,

i was showing the consent form right at the start of the app. Adding a small delay of one second seems to do the trick

cpuell commented 5 months ago

Seems like that happen when the testflight info screens are showing at the beginning. It somehow makes the ATT dialog disappear.

kalinskilk commented 5 months ago

I'm facing the same problem, in my case in version 17.1 it doesn't show the notification. I added a one second delay but it didn't work

cpuell commented 5 months ago

I added a info screen and user will click a button to make the dialog appear. It seems to be an bigger issue with iOS 17.x especially on iPad.

kalinskilk commented 5 months ago

I fixed this issue by removing and adding the ios platform. Taking care not to erase your icons and splash.

However, Apple did not accept my app, claiming that I would have to inform when the tracking was requested. I added the following text to the release notes:

"The request to collect the data used for tracking is requested on the [your screen where you request] screen. Entering the page takes about a few milliseconds. Please also check whether tracking permission is enabled. Check: Settings >> Privacy and Security >> Tracking >> Allow Requests"

After that they accepted my publication