Skip to content

Commit

Permalink
chore: Update Fastlane and add GitHub Action for Demo app (#2741)
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali authored Jan 12, 2025
1 parent a286500 commit 3f3c22b
Show file tree
Hide file tree
Showing 23 changed files with 244 additions and 107 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Workflow for master/development branches
name: Workflow for kmp-impl branch

on:
pull_request:
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/upload-demo-app-on-firebase.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Upload Demo App on Firebase

on:
workflow_dispatch:
inputs:
label:
description: 'Run tests and upload demo app on Firebase'
required: true
default: 'firebase-test-on'
type: string
tester_groups:
description: 'Comma-separated list of tester groups'
required: true
default: 'mifos-mobile-testers'
type: string

pull_request:
types: [ synchronize, opened, reopened, edited, closed, labeled ]

jobs:
upload_demo_app_on_firebase:
runs-on: macos-latest
if: github.event.label.name == github.event.inputs.label
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: ☁️ Deploy Android App on Firebase
uses: openMF/[email protected]
with:
release_type: 'demo'
android_package_name: 'androidApp'
keystore_file: ${{ secrets.ORIGINAL_KEYSTORE_FILE }}
keystore_password: ${{ secrets.ORIGINAL_KEYSTORE_FILE_PASSWORD }}
keystore_alias: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS }}
keystore_alias_password: ${{ secrets.ORIGINAL_KEYSTORE_ALIAS_PASSWORD }}
google_services: ${{ secrets.GOOGLESERVICES }}
firebase_creds: ${{ secrets.FIREBASECREDS }}
tester_groups: ${{ inputs.tester_groups }}
Binary file added androidApp/src/demo/ic_launcher-playstore.png
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 androidApp/src/demo/res/mipmap-anydpi-v26/ic_launcher.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
13 changes: 13 additions & 0 deletions androidApp/src/demo/res/values/ic_launcher_background.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright 2025 Mifos Initiative
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file,
You can obtain one at https://mozilla.org/MPL/2.0/.
See https://github.com/openMF/mobile-mobile/blob/master/LICENSE.md
-->
<resources>
<color name="ic_launcher_background">#120A48</color>
</resources>
Loading

0 comments on commit 3f3c22b

Please sign in to comment.