Skip to content

Commit

Permalink
Merge branch 'main' into feature/widgetbook-preview-to-gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej-Hlatky committed Jun 19, 2024
2 parents ea3c399 + 37d6d18 commit b1b78de
Show file tree
Hide file tree
Showing 85 changed files with 1,037 additions and 311 deletions.
91 changes: 91 additions & 0 deletions .github/workflows/android_package.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Build and sign application for Android

on:
push:
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+.[0-9]+([0-9]+)"

workflow_dispatch:
inputs:
name:
description: "Release-Build-Android"
default: "Generate release build for Android"


permissions:
contents: write

jobs:
build:
environment: packaging
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: app

- name: Checkout "eidmsdk_flutter"
uses: actions/checkout@v4
with:
repository: slovensko-digital/eidmsdk-flutter
token: ${{ secrets.GH_PAT }}
path: eidmsdk_flutter

- name: Checkout "autogram_sign"
uses: actions/checkout@v4
with:
repository: slovensko-digital/avm-client-dart
token: ${{ secrets.GH_PAT }}
path: autogram_sign

- uses: actions/setup-java@v1
with:
java-version: '17.x'

- uses: subosito/flutter-action@v1
with:
flutter-version: '3.16.5'
channel: 'stable'

- name: Install dependencies
working-directory: ./app
run: flutter pub get

- name: Test
working-directory: ./app
run: flutter test

- name: Decode Keystore
env:
ENCODED_STRING: ${{ secrets.GOOGLE_KEYSTORE_BASE_64 }}
working-directory: ./app
run: echo $ENCODED_STRING | base64 -d > release_keystore.jks

- name: Build
env:
AVM_KEYSTORE_FILE: ../../release_keystore.jks
AVM_KEYSTORE_PASSWORD: ${{ secrets.GOOGLE_RELEASE_KEYSTORE_PASSWORD }}
AVM_KEY_ALIAS: ${{ secrets.GOOGLE_RELEASE_KEYSTORE_ALIAS }}
AVM_KEY_PASSWORD: ${{ secrets.GOOGLE_RELEASE_KEY_PASSWORD }}
working-directory: ./app
run: flutter build appbundle --release

- name: Upload Release Build to Artifacts
uses: actions/upload-artifact@v3
with:
name: release-artifacts
path: ./app/build/app/outputs/bundle/release/app-release.aab

- name: Create release if tag pushed
uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
draft: true
prerelease: true
files: |
./app/build/app/outputs/bundle/release/app-release.aab
43 changes: 42 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,49 @@
# Changelog

## NEXT - v1.0.2(33)

- Refactor Settings model

## 2024-06-17 - v1.0.1(1)

- Update about text in iOS build

## 2024-06-17 - v1.0.0(32)

- Update about text

## 2024-06-15 - v1.0.0(31)

- Remove iPad from target devices as iPads have no NFC
- set minimum iOS version to 12 as apple required

## 2024-06-14 - v1.0.0(30)

- Update Android and iOS icons
- Update texts
- Set default signatureType without TimeStamp

## 2024-06-13 - v1.0.0(29)

- Fix Signature Type setting UX

## 2024-06-13 - v1.0.0(28)

- #4 | Displaying Onboarding screen for Remote Document Signing only 1st time
- #7 | When signing remote Document (from QR code or URL), then cannot change Signing Type

## 2024-05-29 - v1.0.0(27)

- Android: Setup release build signing key for Google Play

## 2024-05-28 - v1.0.0(26)

- Displaying Privacy Policy and Terms of Service documents in Onboarding and Main menu
- Storing "version" value from loaded documents above

## 2024-05-07 - v1.0.0(25)

- Android: Fix auto verify Deep links - no need to manually enable domain association
- Android: Fix auto verify Deep links - no need to manually enable domain association

## 2024-05-07 - v1.0.0(24)

Expand Down
Loading

0 comments on commit b1b78de

Please sign in to comment.