react-native-google-fit icon indicating copy to clipboard operation
react-native-google-fit copied to clipboard

Issue connecting with MiBand

Open im-aditya opened this issue 7 years ago • 0 comments

Hi,

I am trying to connect Xiaomi MiBand 2 with this library in my app. I have installed the Mi Fit App for syncing band data & connecting with Google Fit. After successfully connecting with Google Fit I started getting data from the band BUT the devices data is getting override.

Before connecting the band I get data in this format:

[ { source: "com.google.android.gms:estimated_steps", steps: [] }, { source: "com.google.android.gms:merge_step_deltas", steps: [] }, { source: "com.xiaomi.hm.health", steps: [] } ];

where I get data in the first and second sources and 0 in the third source. But after the band gets connected I start getting the band's data in the first source and get 0 in the second and third source.

It should send respective data in all the 3 sources right ?

Also, the data is not getting synced regularly. There is a long delay (of 1-2 hours sometimes) to get the data synced from the band to Google fit. Can we do something about this ?

Please help. Thanks

im-aditya avatar Mar 28 '19 07:03 im-aditya