You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* chore: bump app version to v1.21.27
* fix(sentry): turn Sentry fully off when data sharing is off (mirror extension) (#955)
Squashed for the v1.21.27 release branch (retargeted from main). Consent now
controls Sentry initialization, event delivery, and runtime shutdown:
- initializeSentry() no-ops during e2e, when already initialized (idempotent),
or when data sharing is OFF (master switch).
- beforeSend hard-drops every event while sharing is off.
- syncSentryEnablement() reconciles on toggle: inits when turned on, and on
opt-out clears the user and disables the client by flipping enabled=false
(NOT close()/close(0), which full-drain the transport backlog); guarded on
persist.hasHydrated() so the store subscription can't init off the
pre-hydration Android default.
- App startup + updateSentryContext consent-gate the Sentry user identity.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* copy(preferences): "Usage data sharing" toggle + accurate disclosure (#956)
* copy(preferences): rename data-sharing toggle to "Usage data sharing" + accurate disclosure
The toggle was labeled "Anonymous data sharing" and claimed we collect "public keys, transaction amounts, and balances" only. Relabel to "Usage data sharing" (i18n key anonymousDataSharing -> usageDataSharing) and replace the description with an accurate disclosure covering usage/device/activity data, public keys, IP address, and the persistent cross-platform ID sent to our analytics and crash-reporting providers. Also aligns the ATT permission-modal wording. Removes the stale pt strings so they fall back to English until a professional pt translation is added.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* i18n(pt): translate usage-data-sharing copy + drop "anônimos" from ATT modal
Addresses review feedback on #956, which caught that removing only the pt
`anonymousDataSharing` block left the ATT permission modal saying
"compartilhamento de dados anônimos" — the exact term this PR retires. A
Portuguese user toggling the setting saw the modal contradict the (English
fallback) toggle description, and still saw "anonymous", which is the
inaccuracy the change exists to fix.
Fixed by translating rather than deleting, so Portuguese users stay in
Portuguese:
- Restored `preferences.usageDataSharing` in pt with Brazilian Portuguese
for title + description.
- `permissionModal.enable.description` and `.disable.description`:
"compartilhamento de dados anônimos" -> "compartilhamento de dados de uso",
matching the en strings this PR already aligned.
The reviewer's suggested fix was to delete the two modal descriptions too
and let `fallbackLng: "en"` cover them. That resolves the contradiction but
regresses two already-translated strings to English; since the toggle copy
needed pt anyway, translating all four keeps the screen in one language.
Copy is byte-identical to stellar/freighter#2922 (extension) for all four
en/pt strings, verified programmatically — these two PRs exist to make the
disclosure consistent across platforms, so drift between them would defeat
the point. Terminology follows the existing catalog: "Política de
Privacidade", "chave pública", "dispositivo", "carteira", "extensão", and
the "o Freighter" article convention.
Verified: 940/940 en/pt leaf-key parity (was 938/940 on this branch, so the
gap this PR opened is closed); zero occurrences of "anônim" left in pt and
zero of "anonymous" in en; `yarn lint:translations` reports no
missing-translations errors; `yarn lint:ts` clean; prettier clean; 13 tests
pass across PreferencesScreen.test.tsx and ducks/preferences.test.ts.
The 6 `import/order` errors from `lint:translations` are pre-existing on
main in parseTransaction.ts / buildAuthJwt.ts / deriveAuthKeypair.ts and
unrelated to this change — confirmed by running eslint on those files at
main.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piyal Basu <pbasu235@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/i18n/locales/en/translations.json
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -85,19 +85,19 @@
85
85
"deleteAccountConfirmMessage": "Make sure you have your recovery phrase in a safe place. You will not be able to recover your wallet without it."
86
86
},
87
87
"preferences": {
88
-
"anonymousDataSharing": {
89
-
"title": "Anonymous data sharing",
90
-
"description": "Allow Freighter to collect limited information about usage. We will collect public keys, transaction amounts, and balances. This information will not be used for marketing or to identify you personally. We will not collect information such as name, address, email addresses, phone numbers, etc."
88
+
"usageDataSharing": {
89
+
"title": "Usage data sharing",
90
+
"description": "Help us improve Freighter by sharing usage, device, and activity data, including your public keys, IP address, and a persistent ID that links your wallet across extension and mobile, with our analytics and crash-reporting providers. You can turn this off at any time. See our Privacy Policy for details."
91
91
},
92
92
"permissionModal": {
93
93
"enable": {
94
94
"title": "Enable Analytics",
95
-
"description": "To enable anonymous data sharing, you'll need to allow tracking permissions in your device settings.",
95
+
"description": "To enable usage data sharing, you'll need to allow tracking permissions in your device settings.",
96
96
"instruction": "Tap \"Open Settings\" below, then find Freighter and enable \"Allow Tracking\"."
97
97
},
98
98
"disable": {
99
99
"title": "Disable Analytics",
100
-
"description": "To disable anonymous data sharing, you'll need to change tracking permissions in your device settings.",
100
+
"description": "To disable usage data sharing, you'll need to change tracking permissions in your device settings.",
101
101
"instruction": "Tap \"Open Settings\" below, then find Freighter and disable \"Allow Tracking\"."
0 commit comments