After processing a key with Keyman Core, calling km_core_state_get_actions does not return a valid key value pair in the persist_options field as expected.
Reproduce the bug
use the Armenian Mnemonic keyboard
type[alt-v]
expected: "√"
type[w]
expected: "" -- ("√" is deleted)
This should toggle the option 'option_ligature_ew' from a value of 0 (zero) to 1 (one)
However, calling the API returns invalid values, so they will not be persisted correctly on the platform and may cause the app to crash while attempting to parse them.
Describe the bug
After processing a key with Keyman Core, calling km_core_state_get_actions does not return a valid key value pair in the persist_options field as expected.
Reproduce the bug
This should toggle the option 'option_ligature_ew' from a value of 0 (zero) to 1 (one)
However, calling the API returns invalid values, so they will not be persisted correctly on the platform and may cause the app to crash while attempting to parse them.
Keyman apps
Keyboard name
Armenian Mnemonic