Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
308 commits
Select commit Hold shift + click to select a range
7d88b00
rename variables of contribution calculation function
vaneck237 Jul 19, 2024
20ca0ab
fix location and define variants
vaneck237 Jul 19, 2024
fb0a41c
Update README.md
mngoe Jul 22, 2024
a03bedc
upload family to server
vaneck237 Jul 23, 2024
d209641
upload policy and families
vaneck237 Jul 25, 2024
8f2aff9
upload family subfamily and policy
vaneck237 Jul 26, 2024
11692fc
fix upload family
vaneck237 Jul 29, 2024
0f6f16b
Merge pull request #30 from mngoe/feature-29069
vaneck237 Jul 29, 2024
542db3e
get database real value
vaneck237 Aug 6, 2024
96bf80a
merge dev comores last changes
vaneck237 Aug 6, 2024
a37c5f2
get contributionPlan and sync policy
vaneck237 Aug 7, 2024
fc54500
Merge pull request #31 from mngoe/feature-29188
vaneck237 Aug 7, 2024
65622cc
Merge pull request #200 from openimis/mngoe-patch-1
delcroip Aug 13, 2024
ea07d00
make relantionship required & hide payment method from sub-insuree
vaneck237 Aug 19, 2024
c6ecacf
make education field required for child
vaneck237 Aug 19, 2024
5902feb
fix fields
vaneck237 Aug 21, 2024
310fad7
fix form add make picture required
vaneck237 Aug 21, 2024
2201a60
fix photo error
vaneck237 Aug 21, 2024
d8c7d0f
hide education field
vaneck237 Aug 21, 2024
ac095f0
fix cannot print fields when sync insuree
vaneck237 Aug 22, 2024
e623fba
fix photo education required fields
vaneck237 Aug 23, 2024
75141a2
fix education field
vaneck237 Aug 23, 2024
43e367b
fix required relantionship
vaneck237 Aug 23, 2024
85cda16
fix education field
vaneck237 Aug 23, 2024
3162ebd
fix ducplicate HOF in sync
vaneck237 Aug 23, 2024
336a635
fix upload insuree photo
vaneck237 Aug 27, 2024
349ed69
last changes
vaneck237 Aug 27, 2024
d849f90
Merge pull request #32 from mngoe/feature-29362
vaneck237 Aug 27, 2024
5567214
fix delete polygamy family
vaneck237 Aug 28, 2024
8227039
Merge pull request #33 from mngoe/feature-29477
vaneck237 Aug 28, 2024
0710abc
fix officerId in graphql request
vaneck237 Aug 29, 2024
261ed21
point to test
vaneck237 Aug 30, 2024
673a305
hide insuree number
vaneck237 Sep 12, 2024
fad2637
fix calculation function
vaneck237 Sep 13, 2024
243d776
fix contribution calcul
vaneck237 Sep 13, 2024
946e07e
merge develop Merge branch 'develop' of https://github.com/openimis/p…
vaneck237 Sep 14, 2024
31e3c14
rename frenchVersion & englishVersion
vaneck237 Nov 6, 2024
bd9328b
update action to v4
vaneck237 Nov 29, 2024
1c20993
update action/upload-artifacts
vaneck237 Nov 29, 2024
9a92b4f
fix language in strings.xml
vaneck237 Nov 29, 2024
32e9cb1
build comores apk
vaneck237 Nov 29, 2024
63412d3
build comores apk
vaneck237 Nov 29, 2024
804d5ff
fix apk file
vaneck237 Nov 29, 2024
e07cea8
update comores CI/CD
vaneck237 Nov 29, 2024
13540af
edit manual build
vaneck237 Nov 29, 2024
af8df5d
fix upload-artifacts
vaneck237 Nov 29, 2024
1183e6c
Update LICENSE.md
vaneck237 Dec 4, 2024
3e30301
Update main.yml
vaneck237 Dec 4, 2024
35a3f38
Update main.yml
vaneck237 Dec 4, 2024
ffe6542
add signing date in policy form
vaneck237 Apr 21, 2025
2473f33
fix field
vaneck237 Apr 21, 2025
4003f15
Merge pull request #37 from mngoe/feature-31549
vaneck237 Apr 21, 2025
2fa4164
save signingDate field locally
vaneck237 Apr 21, 2025
4bebc97
Merge pull request #39 from mngoe/feature-31549
vaneck237 Apr 21, 2025
1f5a1f3
add attachment view
vaneck237 Apr 22, 2025
daf2cb9
save attachment locally and delete it
vaneck237 Apr 23, 2025
e071116
fix delete attachments
vaneck237 Apr 23, 2025
7b3b355
Merge pull request #40 from mngoe/feature-31659
vaneck237 Apr 25, 2025
c3ff156
make nin non mandatory
vaneck237 Apr 25, 2025
3df019b
ajout du champs périodicité
pauldjeuda Apr 25, 2025
af7504f
ajout du champs périodicité
pauldjeuda Apr 25, 2025
90c042f
valeur par défaut de périodicité
pauldjeuda Apr 28, 2025
7b3d52d
champs jour de paiement
pauldjeuda Apr 28, 2025
1191fe4
upload attachments to web
vaneck237 Apr 28, 2025
3f89afb
last changes
vaneck237 Apr 28, 2025
88f1ff1
Merge pull request #41 from mngoe/feature-31661
mngoe Apr 29, 2025
4ca8f9e
Modif ClientAndroideInterface
pauldjeuda Apr 29, 2025
2e71e9d
fix signing date
vaneck237 Apr 29, 2025
45cdf97
Merge branch 'develop-comores' of https://github.com/mngoe/policies_a…
vaneck237 Apr 29, 2025
b826d0a
resolve conflicts
vaneck237 Apr 29, 2025
8409674
fix conflictss
vaneck237 Apr 29, 2025
079e631
Merge pull request #42 from mngoe/feature-31552
vaneck237 Apr 29, 2025
f16285f
resolve conflicts
vaneck237 Apr 29, 2025
87c118f
resolve conflicts
vaneck237 Apr 29, 2025
9f55d83
Merge pull request #43 from mngoe/feature-31556
vaneck237 Apr 29, 2025
df479e2
Synchronisation
pauldjeuda May 5, 2025
b9d8188
Test du workflow CI/CD sur feature-31756
pauldjeuda May 6, 2025
54cdf44
Test du workflow CI/CD sur feature-31756
pauldjeuda May 6, 2025
ae6eb17
Test du workflow
pauldjeuda May 6, 2025
84b74e2
Test du workflow
pauldjeuda May 6, 2025
18030df
Test du workflow2
pauldjeuda May 6, 2025
5df5f63
Test du workflow2
pauldjeuda May 6, 2025
7127efe
Test du workflow2
pauldjeuda May 6, 2025
eff048f
Test du workflow2
pauldjeuda May 6, 2025
62fbc7e
Test du workflow2
pauldjeuda May 6, 2025
f2484ae
Test du workflow2
pauldjeuda May 6, 2025
5785425
WorkFlow
pauldjeuda May 6, 2025
31e6394
WorkFlow3
pauldjeuda May 6, 2025
0314e4c
WorkFlow apk
pauldjeuda May 6, 2025
df4df59
Fixing branch's name
pauldjeuda May 8, 2025
c337474
Merge pull request #47 from mngoe/feature-31756
vaneck237 May 9, 2025
5c0f978
Attachments
pauldjeuda May 9, 2025
6bc36a1
apk name
pauldjeuda May 9, 2025
b4439c0
Merge pull request #48 from mngoe/feature-31767
vaneck237 May 9, 2025
af7cefd
Merge pull request #49 from mngoe/feature-31756
vaneck237 May 9, 2025
61d7112
Uploading
pauldjeuda May 15, 2025
2e544a5
fix get regions
vaneck237 May 19, 2025
937ff73
synchronisation
pauldjeuda May 21, 2025
c07d362
Merge branch 'develop-comores' of https://github.com/mngoe/policies_a…
vaneck237 May 21, 2025
8d0503c
Merge branch 'feature-31714' of https://github.com/mngoe/policies_and…
vaneck237 May 21, 2025
3e6b2a1
fix PR
vaneck237 May 21, 2025
7108ca6
fix PR
vaneck237 May 21, 2025
dcac0e8
Merge pull request #53 from mngoe/feature-31714
vaneck237 May 21, 2025
52fc675
upgrade identification number maxlength to 8
vaneck237 May 22, 2025
3b7503f
fix edit insuree with policy
vaneck237 May 23, 2025
0284a94
fix insuree enquiring without policies
vaneck237 May 23, 2025
a8234f2
fix education show
vaneck237 May 26, 2025
901e7a0
change api base url to dev
vaneck237 May 27, 2025
82b64a4
fix fetch many field to edit family
vaneck237 May 27, 2025
1b97f96
total attachments
pauldjeuda May 28, 2025
9d40869
fix edit insuree who get on line
vaneck237 May 28, 2025
9a432da
Merge pull request #54 from mngoe/feature-31767
vaneck237 May 28, 2025
b9b24ca
fix edit online insuree
vaneck237 May 28, 2025
c5efbd3
Merge pull request #55 from mngoe/feature-32040
vaneck237 May 28, 2025
ce618f1
Update ClientAndroidInterface.java
pauldjeuda May 28, 2025
b2f92cc
fix update web family
vaneck237 May 28, 2025
fa118ba
Updating policies comores
pauldjeuda May 28, 2025
cd9bcb8
fix update insuree
vaneck237 May 28, 2025
ea216ae
Merge pull request #58 from mngoe/feature-32040
vaneck237 May 28, 2025
210414e
fix fetch subfamilies
vaneck237 May 29, 2025
01e2aee
udapte policies logo
pauldjeuda May 29, 2025
8f7ac16
add new version
vaneck237 May 30, 2025
7228e90
fixing getTotalFamily
pauldjeuda May 30, 2025
ba5b5de
Merge pull request #60 from mngoe/feature-32017
vaneck237 May 30, 2025
b9b20b2
Merge pull request #59 from mngoe/feature-32089
vaneck237 May 30, 2025
11a3f0c
Merge pull request #61 from mngoe/feature-32040
vaneck237 May 30, 2025
f76bbd0
update version
vaneck237 May 30, 2025
ecab296
fix get cardIssued & otherhouseold fields from modification
vaneck237 May 31, 2025
0465541
fix add & edit family
vaneck237 Jun 2, 2025
4cd53e9
fix get policies for family
vaneck237 Jun 3, 2025
d34bebf
fix print policies infos
vaneck237 Jun 3, 2025
834e3a5
fix update policy
vaneck237 Jun 3, 2025
88e676f
fix save policy locally
vaneck237 Jun 3, 2025
a2cfb56
fix update policy
vaneck237 Jun 3, 2025
a763484
fix PR
vaneck237 Jun 3, 2025
55eb142
Merge pull request #62 from mngoe/feature-32119
vaneck237 Jun 3, 2025
73f7725
fix get subfamily to modify
vaneck237 Jun 4, 2025
706fc2c
Merge pull request #63 from mngoe/feature-32043
vaneck237 Jun 4, 2025
613f9f2
last change
vaneck237 Jun 4, 2025
a21e945
Merge pull request #64 from mngoe/feature-32043
vaneck237 Jun 4, 2025
0b55a8a
last changes
vaneck237 Jun 4, 2025
e241585
edit clientAndroidInterface
vaneck237 Jun 4, 2025
8f4eb43
fix get family without insuree
vaneck237 Jun 4, 2025
d9c4830
remove unecessary file
vaneck237 Jun 4, 2025
90248ec
Merge pull request #65 from mngoe/feature-32146
vaneck237 Jun 4, 2025
2eab30e
fix sync polygamous family
vaneck237 Jun 6, 2025
ef0dad2
fix update process
vaneck237 Jun 9, 2025
c729428
resolve conflicts
vaneck237 Jun 9, 2025
26b4703
Merge pull request #57 from mngoe/feature-32032
vaneck237 Jun 9, 2025
ce13a67
fix release tag and version
vaneck237 Jun 9, 2025
f21152b
make phone mandatory for head of family
vaneck237 Jun 9, 2025
fc79513
fix last version
vaneck237 Jun 9, 2025
9b96062
fix translation
vaneck237 Jun 9, 2025
23e39d0
fix policy periodicity
vaneck237 Jun 9, 2025
60eddee
fix family head of family
vaneck237 Jun 9, 2025
42179d5
fix get start date and enddate
vaneck237 Jun 9, 2025
4e3d178
Merge pull request #66 from mngoe/feature-32144
vaneck237 Jun 9, 2025
d2f67c2
update version
vaneck237 Jun 9, 2025
54d281a
fix id 0 in graphql mutation
vaneck237 Jun 9, 2025
b2c7f97
Merge branch 'develop-comores' into feature-32043
vaneck237 Jun 9, 2025
8f20ba0
fix update insuree in polygamous family
vaneck237 Jun 9, 2025
1b4104f
fix delete polygamous family after sync
vaneck237 Jun 9, 2025
4c246f0
Merge pull request #67 from mngoe/feature-32043
vaneck237 Jun 9, 2025
b69b93a
fix policy periodicity
vaneck237 Jun 9, 2025
b44b81c
remove log
vaneck237 Jun 9, 2025
15d931c
Merge pull request #68 from mngoe/feature-32144
vaneck237 Jun 9, 2025
3e01fad
upgrade version
vaneck237 Jun 9, 2025
0ad866a
fix relationship field
vaneck237 Jun 10, 2025
ac06bbb
fix upload polygamous family
vaneck237 Jun 10, 2025
274cf4a
fix get insuree relationship
vaneck237 Jun 10, 2025
773e555
fix language
vaneck237 Jun 10, 2025
a760f87
fix calcul contribution
vaneck237 Jun 10, 2025
3697c95
fix policy calculation
vaneck237 Jun 10, 2025
dd04706
fix get attachments
vaneck237 Jun 11, 2025
c7d08d1
remove head of family option for insuree
vaneck237 Jun 11, 2025
f3df012
fix contribution periodicity choice
vaneck237 Jun 19, 2025
682e917
fix age
vaneck237 Jun 19, 2025
ba647fc
get majority age from config
vaneck237 Jun 20, 2025
965912a
fix calcul periodicity
vaneck237 Jun 20, 2025
125129a
update version
vaneck237 Jun 20, 2025
792c488
unable expirity date modification
vaneck237 Jun 23, 2025
60355a2
Merge branch 'feature-32288' of https://github.com/mngoe/policies_and…
vaneck237 Jun 23, 2025
8b2a63c
merge branch
vaneck237 Jun 23, 2025
7bd3bfa
Merge pull request #69 from mngoe/feature-32288
vaneck237 Jun 23, 2025
29279b6
Merge pull request #70 from mngoe/feature-32293
vaneck237 Jun 23, 2025
ac4204a
fix NIN character
vaneck237 Jun 23, 2025
08b79b5
block add attachment for polygamous family
vaneck237 Jul 9, 2025
ffdd085
last changes
vaneck237 Jul 14, 2025
f03bedd
last changes
vaneck237 Jul 14, 2025
bac1ca3
fix qrcode scanning
vaneck237 Jul 14, 2025
20eb2d1
keep screen on in sync process
vaneck237 Jul 17, 2025
8f726bd
Fix: Display options for additional Insuree fields in form
irs269 Jul 25, 2025
b5485a2
Merge branch 'mngoe:master' into feature25
irs269 Jul 25, 2025
a7b9e33
Fix: Display options for additional Insuree fields in form
irs269 Jul 25, 2025
86cbfc0
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Jul 25, 2025
d2ba13c
Fix: Add 5 mandatory fields to all Insuree GraphQL mutations
irs269 Jul 25, 2025
e60be96
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Jul 25, 2025
ed50b38
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Jul 25, 2025
2a758ce
add include family option
vaneck237 Jul 25, 2025
0cba37b
Fix: Add missing fields to getInsuree() SQL query
irs269 Jul 28, 2025
f4023c9
Fix: Add missing fields processing in SaveInsuree method
irs269 Jul 28, 2025
9ff14ee
Fix: Correct type handling in UpdateInsureeGraphQLRequest for new fields
irs269 Jul 28, 2025
41150ef
Fix: Complete form field handling in Insuree form
irs269 Jul 28, 2025
fb9e119
add attachment
vaneck237 Jul 28, 2025
f4cf6d6
Fix: Complete resolution of field synchronization issues
irs269 Jul 28, 2025
3bede97
feat: add GraphQL schema and request
irs269 Jul 28, 2025
f1a655b
Fix GraphQL sync issues: Add FamilyHeadInsureeInputType and enable fi…
irs269 Jul 28, 2025
af82322
Fix PR #73: Resolve GraphQL sync issues
irs269 Jul 29, 2025
361e8ed
attach head of polygamous family to sub-family
vaneck237 Jul 30, 2025
d6faca4
attach head from subfamily to another subfamily
vaneck237 Jul 31, 2025
1713f38
Fix: Rendre optionnels tous les champs de validation dans CreateFamil…
irs269 Aug 7, 2025
45fefa4
Add 5 optional fields
irs269 Aug 7, 2025
1d5262e
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Aug 7, 2025
e6e1c94
factorisation du code
irs269 Aug 7, 2025
32eae48
Add files via upload
irs269 Aug 7, 2025
5758761
Add files via upload
irs269 Aug 7, 2025
3ac515c
Update SQLHandler.java
irs269 Aug 7, 2025
5cb70ef
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Aug 7, 2025
493a555
Update SQLHandler.java
irs269 Aug 7, 2025
978caf4
Correction
irs269 Aug 8, 2025
2998301
Update ClientAndroidInterface.java
vaneck237 Aug 13, 2025
2681536
update
irs269 Aug 13, 2025
670c02d
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Aug 13, 2025
8886df9
update
irs269 Aug 13, 2025
19ef0ab
update2
irs269 Aug 13, 2025
b54bb24
update2
irs269 Aug 13, 2025
c6dd53c
Update ClientAndroidInterface.java
irs269 Aug 13, 2025
9ad3ed6
Merge pull request #75 from irs269/feature25
vaneck237 Aug 13, 2025
b94e83b
fix many pull request errors
vaneck237 Aug 13, 2025
8ea5132
correction synchronisation
irs269 Aug 19, 2025
d87d276
Merge branch 'develop-comores' into feature25
irs269 Aug 19, 2025
29fc81c
Merge pull request #76 from irs269/feature25
vaneck237 Aug 19, 2025
ad00adb
mise a jour et creation d'apk
irs269 Aug 20, 2025
52bc30c
update insuree insert with additional fields
irs269 Aug 21, 2025
48fe061
Update UpdateInsureeGraphQLRequest.java
irs269 Aug 21, 2025
46e614d
Merge branch 'feature25' of https://github.com/irs269/policies_androi…
irs269 Aug 21, 2025
83398c0
fix: Remove debug logs and fix optional field defaults in GraphQL req…
irs269 Aug 27, 2025
374fbd0
Update ClientAndroidInterface.java
irs269 Aug 27, 2025
11e4fca
Merge pull request #77 from irs269/feature25
vaneck237 Aug 27, 2025
7daaa68
fix: Add missing IncomeLevel field for family heads in Family interface
irs269 Aug 28, 2025
1c8ec62
incomelevel
irs269 Aug 28, 2025
c5bdbf6
correction
irs269 Aug 28, 2025
f96cd09
Merge pull request #78 from irs269/feature25
vaneck237 Aug 28, 2025
0925e0a
upgrade version
vaneck237 Aug 28, 2025
5cb569c
merge develop-comores branch
vaneck237 Aug 28, 2025
3373d81
remove console log
vaneck237 Aug 28, 2025
9ceb625
remove duplicate field in graphql
vaneck237 Aug 28, 2025
5fa7f15
Merge pull request #79 from mngoe/feature-32616
vaneck237 Aug 28, 2025
377acda
Show family for a polygamous or monogamous Insuree
LucRandrianjafy Sep 10, 2025
5cbbfa1
Merge pull request #80 from ArkeupIDComores/feature-arkeup
vaneck237 Sep 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 50 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: develop-comores

on:
push:
branches: [ "develop-comores" ]
pull_request:
branches: [ "develop-comores" ]

jobs:
build:
name: Build APK
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up JDK 17
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

- name: Decode keystore
run: |
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 --decode > policies_comores.jks

- name: Set up Gradle
uses: gradle/gradle-build-action@v2
with:
cache-disabled: true

- name: Build release APK
run: ./gradlew assembleComoresDevDebug
env:
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}

- name: Rename APK
run: mv app/build/outputs/apk/comoresDev/debug/app-comoresDev-debug.apk policies-comores-test.apk

- name: List APK files
run: ls -l policies-comores-test.apk

- name: Upload APK
uses: actions/upload-artifact@v4
with:
name: policies-comores-test.apk
path: policies-comores-test.apk
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- '*'
- 'develop-comores'
# tags:
# - '!v*'

Expand All @@ -27,26 +27,26 @@ jobs:

- name: build
run: |
./gradlew assembleDebug --stacktrace
./gradlew assemblecomoresDevDebug --stacktrace

- name: Environment info
run: |
gradle --version

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: openimis-policies-apk-${{github.run_number}}-${{github.sha}}
name: policies-comores-apk-${{github.run_number}}.apk
path: ./app/build/outputs/**/*.apk

- name: build
run: |
./gradlew bundleDebug --stacktrace
./gradlew bundlecomoresDevDebug --stacktrace

