I have seem the Messaging API (device & companion)
Still can't understand what't that mean
Even though i copy the example on reference
They just can't run!!!
Console:Sideload of companion failed.No response received for RPC call to 'app.install.stream.begin'
help me plzzzzzzz
Answered! Go to the Best Answer.
The Fitbit messaging API only sends messages between the clockface/app running on the watch, and the companion component of that clockface/app which runs within the Fitbit mobile app on your phone. To get messages out of the Fitbit system, you have to use fetch() or WebSocket within your companion component.
The RPC error is not related to the messaging API. It just indicates that your phone or simulator isn't connected to the development environment.
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
Elaborate.
Try it on the simulator/on the real thing.
Your error says only it can't connect to a device.
Does any app load to a (simulated) device?
Fitbit Product Experts Alumni are retired members of the Fitbit Product Expert Program. Learn more
I assume you have developer mode on on both phone and fitbit.
Why are you not using a simulator?
Best AnswerI using simulator before and it work.But I need to output these data to database.So i want to try some physical thing
Best AnswerThe Fitbit messaging API only sends messages between the clockface/app running on the watch, and the companion component of that clockface/app which runs within the Fitbit mobile app on your phone. To get messages out of the Fitbit system, you have to use fetch() or WebSocket within your companion component.
The RPC error is not related to the messaging API. It just indicates that your phone or simulator isn't connected to the development environment.