Skip to content

Commit

Permalink
Merge pull request #9031 from LedgerHQ/support/lld-send-app-version-t…
Browse files Browse the repository at this point in the history
…o-braze-for-tracked-users

🧐  LLD - Send app version to Braze SDK
  • Loading branch information
cgrellard-ledger authored Jan 28, 2025
2 parents 41b153a + f130fee commit 71ab278
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/stale-books-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"ledger-live-desktop": minor
---

LLD - Send App version number to braze when user is tracked
1 change: 1 addition & 0 deletions apps/ledger-live-desktop/src/renderer/hooks/useBraze.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export async function useBraze() {
enableHtmlInAppMessages: true,
enableLogging: __DEV__,
sessionTimeoutInSeconds: devMode ? 1 : 1800,
appVersion: isTrackedUser ? __APP_VERSION__ : undefined,
});

// If it's playwright, we don't want to fetch content cards
Expand Down

0 comments on commit 71ab278

Please sign in to comment.