keymapperorg / KeyMapper

**DEVELOPMENT STOPPED**.📱 An Android app that change what the buttons do on your devices!
http://docs.keymapper.club
GNU General Public License v3.0
944 stars 146 forks source link

action: send intent extra arrays are not saved #1224

Closed sudomain closed 3 weeks ago

sudomain commented 4 weeks ago

**Developer TODO (don't remove)**

Discord message link/email recipient

Describe the bug When using a send intent action containing an extra which is any of the array types (string, integer, boolean, etc.), the extra gets discarded when the user presses the checkmark. There seems to be some input validation going on for some of the extras such as boolean arrays and integer arrays.

To Reproduce Steps to reproduce the behavior:

  1. Create a send intent action
  2. Add an extra of any of the array types
  3. Tap the checkmark/save button
  4. Open the action for editing and notice the array has been discarded

Upload a backup of your keymaps. Follow the guide here

Expected behavior Array extras should be not be silently discarded.

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.

sds100 commented 3 weeks ago

I think I fixed this already in #1172 ? Can you check the latest testing build

sudomain commented 3 weeks ago

Confirmed fixed in the testing build. Thank you very much