Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b804848
Merge pull request #827 from mindbox-cloud/feature/embedded-block-web…
justSmK Oct 27, 2026
bef28c5
MOBILE-569: Add the SDK Console verification file to the push modules
enotniy Oct 27, 2026
ccc0029
MOBILE-569: Use the verification files issued by SDK Console
enotniy Oct 27, 2026
44fe525
Merge pull request #829 from mindbox-cloud/feature/MOBILE-569-push-mo…
enotniy Oct 27, 2026
b4c8f90
MOBILE-569: Bump kmp-common-sdk to pick up the SDK Console verificati…
enotniy Oct 27, 2026
64938ef
Merge pull request #830 from mindbox-cloud/feature/MOBILE-569-bump-km…
enotniy Oct 27, 2026
1ab9c19
MOBILE-0000: Generate the API reference with Dokka (#831)
justSmK Oct 28, 2026
f7fd1eb
MOBILE-0000: Publish the API reference next to the test coverage (#832)
justSmK Oct 28, 2026
8cf444a
MOBILE-0000: Use a GitHub App token instead of the PAT in release flo…
justSmK Oct 28, 2026
e63c8dd
MOBILE-0000: fix flaky test
Oct 28, 2026
86deb6b
Merge pull request #834 from mindbox-cloud/fix_flaky_test
sergeysozinov Oct 28, 2026
71c85fe
MOBILE-0000: keep RoomDatabase constructors for AGP 9 R8 strict mode
Oct 29, 2026
3eadcf8
Merge pull request #835 from mindbox-cloud/fix/agp9-room-keep-rule
sergeysozinov Oct 29, 2026
8a8d119
Merge pull request #836 from mindbox-cloud/master
itmindbox Oct 30, 2026
a70c4a7
deps(deps): bump the github-actions group across 1 directory with 6 u…
dependabot[bot] Nov 2, 2026
1eb3325
Merge pull request #837 from mindbox-cloud/dependabot/github_actions/…
sergeysozinov Nov 2, 2026
07337af
MOBILE-631: Raise minSdk to 23
Nov 5, 2026
0775eb1
MOBILE-635: Drop an in-app whose frequency or display condition canno…
Nov 3, 2026
f23467b
Merge pull request #840 from mindbox-cloud/feature/MOBILE-635-unknown…
Vailence Nov 5, 2026
95c8317
Merge pull request #838 from mindbox-cloud/feature/MOBILE-631
sergeysozinov Nov 9, 2026
e74c2a7
deps(deps): bump the github-actions group with 2 updates
dependabot[bot] Nov 9, 2026
7b1a2df
Merge pull request #841 from mindbox-cloud/dependabot/github_actions/…
sergeysozinov Nov 9, 2026
bfd05a1
MOBILE-571: Send the tracking ids to the tracking host derived from d…
enotniy Nov 9, 2026
197b143
MOBILE-571: Mask the tracking ids in the SDK logs
enotniy Nov 9, 2026
f911335
MOBILE-571: Generate a random deviceUuid with disableTrackingIds or a…
enotniy Nov 9, 2026
47ff9ad
MOBILE-571: Resend the ids after a fallback and keep the Keepalive clock
enotniy Nov 9, 2026
ee6f19c
MOBILE-571: Route the tracking events by their own types
enotniy Nov 13, 2026
9e9935b
MOBILE-571: Keep the reported ids while a provider is not ready and h…
enotniy Nov 16, 2026
1578ef6
MOBILE-571: Erase the reported ids when init gets an empty list of pu…
enotniy Nov 16, 2026
2af694e
MOBILE-571: Close the test gaps of the tracking host
enotniy Nov 16, 2026
fb7d3c5
MOBILE-571: Keep a tracking event off the main host and store the sen…
enotniy Nov 16, 2026
1be3bc5
MOBILE-571: Name the set stored in clear by 2.15.5 for what it is
enotniy Nov 16, 2026
e38e92d
MOBILE-571: Serialize the writes of the sent mark and read the passed…
enotniy Nov 16, 2026
acd6da0
MOBILE-571: Keep the request body and the listeners out of the Volley…
enotniy Nov 16, 2026
a8663ea
MOBILE-571: Tidy the tracking log lines seen on a device
enotniy Nov 16, 2026
c14102a
Merge pull request #843 from mindbox-cloud/feature/MOBILE-571
enotniy Nov 16, 2026
3b0923c
MOBILE-571: Spend a single info version when only the tracking ids ch…
enotniy Nov 18, 2026
67d3616
MOBILE-571: Check the single version in the existing tracking ids test
enotniy Nov 18, 2026
2a27704
Merge pull request #844 from mindbox-cloud/feature/MOBILE-571-info-up…
enotniy Nov 18, 2026
26354b5
Bump SDK version to 2.17.0
github-actions[bot] Nov 19, 2026
69b61eb
Reset intentChanged after send
enotniy Nov 19, 2026
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
25 changes: 25 additions & 0 deletions .github/pages/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Mindbox Android SDK</title>
<style>
:root { color-scheme: light dark; --bg: #ffffff; --fg: #1d1d1f; --muted: #6e6e73; --card: #f5f5f7; --link: #0066cc; }
@media (prefers-color-scheme: dark) { :root { --bg: #111113; --fg: #f5f5f7; --muted: #a1a1a6; --card: #1d1d1f; --link: #4da3ff; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
main { max-width: 640px; margin: 0 auto; padding: 64px 16px; }
h1 { font-size: 32px; margin: 0 0 32px; }
a.card { display: block; padding: 20px 24px; margin-bottom: 16px; border-radius: 12px; background: var(--card); color: var(--fg); text-decoration: none; }
a.card strong { display: block; font-size: 18px; color: var(--link); }
a.card span { color: var(--muted); }
</style>
</head>
<body>
<main>
<h1>Mindbox Android SDK</h1>
<a class="card" href="api/"><strong>API reference</strong><span>Public API of the develop branch</span></a>
<a class="card" href="coverage/"><strong>Test coverage</strong><span>Unit test coverage of the develop branch</span></a>
</main>
</body>
</html>
101 changes: 88 additions & 13 deletions .github/workflows/lint_unitTests_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- opened
- reopened
- synchronize
workflow_dispatch:

permissions:
contents: read
Expand All @@ -24,18 +25,18 @@ jobs:
submodules: true

- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' && !startsWith(github.ref, 'refs/heads/mission/') }}

- name: Setup Android SDK
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'

Expand Down Expand Up @@ -81,26 +82,26 @@ jobs:
submodules: true

- name: Set up JDK 21
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '21'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' && !startsWith(github.ref, 'refs/heads/mission/') }}

- name: Setup Android SDK
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'

- name: unit tests with coverage
run: ./gradlew --no-daemon --stacktrace testDebugUnitTest :koverHtmlReportCoverage

- name: test report
uses: mikepenz/action-junit-report@d9f48fc87bc235f7e214acf696ca5abc0a986f16 # v6.4.2
uses: mikepenz/action-junit-report@a16be3a69023e9bd7e748ede768b3282ea7b30ce # v6.7.1
if: ${{ always() }}
with:
report_paths: '**/build/test-results/testDebugUnitTest/TEST-*.xml'
Expand All @@ -109,25 +110,99 @@ jobs:
annotate_only: true

- name: upload coverage report
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
if: github.ref == 'refs/heads/develop'
with:
name: coverage-site
path: build/reports/kover/htmlCoverage
retention-days: 1

deploy-coverage:
api-reference:
runs-on: ubuntu-latest
needs: unit
if: github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
submodules: true

- name: Set up JDK 17
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1

- name: Setup Android SDK
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'

- name: build the API reference
run: ./gradlew --no-daemon :dokkaGenerate

- uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: api-reference
path: build/dokka/html
retention-days: 1

pages:
runs-on: ubuntu-latest
needs: [unit, api-reference]
if: ${{ !cancelled() && github.ref == 'refs/heads/develop' && needs.unit.result == 'success' }}
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deploy.outputs.page_url }}
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1

- name: download coverage report
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: coverage-site
path: site/coverage

- name: download API reference
if: needs.api-reference.result == 'success'
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
with:
name: api-reference
path: api-reference

- name: cache API reference
if: needs.api-reference.result == 'success'
uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: api-reference
key: api-reference-${{ github.sha }}

- name: restore the last API reference
if: needs.api-reference.result != 'success'
uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: api-reference
key: api-reference-${{ github.sha }}
restore-keys: api-reference-

- name: assemble site
run: |
cp .github/pages/index.html site/
[ -d api-reference ] || { echo "::error::No API reference to deploy; the published site stays as it is"; exit 1; }
mv api-reference site/api

- uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: site

- name: deploy to GitHub Pages
id: deploy
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1

build:
runs-on: ubuntu-latest
Expand All @@ -137,13 +212,13 @@ jobs:
submodules: true

- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'

- name: Set up Gradle
uses: gradle/actions/setup-gradle@3f5f9adaf7d9fecd50b5935e54106014257a94e6 # v6.4.0
uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1
with:
cache-read-only: ${{ github.ref != 'refs/heads/develop' && !startsWith(github.ref, 'refs/heads/mission/') }}

Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/manual-prepare_release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,17 @@ jobs:
runs-on: ubuntu-latest
needs: [bump_and_branch, check_sdk_version]
steps:
- name: Create App token
id: app-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.MOBILE_CI_APP_CLIENT_ID }}
private-key: ${{ secrets.MOBILE_CI_APP_PRIVATE_KEY }}
permission-contents: read
permission-pull-requests: write
- name: Create PR via GitHub CLI
env:
GH_TOKEN: ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
SRC: ${{ needs.bump_and_branch.outputs.release_branch }}
DST: ${{ github.event.inputs.target_branch }}
REPO: ${{ github.repository }}
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/prepare_release_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,18 @@ jobs:
with:
submodules: recursive

- name: Create App token
id: app-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.MOBILE_CI_APP_CLIENT_ID }}
private-key: ${{ secrets.MOBILE_CI_APP_PRIVATE_KEY }}
permission-contents: read
permission-pull-requests: write

