How to know the login is normal mode or limited mode?
phillip5094 opened this issue · comments
Checklist before submitting a feature request
- I've updated to the latest released version of the SDK
- I've searched for existing Github issues
- I've read the Code of Conduct
Goals
I want to know how I can determine whether it is a 'limited login' or a 'normal login'.
Expected results
In LoginConfiguration
, we have set the tracking
value to .enable
.
We initially planned to determine limited login mode simply when it is not ATTrackingManagerAuthorizationStatus.authorized
, but we discovered an exception.
(On iOS 14.5, even when App Tracking was denied, the login proceeded in normal login mode instead of limited login mode.)
Whether it is normal login or limited login, since both AccessToken.current.tokenString
and AuthenticationToken.current.tokenString
are not null, it is difficult to determine based on tokenString.
Please provide a method to easily check whether the login is limited login or normal login after the login success callback.
Code samples & details
No response