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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add onLogoutPreviousUserFailed delegate to the IterableAuthDelegate #671

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

woosiki-prestolabs
Copy link

馃敼 Jira Ticket(s)

I can not make Jira ticket for this because I don't have permission to access Jira.

鉁忥笍 Description

I am a iOS software engineer at PrestoLabs and was asked by Daryl Greaves to make a PR what I requested specifications.
I requested the specifications below but I only made this PR for 3rd one.

  1. Can I use disableDeviceForAllUsers when I set autoPushRegistration as true?
  • I got a response that I can use disableDeviceForAllUsers.
  1. Could you make a patch that retry register api when it failed by network error?
  • I found a onFailure callback when register api was failed.
  • IterableAPI.register(token: Data, , onSuccess: OnSuccessHandler? = nil, onFailure: OnFailureHandler? = nil)
  1. Could you make a patch that notify when unregister device failed by 401 error?

@woosiki-prestolabs
Copy link
Author

woosiki-prestolabs commented Aug 30, 2023

I have a question about function of disableDeviceForAllUsers.
I call this when jwt token already disabled, but it still fail as {"msg":"JWT Authorization header is not set","code":"BadAuthorizationHeader","params":null}.
Did you know how I can disable device for all users when user already logged out?
釀夅叧釀忈叧釀呩叺釂剦釁a喓 2023-08-30 釀嬦叐釀掅叜 5 55 12

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

Successfully merging this pull request may close these issues.

None yet

1 participant