- name: Environment info
run: |
gradle --version

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: openimis-policies-aab-${{github.run_number}}-${{github.sha}}
name: policies-comores-aab-${{github.run_number}}.aab
path: ./app/build/outputs/**/*.aab
46 changes: 7 additions & 39 deletions .github/workflows/manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,35 +6,15 @@ on:
api_base_url:
description: URL of the REST API
required: true
default: https://release.openimis.org/rest/
app_name:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this change

description: Display name of the application
required: false
default: Policies Manual
app_dir:
description: Name of the folder in Documents, default IMIS-CLI
required: false
application_id:
description: Fully qualified name of the app
required: true
default: org.openimis.imispolicies.cli
cli_java_dir:
description: java source folder for custom functions. Only works with application_id_suffix .cli
required: false
cli_res_dir:
description: Resources folder for icons. Only works with application_id_suffix .cli
required: false
cli_assets_dir:
description: Asserts folder for images, json files.... Only works with .cli
required: false
default: https://test.amg.km/rest/
# Branch is chosen by default in github manual actions

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Setup JDK 17
uses: actions/setup-java@v2
Expand All @@ -43,14 +23,14 @@ jobs:
java-version: '17'
cache: 'gradle'

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-${{ github.event.inputs.application_id }}-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }}-${{ hashFiles('**/buildSrc/**/*.kt') }}

- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: |
~/.android
Expand All @@ -62,31 +42,19 @@ jobs:
echo url ${{ github.event.inputs.api_base_url }}
echo app name ${{ github.event.inputs.app_name }}

echo app dir ${{ github.event.inputs.app_dir }}
echo CLI_JAVA_DIR "${{ github.event.inputs.cli_java_dir }}"
echo CLI_RES_DIR "${{ github.event.inputs.cli_res_dir }}"
echo CLI_ASSETS_DIR "${{ github.event.inputs.cli_assets_dir }}"
echo APPLICATION_ID "${{ github.event.inputs.application_id }}"

- name: build
run: |
./gradlew assembleCliDebug --stacktrace
./gradlew assembleComoresDevDebug --stacktrace
env:
API_BASE_URL: "${{ github.event.inputs.api_base_url }}"
CLI_APP_NAME: "${{ github.event.inputs.app_name }}"
CLI_APP_DIR: "${{ github.event.inputs.app_dir }}"
CLI_JAVA_DIR: "${{ github.event.inputs.cli_java_dir }}"
CLI_RES_DIR: "${{ github.event.inputs.cli_res_dir }}"
CLI_ASSETS_DIR: "${{ github.event.inputs.cli_assets_dir }}"
APPLICATION_ID: "${{ github.event.inputs.application_id }}"

