How to received message

How to button color changes when a specific message is received on the phone ?

For example, when the phone receives a "hello" message, the yellow button is red.

You can use the Texting component's ReceivingEnabled property to enable text receiving, and then in the blocks use the when Texting1.MessageReceived event to process the event.

Note, to test this you will either need to compile your app or install the version of the companion provided by the server under Help > Companion Information. Google no longer allows us to publish in the Play Store a version that includes the permissions required to make this work in that version.

1 Like

try to make like this :
blocks

1 Like

its not work :frowning: