08-06-2022 04:57
08-06-2022 04:57
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.
08-06-2022 14:05
08-06-2022 14:05
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.
08-06-2022 06:47
08-06-2022 06:47
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?
08-06-2022 07:10
08-06-2022 07:10
I connect to my iPhone and my watch, how can i catch message from my iPhone😥
08-06-2022 07:52
08-06-2022 07:52
I assume you have developer mode on on both phone and fitbit.
Why are you not using a simulator?
08-06-2022 08:11
08-06-2022 08:11
I using simulator before and it work.But I need to output these data to database.So i want to try some physical thing
08-06-2022 14:05
08-06-2022 14:05
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.