Skip to content

Commit

Permalink
Add LG Innovation Network CIHA flavor.
Browse files Browse the repository at this point in the history
  • Loading branch information
benkags committed Jul 23, 2020
1 parent 7675bdc commit 0d581ce
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 52 deletions.
37 changes: 2 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,40 +22,7 @@ jobs:
- stage: deploy
# flavors sorted alphabetically with three per job
script:
- fastlane deploy flavor:unbranded
- fastlane deploy flavor:medicmobiledemo
- fastlane deploy flavor:bracuganda
- script:
- fastlane deploy flavor:cic_guatemala
- fastlane deploy flavor:cmmb_kenya
- fastlane deploy flavor:ebpp_indonesia
- fastlane deploy flavor:hope_through_health
- script:
- fastlane deploy flavor:livinggoods
- fastlane deploy flavor:livinggoodskenya
- fastlane deploy flavor:livinggoods_assisted_networks
- script:
- fastlane deploy flavor:livinggoods_innovation_ke
- fastlane deploy flavor:livinggoods_innovation_ke_supervisor
- fastlane deploy flavor:livinggoods_innovation_ke_hivst
- script:
# - fastlane deploy flavor:moh_kenya_siaya_white
- fastlane deploy flavor:moh_kenya_siaya_red
- fastlane deploy flavor:moh_kenya_siaya_green
- fastlane deploy flavor:moh_kenya_siaya_black
- fastlane deploy flavor:moh_mali
- script:
- fastlane deploy flavor:moh_zanzibar_training
- fastlane deploy flavor:moh_zanzibar
- script:
- fastlane deploy flavor:musomali
- fastlane deploy flavor:pih_malawi
- fastlane deploy flavor:pih_malawi_supervisor
- script:
- fastlane deploy flavor:simprints
- fastlane deploy flavor:surveillance_covid19_kenya
- fastlane deploy flavor:vhw_burundi
- script:
- fastlane deploy flavor:livinggoods_innovation_ke_ciha
before_install:
- openssl aes-256-cbc -K $encrypted_323c4a109760_key -iv $encrypted_323c4a109760_iv -in secrets.tar.gz.enc -out ./secrets.tar.gz -d
- tar -xf ./secrets.tar.gz
Expand All @@ -80,4 +47,4 @@ deploy:
on:
tags: true
repo: medic/medic-android
branch: master
branch: lg-in-ciha
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ android {
livinggoods_innovation_ke {
applicationId = 'org.medicmobile.webapp.mobile.livinggoods_innovation_ke'
}
livinggoods_innovation_ke_ciha {
applicationId = 'org.medicmobile.webapp.mobile.livinggoods_innovation_ke_ciha'
}
livinggoods_innovation_ke_supervisor {
applicationId = 'org.medicmobile.webapp.mobile.livinggoods_innovation_ke_supervisor'
}
Expand Down
17 changes: 0 additions & 17 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,5 @@ platform :android do
package_name = options[:flavor] == 'unbranded' ? "org.medicmobile.webapp.mobile" : "org.medicmobile.webapp.mobile.#{options[:flavor]}"

gradle(task: gradleTaskName)

supply(
package_name: package_name,
track: "alpha",
json_key: "playstore-secret.json",
apk_paths: [
"build/outputs/apk/#{options[:flavor]}/release/medic-android-#{version}-#{options[:flavor]}-arm64-v8a-release.apk",
"build/outputs/apk/#{options[:flavor]}/release/medic-android-#{version}-#{options[:flavor]}-armeabi-v7a-release.apk",
],
skip_upload_aab: true,
skip_upload_metadata: true,
skip_upload_images: true,
skip_upload_screenshots: true,
validate_only: false,

timeout: 3600,
)
end
end
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.
5 changes: 5 additions & 0 deletions src/livinggoods_innovation_ke_ciha/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Living Goods(CIHA)</string>
<string name="fixed_app_url">https://ciha-prod.lg-apps.com</string>
</resources>

0 comments on commit 0d581ce

Please sign in to comment.