Open evaei opened 4 years ago
Hi, you need to create your own backend. For openTrace specifically, you need to create a project on firebase and download the config files in your project.
@evaei : from the gradle.properties file, following is the parameter that you need to configure to adjust with your testing environment
FIREBASE_REGION = "
as for other parameter, you only apply when comes to your production environment, PRODUCTION_FIREBASE_UPLOAD_BUCKET = "opentrace-app"
To get the info for those parameters you need to setup the firebase project in GCP backend as explained by @Sinapse87
I suggest you familiarized yourself with Firebase in GCP so you can understand how it works before you can start with this opentrace project.
here are some links that good for beginner: https://fireship.io/lessons/the-ultimate-beginners-guide-to-firebase/ https://firebase.google.com/docs/android/setup
Hi, for Configs in gradle.properties in sample Configuration we don't understand how to obtain the information. Could you please explain what is the value, that highlight and how to get the value from Firebase
ORG="SG_OTC" STORE_URL=""
PRIVACY_URL=""
service configurations
SCAN_DURATION=8000 MIN_SCAN_INTERVAL=36000 MAX_SCAN_INTERVAL=43000
ADVERTISING_DURATION=180000 ADVERTISING_INTERVAL=5000
PURGE_INTERVAL=86400000 PURGE_TTL=1814400000 MAX_QUEUE_TIME=7000 BM_CHECK_INTERVAL=540000 HEALTH_CHECK_INTERVAL=900000 CONNECTION_TIMEOUT=6000 BLACKLIST_DURATION=100000
FIREBASE_REGION = ""
and In getUploadToken method why need to upload code what upload code stand for ? also how we collect data that user upload for us.
Thank you so much.