Custom Menu in Companion not working

It is working now. Did some testing with the add menu item

Selectie_434

And this was the result in the companion app.

When i do it like this it works

Selectie_435

The Add Menu Item works without lists
You should add as many function blocks you want with a label

Also, to work with custom menu, blocks must be added to the when.Screen Menu Initialize action, and a Clear Menu Items block in when.Screen Initialize

You mean like this? If i do this no menu appears. Just the about option is visible.

Selectie_436

The “Menu Initialize” and “Add Menu Item” blocks are correct. Can you try removing the “Reset Menu” block? I think that might be getting called after the menu items have been added, thus removing them.

If i remove the reset menu block i get a menu where it says community, support and about application. But not the options i wanted.

The only time it is working ok is when i put everything inside the screen intialize block and do:

Selectie_437

I’ve just done some testing and it looks like the menu items don’t seem to be adding to the companion using the initialize blocks. You can, however, right click on the “Add Menu Item” block and click “Do It” and this will show the menu items in the companion.

1 Like

It works like that yes. I tested it with an apk and there it is working. :+1:

3 Likes

Check this may help

2 Likes