https://i.sstatic.net/YDXr2.png
array use in keyboard extension not displaying. showing this message on my console. how to get variable in keyboard extension file.
Open the file you want to include and then open the right side pane (it is called the utilities pane.) Find the section called "Target Membership" and click on the checkbox next to your keyboard extension. See the link in my response, it has a screen shot. Then you can access variable into keyboard extension.