diff --git a/SampleProject~/Assets/Samples/01 - Context Screen/Scripts/ContextScreenManager.cs b/SampleProject~/Assets/Samples/01 - Context Screen/Scripts/ContextScreenManager.cs index 75d72df..e76e12c 100644 --- a/SampleProject~/Assets/Samples/01 - Context Screen/Scripts/ContextScreenManager.cs +++ b/SampleProject~/Assets/Samples/01 - Context Screen/Scripts/ContextScreenManager.cs @@ -22,8 +22,8 @@ void Start() #if UNITY_IOS // check with iOS to see if the user has accepted or declined tracking var status = ATTrackingStatusBinding.GetAuthorizationTrackingStatus(); - Version currentVersion = new Version(Device.systemVersion); - Version ios14 = new Version("14.5"); + Version ios14 = new Version("14.5"); + Version currentVersion = Application.isEditor ? ios14 : new Version(Device.systemVersion); if (status == ATTrackingStatusBinding.AuthorizationTrackingStatus.NOT_DETERMINED && currentVersion >= ios14) {