opentrace-community / opentrace-cloud-functions

OpenTrace Cloud Functions. Reference implementation of the BlueTrace protocol.
https://bluetrace.io
GNU General Public License v3.0
273 stars 121 forks source link

Enter PIN to upload #37

Open Darrenchand opened 4 years ago

Darrenchand commented 4 years ago

Do we need the PRODUCTION_SERVICE_UUID And V2_CHARACTERISTIC_ID in order for the PIN to show up when the user wants to upload data for contact tracing...

Or did i do something wrong in my cloud functions?

There are no errors in the console when i run the app on my android device. When i run the test i get the following results config.ts

encryption

  √ should have a valid default algorithm
#encryption

getEncryptionSecret: Getting encryption key: projects/project/secrets/Encrykey/versions/1 √ should succeed in getting encryption key (1845ms)

upload

  √ should have valid buckets (1303ms)
#upload
  √ should use a good pin generator
qtangs commented 4 years ago

@Darrenchand, please see my note on storeUploadCodes here: https://github.com/opentrace-community/opentrace-cloud-functions/issues/9#issuecomment-614786773

Also take note that the handshake pin and the upload code are 2 entirely different things: https://github.com/opentrace-community/opentrace-cloud-functions/issues/17#issuecomment-615859371

qtangs commented 4 years ago

PRODUCTION_SERVICE_UUID And V2_CHARACTERISTIC_ID are properties used by the apps, they are not related to any server functions.

Darrenchand commented 4 years ago

do we need these two properties when we roll out the app in our country?

qtangs commented 4 years ago

You need them in the Android and iOS apps.