+On recent versions of the iOS Accounts SDK, it has been observed that on backend server errors such as expired tokens, `getToken()` and `getMemberInfo()` methods are returning `TicketmasterFoundation.ConnectionError error...` instead of `null`. In these situations, if the user has previously logged in `isLoggedIn` from `useIgnite()` will be `true`, so if you don't want a logged out state for your UI, `isLoggedIn` is a good variable to use to control the logged in UI state of any ticket screens, it also works well in `useEffect` dep arrays. `await getIsLoggedIn()` is good to call directly after methods like `await login()` or `await refreshToken()` to check/retrieve a boolean which states if the user is logged in which can be used for your own custom variables or conditions in your business logic.
0 commit comments