Skip to content

mobile: initialize rustls provider before bridge startup#74

Open
saintmob wants to merge 1 commit intodnakov:mainfrom
saintmob:mobile-rustls-provider-init
Open

mobile: initialize rustls provider before bridge startup#74
saintmob wants to merge 1 commit intodnakov:mainfrom
saintmob:mobile-rustls-provider-init

Conversation

@saintmob
Copy link
Copy Markdown

@saintmob saintmob commented Apr 7, 2026

Summary

  • Install the process-wide rustls crypto provider from the shared mobile init path so iOS/Android bridge construction cannot hit the Rustls 0.23 provider panic.
  • Keep MobileClient::new() as a second line of defense.
  • Add the shared workspace dependency needed by the mobile Rust crate.

Verification

  • Rebuilt the iPhone target after the Rust init fix.
  • Confirmed the app launches successfully on a real iPhone.

Scope

  • This PR intentionally includes only the mobile Rustls startup fix.
  • It does not include unrelated local edits or the separate websocket token/logging follow-up.

Install the process-wide rustls crypto provider from the shared mobile init path so iOS/Android bridge construction can never hit the Rustls 0.23 provider panic before MobileClient is built. Keep the MobileClient::new() call as a second line of defense and add the workspace dependency needed by the shared mobile crate.
@saintmob
Copy link
Copy Markdown
Author

saintmob commented Apr 8, 2026

IMG_7822
IMG_7917

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