zepp-health / zeppos-samples

A collection of samples about Zepp OS watchfaces and applications
Apache License 2.0
147 stars 53 forks source link

messageBuilder it does not work #13

Closed Ki11Z0n3 closed 2 years ago

Ki11Z0n3 commented 2 years ago

Hello, I'm testing the application fetch-api and it doesn't work, pressing the button does nothing

messageBuilder.request({
       method: "GET_DATA",
 })
mrcoon commented 2 years ago

@Ki11Z0n3 The appId needs to be the same as the app.json when using MessageBuilder, please check if it is not working due to this reason

Ki11Z0n3 commented 2 years ago

yes, that was it, thank you very much for the quick response