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

feat: ios backup client state event #206

Merged
merged 2 commits into from
Jan 31, 2024
Merged

feat: ios backup client state event #206

merged 2 commits into from
Jan 31, 2024

Conversation

Jasonvdb
Copy link
Collaborator

New RN event for monitoring backup client state.
Optional failure fields are included for temporary soft fails, BackupClient will continue to retry on it's own.

ldk.onEvent(EEventTypes.backup_state_update, (res: TBackupStateUpdate) => {
 //file: {
 //   lastQueued: number;
 //   lastPersisted?: number;
 //   lastFailed?: number;
 //   lastErrorMessage?: string;
 //}
}

simulator_screenshot_459C5F25-769D-4C1F-83A1-F0D144A7CA0C
Simulator Screenshot - iPhone 15 - 2024-01-30 at 12 29 58

@Jasonvdb Jasonvdb marked this pull request as ready for review January 31, 2024 10:55
@Jasonvdb Jasonvdb merged commit d970b9b into master Jan 31, 2024
2 of 6 checks passed
@Jasonvdb Jasonvdb deleted the backup-state-event branch January 31, 2024 13:01
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.

3 participants