{"id":13774385,"url":"https://github.com/Wiqaytna-app/wiqaytna_android","last_synced_at":"2025-05-11T06:33:04.184Z","repository":{"id":201795404,"uuid":"268380987","full_name":"Wiqaytna-app/wiqaytna_android","owner":"Wiqaytna-app","description":null,"archived":false,"fork":false,"pushed_at":"2020-06-23T09:34:23.000Z","size":1692,"stargazers_count":161,"open_issues_count":17,"forks_count":65,"subscribers_count":26,"default_branch":"master","last_synced_at":"2024-11-17T09:39:07.427Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wiqaytna-app.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null}},"created_at":"2020-05-31T23:20:10.000Z","updated_at":"2023-05-07T12:03:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4f3f2ac-929f-4781-8276-45382786889c","html_url":"https://github.com/Wiqaytna-app/wiqaytna_android","commit_stats":null,"previous_names":["wiqaytna-app/wiqaytna_android"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wiqaytna-app%2Fwiqaytna_android","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wiqaytna-app%2Fwiqaytna_android/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wiqaytna-app%2Fwiqaytna_android/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wiqaytna-app%2Fwiqaytna_android/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wiqaytna-app","download_url":"https://codeload.github.com/Wiqaytna-app/wiqaytna_android/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253528405,"owners_count":21922623,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T17:01:26.234Z","updated_at":"2025-05-11T06:33:03.767Z","avatar_url":"https://github.com/Wiqaytna-app.png","language":"Kotlin","funding_links":[],"categories":[":art: Pattern"],"sub_categories":["MVVM"],"readme":"# Wiqaytna Android\n\n![alt text](./app/src/main/res/mipmap-xxxhdpi/ic_launcher.png\n \"Wiqaytna Logo\")\n\nWiqaytna is the official Moroccan exposure notification app.\n\n---\n\n### Configs in gradle.properties\n\nSample Configuration\n```\nORG=\"MAR\"\nSTORE_URL=\"\u003cPlay store URL\u003e\"\nPRIVACY_URL=\"\u003cPrivacy policy URL\u003e\"\n\nSERVICE_FOREGROUND_NOTIFICATION_ID=771579\nSERVICE_FOREGROUND_CHANNEL_ID=\"Wiqaytna Updates\"\nSERVICE_FOREGROUND_CHANNEL_NAME=\"Wiqaytna Foreground Service\"\n\nPUSH_NOTIFICATION_ID=771578\nPUSH_NOTIFICATION_CHANNEL_NAME=\"Wiqaytna Notifications\"\nERROR_NOTIFICATION_ID=771580\n\n#service configurations\nSCAN_DURATION=8000\nMIN_SCAN_INTERVAL=36000\nMAX_SCAN_INTERVAL=43000\n\nADVERTISING_DURATION=180000\nADVERTISING_INTERVAL=5000\n\nPURGE_INTERVAL=86400000\nPURGE_TTL=1814400000\nMAX_QUEUE_TIME=7000\nBM_CHECK_INTERVAL=540000\nHEALTH_CHECK_INTERVAL=900000\nCONNECTION_TIMEOUT=6000\nBLACKLIST_DURATION=100000\n\nFIREBASE_REGION = \"\u003cYour Firebase region\u003e\"\n\nSTAGING_FIREBASE_UPLOAD_BUCKET = \"wiqayetna-app-staging\"\nSTAGING_SERVICE_UUID = \"17E033D3-490E-4BC9-9FE8-2F567643F4D3\"\n\nV2_CHARACTERISTIC_ID = \"117BDD58-57CE-4E7A-8E87-7CCCDDA2A804\"\n\nPRODUCTION_FIREBASE_UPLOAD_BUCKET = \"wiqaytna-app\"\nPRODUCTION_SERVICE_UUID = \"B82AB3FC-1595-4F6A-80F0-FE094CC218F9\"\n\nandroid.useAndroidX=true\nandroid.enableJetifier=true\n```\n\n\u003e ORG: For international federation usage\n\n\u003e To obtain the official BlueTrace Service ID and Characteristic ID, please email [info@bluetrace.io](mailto:info@bluetrace.io)\n\n---\n\n### Build Configurations in build.gradle\nChange the package name and other configurations accordingly such as the `resValue` in  in the different settings in `buildTypes`\nFor example,\n```groovy\nbuildTypes {\n    debug {\n            buildConfigField \"String\", \"FIREBASE_UPLOAD_BUCKET\", STAGING_FIREBASE_UPLOAD_BUCKET\n            buildConfigField \"String\", \"BLE_SSID\", STAGING_SERVICE_UUID\n\n            String ssid = STAGING_SERVICE_UUID\n            versionNameSuffix \"-debug-${getGitHash()}-${ssid.substring(ssid.length() - 5,ssid.length() - 1 )}\"\n            resValue \"string\", \"app_name\", \"Wiqaytna\"\n            applicationIdSuffix \"stg\"\n        }\n```\n\n\u003e Values such as STAGING_FIREBASE_UPLOAD_BUCKET, STAGING_SERVICE_UUID have been defined in gradle.properties as described above.\n\n---\n\n### Firebase and google-services.json\nSetup Firebase for the different environment.\nDownload the google-services.json for each of the environments and put it in the corresponding folder.\n\nDebug: ./app/src/debug/google-services.json\n\nProduction: ./app/src/release/google-services.json\n\nThe app currently relies on Firebase Functions to work. More information can be obtained by referring to [opentrace-cloud-functions](https://github.com/opentrace-community/opentrace-cloud-functions).\n\n---\n\n### Remote Config\nRemote config is used for retrieving the \"Share\" message used in the app.\nThe key for it is \"ShareText\". If it is unable to be retrieved, it falls back to R.string.share_message\n\n---\n\n### Protocol Version\nProtocol version used should be 2 (or above)\nVersion 1 of the protocol has been deprecated\n\n---\n\n### Security Enhancements\nSSL pinning is not included as part of the repo.\nIt is recommended to add in a check for SSL certificate returned by the backend.\n\n---\n\n### Statement from Google\nThe following is a statement from Google:\n\"At Google Play we take our responsibility to provide accurate and relevant information for our users very seriously. For that reason, we are currently only approving apps that reference COVID-19 or related terms in their store listing if the app is published, commissioned, or authorized by an official government entity or public health organization, and the app does not contain any monetization mechanisms such as ads, in-app products, or in-app donations. This includes references in places such as the app title, description, release notes, or screenshots.\nFor more information visit [https://android-developers.googleblog.com/2020/04/google-play-updates-and-information.html](https://android-developers.googleblog.com/2020/04/google-play-updates-and-information.html)\"\n\n---\n\n### Acknowledgements\nWiqaytna uses the following [third party libraries / tools](./ATTRIBUTION.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWiqaytna-app%2Fwiqaytna_android","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FWiqaytna-app%2Fwiqaytna_android","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FWiqaytna-app%2Fwiqaytna_android/lists"}