Skip to content

android-cpp/cpp-tui: add example of using new Ditto initializers in v4.12 #94

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

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kristopherjohnson
Copy link
Collaborator

@kristopherjohnson kristopherjohnson commented Jul 22, 2025

This updates the C++ init_ditto() function such that it uses the new Ditto::open() API along with DittoConfig and Authenticator::set_expiration_handler() instead of the Ditto constructor and Identity class.

These new APIs will be available with version 4.12 of the Ditto C++ SDK, which has not yet been released.

Note: 4.12.0-preview.1 does not contain the new API. It will be available in 4.12.0-preview.2.

@kristopherjohnson kristopherjohnson self-assigned this Jul 22, 2025
@kristopherjohnson kristopherjohnson changed the title android-cpp: add example of using new Ditto initializers in v4.12 android-cpp/cpp-tui: add example of using new Ditto initializers in v4.12 Jul 24, 2025
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.

1 participant