ATT popup not showing in a non-development build in iOS 18.1.1
Hello,
We've been using the package for over a year without any problem, however recently, after updating our devices to iOS 18.1.1 we discovered that the ATT popup doesn't show in our current and past store builds. What's interesting, when building the same revision with the same configuration but in development mode, the popup is there. The problem seems to regard only release builds on devices with iOS 18.1.1.
Cases:
- release build + iOS 14.2: popup OK
- development build + iOS 14.2: popup OK
- release build + iOS 18.1.1: NO popup
- development build + iOS 18.1.1: popup OK
We are using Unity 2022.3.39f1 and we have the NSUserTrackingUsageDescription entry in plist. The iOS Advertising Support package version is 1.2.0.
Any ideas, please?
Hi @lraszyk did you able to understand and find a fix of the issue ?
I found a trick to request the popup in Monobehaviour it works IEnumerator Start() { #if UNITY_IOS
yield return new WaitForSeconds(1.0f);
RequestTrackingAuthorization();
#endif }
before I tried to request in a method with [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]