Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to know the login is normal mode or limited mode? #2424

Open
3 tasks done
phillip5094 opened this issue May 20, 2024 · 0 comments
Open
3 tasks done

How to know the login is normal mode or limited mode? #2424

phillip5094 opened this issue May 20, 2024 · 0 comments

Comments

@phillip5094
Copy link

Checklist before submitting a feature request

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant