Skip to content

Comments

fix(backup): set backup path to empty string by default on Android and update backup popup#19391

Merged
jrainville merged 1 commit intorelease/2.36.xfrom
fix/android-backup-new-account
Nov 27, 2025
Merged

fix(backup): set backup path to empty string by default on Android and update backup popup#19391
jrainville merged 1 commit intorelease/2.36.xfrom
fix/android-backup-new-account

Conversation

@jrainville
Copy link
Member

@jrainville jrainville commented Nov 25, 2025

What does the PR do

Fixes #19377

Sets the backup path to empty string on Android to let users know that they need to set it. Modifies the "Enable message backup" popup to enable backups in general on Android.

Affected areas

Architecture compliance

Screencapture of the functionality

Video showing the "new" popup plus it working. The error shown when clicking the Backup Now button is normal because no path is selected.

andrdoid-new-user-2.webm

Impact on end user

Makes it clear that users need to set a backup path for it to work on Android. Also prevents the error toast showing when it is not set

How to test

  • Create a new Android profile
  • Go to Chat two times to see the popup
  • Go to Backup settings

Risk

Low

@status-im-auto
Copy link
Member

status-im-auto commented Nov 25, 2025

Jenkins Builds

Click to see older builds (23)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 7d883f8 #1 2025-11-25 20:41:08 ~7 min tests/nim 📄log
✔️ 7d883f8 #1 2025-11-25 20:43:26 ~9 min android/arm64 🤖apk 📲
✔️ 7d883f8 #1 2025-11-25 20:47:47 ~14 min tests/ui 📄log
✔️ 7d883f8 #1 2025-11-25 20:48:16 ~14 min macos/aarch64 🍎dmg
✔️ 7d883f8 #1 2025-11-25 20:49:23 ~15 min ios/aarch64 📱ipa
✔️ 7d883f8 #1 2025-11-25 20:51:51 ~18 min linux/x86_64 📦tgz
✔️ 7d883f8 #1 2025-11-25 20:52:52 ~19 min macos/aarch64-nwaku 🍎dmg
✔️ 7d883f8 #1 2025-11-25 20:56:59 ~23 min linux/x86_64-nwaku 📦tgz
✔️ 7d883f8 #1 2025-11-25 21:06:11 ~32 min windows/x86_64 💿exe
✔️ 7d883f8 pr19391 2025-11-25 21:07:36 ~15 min tests/e2e 📊rpt
✖️ 7d883f8 PR19391 2025-11-25 21:33:38 ~27 min tests/e2e-windows 📊rpt
✔️ 5abddf6b #2 2025-11-26 17:24:58 ~9 min android/arm64 🤖apk 📲
04682dd #2 2025-11-26 20:07:10 ~10 min ios/aarch64 📄log
04682dd #2 2025-11-26 20:07:37 ~10 min macos/aarch64-nwaku 📄log
✔️ 04682dd #2 2025-11-26 20:11:54 ~15 min tests/nim 📄log
✔️ 04682dd #2 2025-11-26 20:13:05 ~16 min macos/aarch64 🍎dmg
✔️ 04682dd #3 2025-11-26 20:13:39 ~16 min android/arm64 🤖apk 📲
✔️ 04682dd #2 2025-11-26 20:24:09 ~27 min tests/ui 📄log
✔️ 04682dd #2 2025-11-26 20:25:14 ~28 min linux/x86_64 📦tgz
✔️ 04682dd #2 2025-11-26 20:25:54 ~29 min linux/x86_64-nwaku 📦tgz
✔️ 04682dd #2 2025-11-26 20:29:58 ~33 min windows/x86_64 💿exe
✖️ 04682dd pr19391 2025-11-26 20:44:04 ~18 min tests/e2e 📊rpt
✖️ 04682dd PR19391 2025-11-26 20:50:32 ~20 min tests/e2e-windows 📊rpt
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 84b06946 #4 2025-11-27 17:26:20 ~10 min android/arm64 🤖apk 📲
✔️ 9abb82d #3 2025-11-27 17:45:00 ~18 min macos/aarch64 🍎dmg
✔️ 9abb82d #3 2025-11-27 17:45:20 ~18 min macos/aarch64-nwaku 🍎dmg
✔️ 9abb82d #3 2025-11-27 17:54:39 ~27 min windows/x86_64 💿exe
✔️ 9abb82d #5 2025-11-27 18:03:27 ~36 min android/arm64 🤖apk 📲
✔️ 9abb82d #3 2025-11-27 18:06:12 ~39 min tests/nim 📄log
✔️ 9abb82d #3 2025-11-27 18:10:46 ~43 min ios/aarch64 📱ipa
✔️ 9abb82d #3 2025-11-27 18:16:54 ~50 min tests/ui 📄log
✔️ 9abb82d #3 2025-11-27 18:17:22 ~50 min linux/x86_64 📦tgz
✔️ 9abb82d #3 2025-11-27 18:18:08 ~51 min linux/x86_64-nwaku 📦tgz
✖️ 9abb82d PR19391 2025-11-27 18:22:12 ~27 min tests/e2e-windows 📊rpt
✖️ 9abb82d pr19391 2025-11-27 18:36:58 ~19 min tests/e2e 📊rpt

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM in general, just wondering what about iOS

proc getLocalBackupChosenPath*(self: LocalAccountSensitiveSettings): string {.slot.} =
let setting = self.getLocalBackupChosenPathSetting()
if setting == "":
when defined(android):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about iOS? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apparently iOS is fine according to Volo. I think users can access the sandbox in iOS

@jrainville jrainville force-pushed the fix/android-backup-new-account branch from 7d883f8 to 04682dd Compare November 26, 2025 19:56
…d update backup popup

Fixes #19377

Sets the backup path to empty string on Android to let users know that they need to set it.
Modifies the "Enable message backup" popup to enable backups in general on Android.
@jrainville jrainville force-pushed the fix/android-backup-new-account branch from 04682dd to 9abb82d Compare November 27, 2025 17:26
@jrainville jrainville merged commit 91fff0d into release/2.36.x Nov 27, 2025
11 of 12 checks passed
@jrainville jrainville deleted the fix/android-backup-new-account branch November 27, 2025 18:22
Copy link
Member

@micieslak micieslak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After merge review: Looks good!

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.

4 participants