opentrace-community / opentrace-android

OpenTrace Android app. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
576 stars 225 forks source link

Records and Status is always empty #28

Open Naresh27 opened 4 years ago

Naresh27 commented 4 years ago

I am able to register & upload data on the Firebase storage, the problem I am facing is records & status is always empty in json file. {"records":[],"events":[],"token":"XXXXXX"}

How am I testing the app: I have installed the application on 3 devices, registered and kept device bluetooth on, on all the devices, after 20-30 minutes I uploaded the data from all 3 devices and all 3 json files has empty data. ({"records":[],"events":[],"token":"XXXXXX"})

I debugged the application while uploading and found database is empty, I don't see any errors also in logcat.

Generated 3 UUID using https://www.uuidgenerator.net/version1 and configure for below properties: STAGING_SERVICE_UUID V2_CHARACTERISTIC_ID PRODUCTION_SERVICE_UUID

can anyone suggest what should be the issue? Thanks.

-Naresh

alexissinglaire commented 4 years ago

@Naresh27 : you dont need to recreate the 3 UUID mentioned. i believe those 3 parameters is important and cannot be changed. try to use the suggested value (default value) and check the result of the scanning from the cards console (double tap the open trace logo to display the card activity)

mihodihasan commented 4 years ago

@Naresh27 did you manage to solve this problem or any procedure to get these IDs to make this workable? I am getting empty records in json

antu12 commented 4 years ago

@alexissinglaire can I use the 3 values given in the readme.md for test purpose? Or do I have to mail info@bluetrace.io for those 3 IDs?

And will the records always come empty array without these?

These are given in Readme.md STAGING_SERVICE_UUID = "17E033D3-490E-4BC9-9FE8-2F567643F4D3" V2_CHARACTERISTIC_ID = "117BDD58-57CE-4E7A-8E87-7CCCDDA2A804" PRODUCTION_SERVICE_UUID = "B82AB3FC-1595-4F6A-80F0-FE094CC218F9"

alexissinglaire commented 4 years ago

@antu12 : the 3 values shown in gradle.properties which described in readme file need to be use as it is. You don't need to change any of the default values.

antu12 commented 4 years ago

@antu12 : the 3 values shown in gradle.properties which described in readme file need to be use as it is. You don't need to change any of the default values.

@alexissinglaire thanks for the confirmation.

mihodihasan commented 4 years ago

using default values for these three constants works fine for me. thanks.

tranthientrung commented 3 years ago

I use default values but records always empty. Help me pls!!!