- name: Create Pull Request
env:
GH_TOKEN: ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}
REF_NAME: ${{ github.ref_name }}
run: |
gh pr create \
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-example-to-play.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ jobs:
echo "version_name=$version_name" >> "$GITHUB_OUTPUT"

- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'

- name: Setup Android SDK
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'

Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
-PEXAMPLE_VERSION_CODE="$VERSION_CODE"

- name: Attach AAB to workflow run
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2
with:
name: example-release-bundle
path: example/app/build/outputs/bundle/release/app-release.aab
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-from-master-or-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
SIGNINGKEYID: ${{ secrets.SIGNINGKEYID }}
CENTER_PORTAL_USERNAME: ${{ secrets.CENTER_PORTAL_USERNAME }}
CENTER_PORTAL_PASSWORD: ${{ secrets.CENTER_PORTAL_PASSWORD }}
PAT_FOR_TRIGGERING_BRANCH_PROTECTION: ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
MOBILE_CI_APP_PRIVATE_KEY: ${{ secrets.MOBILE_CI_APP_PRIVATE_KEY }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ jobs:
SIGNINGKEYID: ${{ secrets.SIGNINGKEYID }}
CENTER_PORTAL_USERNAME: ${{ secrets.CENTER_PORTAL_USERNAME }}
CENTER_PORTAL_PASSWORD: ${{ secrets.CENTER_PORTAL_PASSWORD }}
PAT_FOR_TRIGGERING_BRANCH_PROTECTION: ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
MOBILE_CI_APP_PRIVATE_KEY: ${{ secrets.MOBILE_CI_APP_PRIVATE_KEY }}
28 changes: 19 additions & 9 deletions .github/workflows/publish-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ on:
required: true
CENTER_PORTAL_PASSWORD:
required: true
PAT_FOR_TRIGGERING_BRANCH_PROTECTION:
MOBILE_CI_APP_PRIVATE_KEY:
required: true

permissions:
Expand All @@ -35,12 +35,12 @@ jobs:
submodules: recursive

- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Android SDK
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'
- name: lint check
Expand All @@ -55,12 +55,12 @@ jobs:
submodules: recursive

- name: Set up JDK 21
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '21'
- name: Setup Android SDK
uses: android-actions/setup-android@40fd30fb8d7440372e1316f5d1809ec01dcd3699 # v4.0.1
uses: android-actions/setup-android@be39fa834029ff78f1a44aa3bb0819b8fc2bd8fd # v4.0.4
with:
packages: 'platform-tools'
- name: unit tests
Expand All @@ -76,7 +76,7 @@ jobs:
submodules: recursive

- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
ref: ${{ inputs.branch }}
submodules: recursive
- name: Set up JDK 17
uses: actions/setup-java@b6effb05e454b25005698d916606bdc6ffcbf961 # v5.7.0
uses: actions/setup-java@77dd5b2ce225ea11469928ac317850245a74ae78 # v6.2.0
with:
distribution: 'temurin'
java-version: '17'
Expand Down Expand Up @@ -178,16 +178,26 @@ jobs:
startsWith(github.head_ref, 'release') &&
github.base_ref == 'master'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.PAT_FOR_TRIGGERING_BRANCH_PROTECTION }}
steps:
- name: Create App token
id: app-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ vars.MOBILE_CI_APP_CLIENT_ID }}
private-key: ${{ secrets.MOBILE_CI_APP_PRIVATE_KEY }}
permission-contents: write
permission-pull-requests: write
- name: Checkout develop branch
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: develop
- name: Create Pull Request
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: gh pr create --base develop --head master --title "Merge 'master' into 'develop' after release" --body "Automated Pull Request to merge 'master' into 'develop' after release"
- name: Merge Pull Request
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
pr_number=$(gh pr list --base develop --head master --json number --jq '.[0].number')
gh pr merge "$pr_number" --merge --auto
Loading
Loading