diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fc121637..3435b815 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -444,6 +444,32 @@ jobs: ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_LUMBINI_NE }} ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_LUMBINI_NE }} + - name: Unpack secrets gandaki_ne + env: + ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_GANDAKI_NE }} + ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_GANDAKI_NE }} + run: make org=gandaki_ne keydec + + - name: Assemble gandaki_ne + uses: maierj/fastlane-action@v1.4.0 + with: + lane: build + options: '{ "flavor": "gandaki_ne" }' + env: + ANDROID_KEYSTORE_PATH: gandaki_ne.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_GANDAKI_NE }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_GANDAKI_NE }} + + - name: Bundle gandaki_ne + uses: maierj/fastlane-action@v1.4.0 + with: + lane: bundle + options: '{ "flavor": "gandaki_ne" }' + env: + ANDROID_KEYSTORE_PATH: gandaki_ne.keystore + ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_GANDAKI_NE }} + ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_GANDAKI_NE }} + - name: GitHub release uses: softprops/action-gh-release@v1 if: startsWith(github.ref, 'refs/tags/') diff --git a/build.gradle b/build.gradle index 2eb71585..422dd18b 100644 --- a/build.gradle +++ b/build.gradle @@ -424,6 +424,10 @@ android { applicationId = 'org.medicmobile.webapp.mobile.lumbini_ne' } + gandaki_ne { + dimension = 'brand' + applicationId = 'org.medicmobile.webapp.mobile.gandaki_ne' + } } splits { diff --git a/secrets/secrets-gandaki_ne.tar.gz.enc b/secrets/secrets-gandaki_ne.tar.gz.enc new file mode 100644 index 00000000..efc1a157 Binary files /dev/null and b/secrets/secrets-gandaki_ne.tar.gz.enc differ diff --git a/src/gandaki_ne/ic_launcher-playstore.png b/src/gandaki_ne/ic_launcher-playstore.png new file mode 100644 index 00000000..46c2d4f1 Binary files /dev/null and b/src/gandaki_ne/ic_launcher-playstore.png differ diff --git a/src/gandaki_ne/res/drawable/ic_launcher_background.xml b/src/gandaki_ne/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000..ca3826a4 --- /dev/null +++ b/src/gandaki_ne/res/drawable/ic_launcher_background.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher.xml b/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher_round.xml b/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher_round.xml new file mode 100644 index 00000000..036d09bc --- /dev/null +++ b/src/gandaki_ne/res/mipmap-anydpi-v26/ic_launcher_round.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/src/gandaki_ne/res/mipmap-hdpi/ic_launcher.webp b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher.webp new file mode 100644 index 00000000..738ebb03 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher.webp differ diff --git a/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_foreground.webp b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..3d1e6cf5 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_foreground.webp differ diff --git a/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_round.webp b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_round.webp new file mode 100644 index 00000000..3e972c2a Binary files /dev/null and b/src/gandaki_ne/res/mipmap-hdpi/ic_launcher_round.webp differ diff --git a/src/gandaki_ne/res/mipmap-mdpi/ic_launcher.webp b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher.webp new file mode 100644 index 00000000..84bb04a8 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher.webp differ diff --git a/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_foreground.webp b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..5cdbde56 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_foreground.webp differ diff --git a/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_round.webp b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_round.webp new file mode 100644 index 00000000..8241ffef Binary files /dev/null and b/src/gandaki_ne/res/mipmap-mdpi/ic_launcher_round.webp differ diff --git a/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher.webp b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher.webp new file mode 100644 index 00000000..db129746 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher.webp differ diff --git a/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_foreground.webp b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..f10ecf79 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_foreground.webp differ diff --git a/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_round.webp b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..5b2c4ad2 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xhdpi/ic_launcher_round.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher.webp b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher.webp new file mode 100644 index 00000000..ab87608c Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_foreground.webp b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..21fd4bf0 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_foreground.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_round.webp b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..018aa210 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxhdpi/ic_launcher_round.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher.webp b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher.webp new file mode 100644 index 00000000..1f45d313 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_foreground.webp b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_foreground.webp new file mode 100644 index 00000000..140773f4 Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_foreground.webp differ diff --git a/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_round.webp b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_round.webp new file mode 100644 index 00000000..2036ad7d Binary files /dev/null and b/src/gandaki_ne/res/mipmap-xxxhdpi/ic_launcher_round.webp differ diff --git a/src/gandaki_ne/res/values/ic_launcher_background.xml b/src/gandaki_ne/res/values/ic_launcher_background.xml new file mode 100644 index 00000000..c5d5899f --- /dev/null +++ b/src/gandaki_ne/res/values/ic_launcher_background.xml @@ -0,0 +1,4 @@ + + + #FFFFFF + \ No newline at end of file diff --git a/src/gandaki_ne/res/values/strings.xml b/src/gandaki_ne/res/values/strings.xml new file mode 100644 index 00000000..0b046bbd --- /dev/null +++ b/src/gandaki_ne/res/values/strings.xml @@ -0,0 +1,60 @@ + + + PRTP Gandaki + + https + gandaki.app.medicmobile.org + True + + CHT server URL + Search Instances + Login to %s? + Unable to contact server + URL is not a valid CHT server instance + CHT server is not ready, please try again soon + + required + Must be a valid URL + + OK + Save + Cancel + Continue + More info + Retry + Quit + + Space is running low on this device. Application may not be able to start, or may perform strangely. + Current space:\n%d MB + Recommended space:\n%d MB + + Choose file + + Location access + %s collects location data to analyze and improve health outcomes in your area. To permit location access select \"Turn on\", and then confirm the next prompt. + Turn on + No thanks + My location icon + + Storage access + %s uploads files into reports to analyze and improve health outcomes in your area. To permit storage access select \"Allow\", and then grant storage access in the next prompt. + Allow + Deny + My storage icon + + SMS access + %s sends reports as SMS to analyze and improve health outcomes in your area. To permit SMS access select \"Allow\", and then grant SMS access in the next prompt. + Allow + Deny + My SMS icon + + Loading… + Upgrading your app + You\'re upgrading to the latest version. Please wait while your data is being migrated. + + No Internet Connection + You don\'t seem to be connected to the Internet. Please check your connection and try again. + + Please wait until the migration process is finished + Use only during training +