Skip to content

Feature/av profile #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Jun 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
44 changes: 44 additions & 0 deletions .github/workflows/generate_next_tag.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/bin/bash

#
# Copyright (c) 2025 European Commission
#
# Licensed under the EUPL, Version 1.2 or - as soon they will be approved by the European
# Commission - subsequent versions of the EUPL (the "Licence"); You may not use this work
# except in compliance with the Licence.
#
# You may obtain a copy of the Licence at:
# https://joinup.ec.europa.eu/software/page/eupl
#
# Unless required by applicable law or agreed to in writing, software distributed under
# the Licence is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF
# ANY KIND, either express or implied. See the Licence for the specific language
# governing permissions and limitations under the Licence.
#

# Fetch the latest tags from the remote
git fetch --tags

# Get the most recent tag
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))

# Extract the base version and beta suffix
if [[ $latest_tag =~ ^v([0-9]+)\.([0-9]+)\.([0-9]+)(-beta([0-9]+))?$ ]]; then
major=${BASH_REMATCH[1]}
minor=${BASH_REMATCH[2]}
patch=${BASH_REMATCH[3]}
beta=${BASH_REMATCH[5]}

if [[ -n $beta ]]; then
# Increment beta version
next_tag="v${major}.${minor}.${patch}-beta$(printf "%02d" $((beta + 1)))"
else
# Increment patch version
next_tag="v${major}.${minor}.$((patch + 1))"
fi

echo $next_tag
else
echo "Error: Unable to parse the latest tag."
exit 1
fi
85 changes: 85 additions & 0 deletions .github/workflows/publish_release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Publish Release and add tag

on:
push:
branches:
- main

permissions:
contents: write
pull-requests: read

jobs:
build-release:
runs-on: github-runner-dune
if: github.ref == 'refs/heads/main'

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Copy CI gradle.properties
run: mkdir -p ~/.gradle ; cp .github/ci-gradle.properties ~/.gradle/gradle.properties

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

- name: Setup Android SDK
uses: amyu/setup-android@v4

- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
gradle-version: wrapper
cache-read-only: false

- name: Run lint check
run: ./gradlew lint

- name: Run unit tests
run: ./gradlew testDemoDebugUnitTest

- name: Build DEMO debug APK
run: ./gradlew assembleDemoDebug

- name: Generate Next Tag with version
run: |
chmod +x ./.github/workflows/generate_next_tag.sh
NEXT_TAG=$(./.github/workflows/generate_next_tag.sh)
echo "Next tag: $NEXT_TAG"
echo "TAG_NAME=$NEXT_TAG" >> $GITHUB_ENV

- name: Create Tag
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git tag $TAG_NAME
git push origin $TAG_NAME

- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.TAG_NAME }}
release_name: Release ${{ env.TAG_NAME }}
draft: false
prerelease: false

- name: Upload APK to Release
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: app/build/outputs/apk/demo/debug/app-demo-debug.apk
asset_name: app-demo-debug.apk
asset_content_type: application/vnd.android.package-archive

7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,13 @@ captures/
# Sign key
sign

#fastlane
# fastlane
.env.demo
.env.dev
fastlane/report.xml

# Kotlin
.kotlin/*
.kotlin/*

# extensions
*.apk
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## v0.2.0-beta01 - 2025-06-18

### Added

- Added AVSP URI scheme handling to support deep linking
- Added RedirectUri configuration to supported client ID schemes
- Added support for EUDI issuer
- Added automatic cleanup for depleted one-time-use documents
- Added credential count tracking to age verification documents

### Changed

- Updated EUDI Wallet Core dependency to version 0.17.0
- Updated document creation settings to request 30 credentials and use OneTimeUse policy
- Modified document metadata API usage (DocumentMetaData → IssuerMetadata)
- Updated BiometricCrypto implementation

## v0.1.0-beta01 - 2025-04-10

### Added
Expand Down
14 changes: 0 additions & 14 deletions FileModification.txt

This file was deleted.

6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ GEM
optparse (0.6.0)
os (1.1.4)
plist (3.7.2)
public_suffix (6.0.1)
public_suffix (6.0.2)
rake (13.2.1)
representable (3.2.0)
declarative (< 0.1.0)
Expand All @@ -192,7 +192,7 @@ GEM
ruby2_keywords (0.0.5)
rubyzip (2.4.1)
security (0.1.5)
signet (0.19.0)
signet (0.20.0)
addressable (~> 2.8)
faraday (>= 0.17.5, < 3.a)
jwt (>= 1.5, < 3.0)
Expand Down Expand Up @@ -237,4 +237,4 @@ DEPENDENCIES
fastlane-plugin-properties

BUNDLED WITH
2.6.2
2.6.8
Loading
Loading