Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Records and Status is always empty #28

Open
Naresh27 opened this issue Apr 26, 2020 · 7 comments
Open

Records and Status is always empty #28

Naresh27 opened this issue Apr 26, 2020 · 7 comments

Comments

@Naresh27
Copy link

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
Copy link

@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
Copy link

@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
Copy link

antu12 commented May 30, 2020

@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
Copy link

@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
Copy link

antu12 commented May 30, 2020

@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
Copy link

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

@tranthientrung
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants