-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into EC-104-android-base-payment-lib
* main: (178 commits) feat(health-sdk): Bump version to 4.4.0 feat(health-api-library): Bump version to 4.4.0 ci: Remove push trigger on gpc app PM-117 feat(bank-sdk): Add bank icon for gpc module PM-119 ci: Add workflow for gini payment controller PM-117 feature(bank-sdk): Transaction Docs. Added delete button at Invoice Preview screen feature(bank-sdk): Transaction Docs. Added delete button at Invoice Preview screen fix(capture-sdk): Make sure that frame will not be closed before all image detection finished PP-823 feat(bank-sdk): Bump version to 3.14.0 feat(capture-sdk): Bump version to 3.12.0 feat(bank-api-library): Bump version to 3.3.0 feature(bank-sdk): Transaction Docs. Code refactor feat(health-sdk): Doc fix feat(health-sdk): Example app update to show medical provider on invoice list feat(health-sdk): Made specific extractions public so doctor's name could be reached feature(bank-sdk): Transaction Docs. Code refactor feature(bank-sdk): Transaction Docs. Added backward compability constructors feature(bank-sdk): Transaction Docs. Removed useless library feature(bank-sdk): Transaction Docs. Tests fix feature(bank-sdk): Transaction Docs. Unit test fix ... # Conflicts: # RELEASE-ORDER.md # internal-payment-sdk/sdk/src/main/java/net/gini/android/internal/payment/bankselection/BankSelectionBottomSheet.kt
- Loading branch information
Showing
300 changed files
with
10,581 additions
and
1,214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/bank-api-library/library" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/bank-sdk/sdk" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/capture-sdk/sdk" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/capture-sdk/default-network" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/core-api-library/library" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/health-api-library/library" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/health-sdk/sdk" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/merchant-sdk/sdk" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Publish Bank SDK Example App QA Build to App Center | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'bank-sdk/**' | ||
- 'capture-sdk/**' | ||
- 'bank-api-library/**' | ||
- 'core-api-library/**' | ||
- 'gradle/**' | ||
|
||
jobs: | ||
check: | ||
uses: ./.github/workflows/bank-sdk.check.yml | ||
secrets: | ||
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }} | ||
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD: ${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }} | ||
|
||
publish_to_app_center: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.0' | ||
bundler-cache: true | ||
|
||
- name: build release example app for QA | ||
run: > | ||
./gradlew bank-sdk:example-app:assembleQaExampleAppRelease | ||
-PclientId="gini-mobile-test" | ||
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}" | ||
-PreleaseKeystoreFile="screen_api_example.jks" | ||
-PreleaseKeystorePassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
-PreleaseKeyAlias="screen_api_example" | ||
-PreleaseKeyPassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
- name: Install appcenter-cli | ||
run: > | ||
npm install -g appcenter-cli | ||
- name: Distribute Bank-sdk example apk to App Center | ||
uses: akiojin/appcenter-distribute-github-action@v1.4.11 | ||
with: | ||
token: ${{ secrets.GINI_BANK_SDK_EXAMPLE_APPCENTER_API_TOKEN }} | ||
path: bank-sdk/example-app/build/outputs/apk/qaExampleApp/release/example-app-qa-exampleApp-release.apk | ||
app: Gini-Team-Organization/Screen-API-Example-Gini-Pay-Bank-SDK | ||
group: 'Internal' | ||
release_notes: | | ||
${{ format('{{ {0} {1} }}', github.ref, github.sha) }} | ||
${{ github.event.head_commit.message }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
name: Publish Bank SDK Example App QA Build to Firebase distribution | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
paths: | ||
- 'bank-sdk/**' | ||
- 'capture-sdk/**' | ||
- 'bank-api-library/**' | ||
- 'core-api-library/**' | ||
- 'gradle/**' | ||
|
||
jobs: | ||
check: | ||
uses: ./.github/workflows/bank-sdk.check.yml | ||
secrets: | ||
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }} | ||
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD: ${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }} | ||
|
||
publish_to_firebase_distribution: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.0' | ||
bundler-cache: true | ||
|
||
- name: build release example app for QA | ||
run: > | ||
./gradlew bank-sdk:example-app:assembleQaExampleAppRelease | ||
-PclientId="gini-mobile-test" | ||
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}" | ||
-PreleaseKeystoreFile="screen_api_example.jks" | ||
-PreleaseKeystorePassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
-PreleaseKeyAlias="screen_api_example" | ||
-PreleaseKeyPassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
- name: Check file existence | ||
uses: andstor/file-existence-action@v3 | ||
with: | ||
files: "./bank-sdk/example-app/build/outputs/apk/qaExampleApp/release/example-app-qa-exampleApp-release.apk" | ||
fail: true | ||
|
||
- name: Distribute Health-sdk example apk to Firebase App Distribution | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1 | ||
with: | ||
appId: ${{secrets.GINI_BANK_SDK_EXAMPLE_APP_FIREBASE_ID}} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_CREDENTIAL_FILE_CONTENT }} | ||
groups: testers | ||
file: bank-sdk/example-app/build/outputs/apk/qaExampleApp/release/example-app-qa-exampleApp-release.apk | ||
releaseNotes: | | ||
${{ format('{{ {0} {1} }}', github.ref, github.sha) }} | ||
${{ github.event.head_commit.message }} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: Publish GPC Example App QA Build to Firebase distribution | ||
|
||
on: | ||
workflow_dispatch: | ||
jobs: | ||
check: | ||
uses: ./.github/workflows/bank-sdk.check.yml | ||
secrets: | ||
GINI_MOBILE_TEST_CLIENT_SECRET: ${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }} | ||
BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD: ${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }} | ||
|
||
publish_to_firebase_distribution: | ||
needs: check | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '17' | ||
cache: 'gradle' | ||
|
||
- name: setup ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.2.0' | ||
bundler-cache: true | ||
|
||
- name: build release example app for QA | ||
run: > | ||
./gradlew bank-sdk:example-app:assembleQaPaymentProvider3Release | ||
-PclientId="gini-mobile-test" | ||
-PclientSecret="${{ secrets.GINI_MOBILE_TEST_CLIENT_SECRET }}" | ||
-PreleaseKeystoreFile="screen_api_example.jks" | ||
-PreleaseKeystorePassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
-PreleaseKeyAlias="screen_api_example" | ||
-PreleaseKeyPassword='${{ secrets.BANK_SDK_EXAMPLE_APP_KEYSTORE_PASSWORD }}' | ||
- name: Check file existence | ||
uses: andstor/file-existence-action@v3 | ||
with: | ||
files: "./bank-sdk/example-app/build/outputs/apk/qaPaymentProvider3/release/example-app-qa-paymentProvider3-release.apk" | ||
fail: true | ||
|
||
- name: Distribute GPC example apk to Firebase App Distribution | ||
uses: wzieba/Firebase-Distribution-Github-Action@v1 | ||
with: | ||
appId: ${{secrets.GINI_PAYMENT_PROVIDER_EXAMPLE_APP_FIREBASE_ID}} | ||
serviceCredentialsFileContent: ${{ secrets.FIREBASE_CREDENTIAL_FILE_CONTENT }} | ||
groups: testers | ||
file: bank-sdk/example-app/build/outputs/apk/qaPaymentProvider3/release/example-app-qa-paymentProvider3-release.apk | ||
releaseNotes: | | ||
${{ format('{{ {0} {1} }}', github.ref, github.sha) }} | ||
${{ github.event.head_commit.message }} | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.