[SWIFT] Tracking Authorization Status memo on iOS 14

environment

conditions

  1. Device: Settings> Privacy> Tracking> Allow tracking requests from App IMG_9760666317E9-1.jpeg
  2. App: Tracking Request Dialog IMG_2264.PNG

Tracking request movement

Terminal Tracking request App status
Permit Not yet - notDetermined
Already Permit authorized
Reject denied
Reject Not yet - denied
Already Permit denied
Reject denied

As expected. If you change the device setting from deny to allow without issuing a tracking request, it will return to not Determined properly.

Movement after allowing tracking request

If you deny the device settings after allowing the tracking request in the app, this dialog will appear No dialog if you have not requested or rejected the tracking request IMG_729819AB963E-1.jpeg

When I selected "Allow the app to continue tracking", it was such a screen, so I wondered if I could get it even if I refused it on the terminal, but that was not the case. IMG_6D17ED26E52E-1.jpeg

When you redisplay it, it is turned off properly. IMG_8F6BE63E2509-1.jpeg

It seems that the status at the time of re-permission is left as it is in the terminal settings

dialog status Status at the time of re-permission in the terminal settings
Allow the app to continue tracking denied authorized
"Request App to stop tracking" denied denied

Movement of tracking request when terminal is rejected

Also, if you make a tracking request at the time of refusal on the terminal, denied will be set and it will remain denied even if you return the terminal setting to allow. If no tracking request has been issued, it will return to notDetermined.

When the terminal is rejected

Tracking request status Status after changing to terminal permission
Not yet denied notDetermined
Already denied denied

Recommended Posts

Tracking Authorization Status memo on iOS 14
PH Authorization Status for iOS 14 or later
[IOS] canOpenURL becomes false on iOS14
ATDD development on iOS (basic)