opentrace-community / opentrace-android

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

Undocumented settings / config #10

Open zakisaadeh opened 4 years ago

zakisaadeh commented 4 years ago

In the readme, you mention:

STAGING_SERVICE_UUID = "17E033D3-490E-4BC9-9FE8-2F567643F4D3" V2_CHARACTERISTIC_ID = "117BDD58-57CE-4E7A-8E87-7CCCDDA2A804"

What do these two variables stand for exactly? It's not clear to me what values I should set for my app.

Thanks.

valduze commented 4 years ago

Hi @zakisaadeh I think they are documented they mean:

ORG: For international federation usage

To obtain the official BlueTrace Service ID and Characteristic ID, please email info@bluetrace.io

To obtain the two you must be an health official or representing one. My question now is, can you still run the app without those, it could be the reason why I my reason why my OTP verification fails, can anyone assist with this..

Thanks, Jongi

majhamza commented 4 years ago

To obtain the two you must be an health official or representing one. My question now is, can you still run the app without those, it could be the reason why I my reason why my OTP verification fails, can anyone assist with this..

No you don't need them to make the OTP work, go to Authentication in the firebase console, chose the tab sign-in-methods, and activate the authentication by phone, and there's an additional step, you should get an SHA-1 fingerprint and add it to your firebase project in the general settings, follow the link below to see how to generate the SHA-1 fingerprint.

https://developers.google.com/android/guides/client-auth

rinekri commented 4 years ago

@zakisaadeh It's an unique identifiers to obtain data through BLE. You should generate them and use it across all devices (iOS, Android), otherwise connection and communication will not work.

jsiva7 commented 4 years ago

I have successfully installed in two android phones. Followed all steps given. I placed two phones side by side and how to determine whether the connection or communication is working ? Any advise?

rinekri commented 4 years ago

@jsiva7 you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.

jsiva7 commented 4 years ago

@jsiva7 you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.

Thank you so much @rinekri

Hoangtho11188 commented 4 years ago

I have successfully installed in two android phones. Followed all steps given. I placed two phones side by side and how to determine whether the connection or communication is working ? Any advise?

greats,can I have your skype account to contact. I need some help on this project. Thanks man!

MZDN commented 4 years ago

I also have installed on 2 devices android. I could see activities but still need to find out how to manage on the backend side. Any advice? Thanks in advance!

rinekri commented 4 years ago

@MZDN where did you stuck?

potatoFry commented 4 years ago

@jsiva7 you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.

I have installed application on 2 android devices but dont seem to see any cards on both devices at all... Could u help me?

alexissinglaire commented 4 years ago

@jsiva7 you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.

I have installed application on 2 android devices but dont seem to see any cards on both devices at all... Could u help me?

@potatoFry : is your backend has been configured and run successfully? as for mobile app side, did you manage to register your mobile number successfully? and lastly, is there any error shown in your logcat?

potatoFry commented 4 years ago

@jsiva7 you can double tap on logo at first tab to open a debug screen. If everything is okey you will see cards with an exchanged information.

I have installed application on 2 android devices but dont seem to see any cards on both devices at all... Could u help me?

@potatoFry : is your backend has been configured and run successfully? as for mobile app side, did you manage to register your mobile number successfully? and lastly, is there any error shown in your logcat?

backend meaning the cloud functions? if so, yes I have set and deployed the functions. Managed to register the mobile number successfully after doing so. Does not appear to have any errors shown in the logcat