nic-delhi

Aarogya Setu Android app

Aarogya Setu Android app native code
Under Other
By nic-delhi

android contact-tracing

Aarogya Setu Android app


Aarogya Setu is a mobile application developed by the Government of India to connect essential health services with the people of India in our combined fight against COVID-19. The App is aimed at augmenting the initiatives of the Government of India, particularly the Department of Health, in proactively reaching out to and informing the users of the app regarding risks, best practices and relevant advisories pertaining to the containment of COVID-19.


Features

Aarogya Setu mobile application provides the following features:



The Aarogya Setu App is being widely used by more than 11 Crore Users. The App has been highly successful in identifying people with high risk of COVID-19 infection and has also played a major role in identifying potential COVID-19 hotspots. In the larger public interest and in order to help the international community in their COVID-19 efforts, the Government of India is opening the source code of this App under Apache License 2.0.


If you find any security issues or vulnerabilities in the code, then you can send the details to us at : [email protected]


If you want to convey any other feedback regarding the App or Code, then you can send it to us at : [email protected]


Setup
Requirements

Configure

keystore.properties


Setup a keystore.properties at the root folder with following sample detail and your configurations
```


Server SSL Keys

ssl_public_key=
ssl_backup_key=
ssl_auth_key=
ssl_auth_backup_key=


aws_api_key=
platform_key=android_key


Android Keystore details

android_alias=YourAndroidAlias
android_keystore=YourAndroidKeyStore
transformation=AES/GCM/NoPadding


BLE UUIDs

service_uuid=YOURUUID-1234-ABCD-WXYZ-A12B34C56D78
did_uuid=YOURUUID-1234-ABCD-WXYZ-A12B34C56E78
pinger_uuid=YOURUUID-1234-ABCD-WXYZ-A12B34C56F78


API URLs

webview_url =
webview_host =
app_host_url =
auth_host_url =


API End Points

bulk_upload_api = /api/v1/end/point/1/
register_user_api = /api/v1/end/point/2/
update_fcm_token_api = /api/v1/end/point/3/
check_status_api = /api/v1/end/point/4/
fetch_config_api = /api/v1/end/point/5/
generate_otp_api = endPoint6
validate_otp_api = endPoint7
refresh_auth_token_api = endPoint8
qr_fetch_api = endPoint9
call_us_url=tel:1075
faq_url=
privacy_policy_url=
tnc_url=
verify_app_url=


APK sign Keystore details:

key_store_cetificate = yourCertificate.jks
key_store_password = yourStorePassword
key_alias = yourAlias
key_password = yourPassword


```


Firebase and google-services.json


Setup Firebase for the different environment.
Download the google-services.json for each of the environments and put it in the corresponding folder.


Debug: ./app/src/debug/google-services.json


Production: ./app/src/google-services.json


Build
./gradlew assembleDebug

Download App