- name: Environment info
run: |
gradle --version

- uses: actions/upload-artifact@v2
- uses: actions/upload-artifact@v4
with:
name: openimis-policies-apk-${{github.run_number}}-${{github.sha}}
name: policies-comores-apk-${{github.run_number}}.apk
path: ./app/build/outputs/**/*.apk

# - name: build
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ fastlane/test_output
fastlane/readme.md

app/release/output.json
**/.DS_Store
.DS_Store

# Custom product flavours

Expand Down
1 change: 1 addition & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ Limitation of Liability
In no event unless required by applicable law or agreed to in writing will any copyright holder, or any other party who modifies and/or conveys the program as permitted above, be liable to you for damages, including any general, special, incidental or consequential damages arising out of the use or inability to use the program (including but not limited to loss of data or data being rendered inaccurate or losses sustained by you or third parties or a failure of the program to operate with any other programs), even if such holder or other party has been advised of the possibility of such damages.

In case of dispute arising out or in relation to the use of the program, it is subject to the public law of Switzerland. The place of jurisdiction is Berne.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ In order to use and develop the openIMIS IMIS Android Application
on your local machine, you first need to install:

* [Android Studio with Android SDK](https://developer.android.com/studio)
* [openIMIS Web Services](https://github.com/openimis/web_service_vb)


### Installation

Expand Down
13 changes: 11 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
minSdkVersion 21
targetSdkVersion 33
versionCode gitVersionCode
versionName gitVersionName
versionName "1.3.5"
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
vectorDrawables {
useSupportLibrary = true
Expand Down Expand Up @@ -92,6 +92,13 @@ android {
resValue "string", "app_name_policies", "Policies Release"
dimension = 'std'
}
comoresDev {
applicationId "org.openimis.imispolicies.comoresDev"
buildConfigField "String", "API_BASE_URL", '"https://dev.amg.km/"'
resValue "string", "app_name_policies", "Policies Comores Dev"
dimension = 'std'
resValue "string", "release_tag", "comores-dev"
}
chfDev {
applicationId "org.openimis.imispolicies.chfdev"
buildConfigField "String", "API_BASE_URL", '"http://chf-dev.swisstph-mis.ch/"'
Expand Down Expand Up @@ -152,6 +159,9 @@ android {
}
}
sourceSets {
comoresDev.java.srcDir 'src/master/java'
comoresDev.res.srcDirs = ['src/master/res', 'src/localeMv/res']

chfDev.java.srcDir 'src/chf/java'
chfDev.res.srcDirs = ['src/chf/res', 'src/localeChf/res']

Expand Down Expand Up @@ -244,5 +254,4 @@ dependencies {
androidTestImplementation('androidx.test.espresso:espresso-core:3.1.0', {
exclude group: 'com.android.support', module: 'support-annotations'
})
testImplementation 'junit:junit:4.13.2'
}
Binary file added app/csuDev/release/policies-vih.aab
Binary file not shown.
13 changes: 13 additions & 0 deletions app/src/localeMv/res/values-en/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@
<string name="ReleaseDate">Release Date</string>
<string name="TotalFamily">Total Families</string>
<string name="TotalInsuree">Total Insurees</string>
<string name="TotalAttachments">Total Attachments</string>
<string name="TotalPolicy">Total Policies</string>
<string name="TotalPremium">Total Contributions</string>
<string name="UploadEnrollment">Upload Enrolments</string>
Expand Down Expand Up @@ -477,4 +478,16 @@
<string name="CurrentResourceLanguage">Current resource language: %1$s</string>
<string name="SystemLanguageNotSupported">Current system language is not supported. The app will use the default language.</string>
<string name="SupportedLanguages">Supported languages:\n%1$s</string>
<string name="PaymentDay">Payment day</string>
<string name="Periodicity">Periodicity</string>
<string name="CheckUpdate">Check for updates</string>

<!-- New dropdown selection strings -->
<string name="SelectNoDisability">Select disability</string>
<string name="SelectNonDisablingDisease">Select disease</string>
<string name="SelectMutualInsuranceCoverage">Select coverage</string>
<string name="SelectHousingType">Select housing</string>

<string name="MonogamousFamilyMember">Members of the monogamous household</string>
<string name="PolygamousHead">Heads of polygamous sub-households</string>
</resources>
Loading