Skip to content

chore: Breez SDK validation#3752

Draft
grimen wants to merge 4 commits intomainfrom
chore--breez-sdk-validation
Draft

chore: Breez SDK validation#3752
grimen wants to merge 4 commits intomainfrom
chore--breez-sdk-validation

Conversation

@grimen
Copy link
Copy Markdown
Contributor

@grimen grimen commented Apr 7, 2026

This pull request introduces a new "Breez SDK Demo" feature to the app, enabling developers to interactively test and debug Breez SDK Spark wallet functionality from within the app's UI. This includes a new demo screen, navigation updates, and a suite of utility methods for wallet operations, payments, deposits, events, and stable balance management. Additionally, the new React Native architecture is enabled for Android builds.

Breez SDK Demo Feature:

  • Added a new screen BreezSdkDemoScreen with UI to run and display results from various Breez SDK methods, including wallet info, payments, deposits, events, and stable balance operations. (app/screens/breez-sdk-demo/breez-sdk-demo-screen.tsx)
  • Implemented a client module to manage Breez SDK instance lifecycle and configuration, including stable balance token support. (app/screens/breez-sdk-demo/client.ts)

Wallet, Payments, and Stable Balance Methods:

  • Added a comprehensive set of async utility methods for Breez SDK operations: wallet info, payment listing, invoice creation, payment preparation/sending (Lightning, on-chain, Spark), deposit management, event subscription, user settings, and stable balance activation/conversion. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Navigation and Type Updates:

  • Integrated the new demo screen into the navigation stack and route types. (app/navigation/root-navigator.tsx, app/navigation/stack-param-lists.ts) [1] [2] [3]

Build Configuration:

  • Enabled the new React Native architecture for Android by setting newArchEnabled=true in gradle.properties. (android/gradle.properties)

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.

2 participants