Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug ads.ios-support package not firing native modal

Discussion in 'Unity Ads & User Acquisition' started by enhawk, Dec 6, 2021.

  1. enhawk

    enhawk

    Joined:
    Aug 22, 2013
    Posts:
    833
    I added ios-support to a scene, first dialogue comes up (unity ui) - tapping the button closes this, then nothing happens. No native modal appears.

    Expected behaviour is that a system modal should appear asking for tracking permission?

    Also the documentation says install from github... is this still the case? I'm using the one from package manager.

    Unity 2019.4.31f1
    ios 14 advertising support 1.2.0
    ios 14.6 device

    Heres the output from xcode:
    Code (CSharp):
    1. Unity iOS Support: Requesting iOS App Tracking Transparency native dialog.
    2. Unity.Advertisement.IosSupport.Components.ContextScreenView:RequestAuthorizationTracking()
    3. UnityEngine.Events.UnityAction:Invoke()
    4. UnityEngine.Events.UnityEvent:Invoke()
    5. UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
    6. UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
    7. UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
    8. UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
    9. UnityEngine.EventSystems.StandaloneInputModule:Process()
    10. (Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 39)
    11.  
    12. Tracking status received: 0
    13. Unity.Advertisement.IosSupport.Components.ContextScreenView:AuthorizationTrackingReceived(Int32)
    14. Unity.Advertisement.IosSupport.RequestAuthorizationTrackingCompleteHandler:Invoke(Int32)
    15. Unity.Advertisement.IosSupport.ATTrackingStatusBinding:AppTransparencyTrackingRequestCompleted(Int32)
    16. Unity.Advertisement.IosSupport.Components.ContextScreenView:RequestAuthorizationTracking()
    17. UnityEngine.Events.UnityAction:Invoke()
    18. UnityEngine.Events.UnityEvent:Invoke()
    19. UnityEngine.EventSystems.EventFunction`1:Invoke(T1, BaseEventData)
    20. UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1)
    21. UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchPress(PointerEventData, Boolean, Boolean)
    22. UnityEngine.EventSystems.StandaloneInputModule:ProcessTouchEvents()
    23. UnityEngine.EventSystems.StandaloneInputModule:Process()
     
    pokruchin likes this.