Exporting/Importing a keymap that can be triggered by other apps should preserve its UID #1120
Closed
4 tasks done
Labels
bug
Something isn't working
Developer TODO (don't remove)
Discord message link/email recipient
Describe the bug
I know the app is no longer developed, but if someone knows the import/export code, I think this should be fixed: I trigger some of my keymaps using shell scripts in Termux using the
am
tool:am broadcast -a io.github.sds100.keymapper.ACTION_TRIGGER_KEYMAP_BY_UID --es io.github.sds100.keymapper.EXTRA_KEYMAP_UID 48df9264-da54-4bab-af80-ea53e1a70782
But if the keymaps were recently exported and imported (for example when migrating to a new Android device), then their UIDs change. My scripts stopped working which wasn't a big deal. I just copy/pasted the new UID's into the scripts and it only took a few minutes. It's just another step involved in a rare event such as a device migration, but since keymaps are given UIDs, they should probably be preserved.
To Reproduce
Steps to reproduce the behavior:
Upload a backup of your keymaps. Follow the guide here
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: