Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mahalakshme committed Sep 6, 2023
2 parents e5829ab + fb12fae commit dd20634
Show file tree
Hide file tree
Showing 16 changed files with 90 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ parameters:
flavor:
type: enum
default: "generic"
enum: ["generic", "lfe", "sakhi"]
enum: ["generic", "lfe", "sakhi", "lfeTeachNagaland"]
description: Flavor of the binary to generate. Must be one of "generic", "lfe" or "sakhi"
versionCode:
type: string
Expand Down
12 changes: 12 additions & 0 deletions packages/openchs-android/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,12 @@ android {
keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}openchs-release-key"
keyPassword System.getenv("LFE_KEY_PASSWORD")
}
lfeTeachNagaland {
storeFile file("${System.getenv("KEY_STORE_PREFIX") ?: ""}lfeteach-nagaland-release-key.keystore")
storePassword System.getenv("LFE_TEACH_NAGALAND_KEYSTORE_PASSWORD")
keyAlias "${System.getenv("KEY_STORE_PREFIX") ?: ""}lfeteachnagaland"
keyPassword System.getenv("LFE_TEACH_NAGALAND_KEY_PASSWORD")
}
sakhi {
storeFile file("${System.getenv("KEY_STORE_PREFIX") ?: ""}sakhi-release-key.keystore")
storePassword System.getenv("SAKHI_KEYSTORE_PASSWORD")
Expand Down Expand Up @@ -161,6 +167,12 @@ android {
signingConfig signingConfigs.lfe
manifestPlaceholders = [bugsnagAPIKey: System.getenv("LFE_CLIENT_BUGSNAG_API_KEY") ?: "dummy"]
}
lfeTeachNagaland {
applicationId "com.openchsclient.lfeteach.nagaland"
resValue "string", "app_name", "TEACH Nagaland"
signingConfig signingConfigs.lfeTeachNagaland
manifestPlaceholders = [bugsnagAPIKey: System.getenv("LFE_TEACH_NAGALAND_BUGSNAG_API_KEY") ?: "dummy"]
}
sakhi {
applicationId "org.sakhi.openchsclient"
resValue "string", "app_name", "Sakhi 2.0"
Expand Down
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"project_info": {
"project_number": "26847192477",
"project_id": "lfe-teach",
"storage_bucket": "lfe-teach.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:26847192477:android:21d6539bf067d972f73b74",
"android_client_info": {
"package_name": "com.openchsclient.lfeteach.nagaland"
}
},
"oauth_client": [
{
"client_id": "26847192477-o32d9p3fto6cfsb98b5a3bs6d9f39j4l.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAcDPJkNYh2qyrdYxQ1SmgRhK_e8HbzV3Y"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "26847192477-o32d9p3fto6cfsb98b5a3bs6d9f39j4l.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:26847192477:android:cc8e0d3a01a383c2f73b74",
"android_client_info": {
"package_name": "org.lfeteach.openchsclient"
}
},
"oauth_client": [
{
"client_id": "26847192477-o32d9p3fto6cfsb98b5a3bs6d9f39j4l.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyAcDPJkNYh2qyrdYxQ1SmgRhK_e8HbzV3Y"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "26847192477-o32d9p3fto6cfsb98b5a3bs6d9f39j4l.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions packages/openchs-android/config/flavor_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
"env_var_name": "LFE_CLIENT_BUGSNAG_API_KEY"
}
},
"lfeTeachNagaland": {
"server_url": "https://app.lfe.avniproject.org",
"package_name": "com.openchsclient.lfeteach.nagaland",
"prod_admin_password_env_var_name": "LFE_PROD_ADMIN_PASSWORD",
"bugsnag": {
"project_name": "lfe-teach-nagaland",
"env_var_name": "LFE_TEACH_NAGALAND_BUGSNAG_API_KEY"
}
},
"sakhi": {
"server_url": "https://server.avniproject.org",
"package_name": "org.sakhi.openchsclient",
Expand Down

0 comments on commit dd20634

Please sign in to comment.