Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not working: Backup and restore of settings and learned word / history data #1235

Closed
les-incompetent opened this issue Nov 29, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@les-incompetent
Copy link

les-incompetent commented Nov 29, 2024

I'd love to use Heliboard across devices and, so as not having to setup each instance from scratch (I've made custom layout changes, dictionary additions, word shortcuts etc) I thought it would be easy to backup my settings from my phone (primary device) and import those into any additional devices I use - but the settings/custom changes don't come across as expected.

Same if I try to restore the HeliBoard_backup.zip to the same phone I created the backup on (in my case a Galaxy S23) - custom changes don't restore.

To Reproduce
Backup via:
Settings>Advanced>Backup and restore>Backup

Expected behavior
Per features page:
"Backup and restore your settings and learned word / history data"

Screenshots
N/A

App version
2.2

Device:

  • Model: Samsung Galaxy S23
  • OS: Android 14 (using the manufacturer's OS)
@les-incompetent les-incompetent added the bug Something isn't working label Nov 29, 2024
@Helium314
Copy link
Owner

I just tried with 2.2

  1. reset app
  2. change some settings
  3. backup
  4. reset app
  5. restore

and had excatly the changes I made.

What's the content of your backup file? It should be 2 json files with your prefereces, and a bunch of other files in subdirectories.

@Helium314 Helium314 added the waiting for info more information is requested label Jan 4, 2025
@les-incompetent
Copy link
Author

Thanks for taking the time to test and respond.

When I follow the steps you've stated, the app settings restore but custom changes don't.

For example, I have the "~" key set-up so that pressing and holding gives me the option to select the "α" symbol as an alternative.

The backup contains the following files and folders:
preferences.json
protected_preferences.json
blacklists
dicts
unprotected

@Helium314
Copy link
Owner

I'm able to reproduce this, but it works when restarting the keyboard.
Could you try to close the keyboard by swiping it from recents (or other ways like force stop) after restoring the settings and see whether it works for you too?

@Helium314 Helium314 removed the waiting for info more information is requested label Jan 5, 2025
@les-incompetent
Copy link
Author

That has worked perfectly, all settings AND customisations now appear after restarting/clearing the keyboard from recents!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants