Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
348e353
Merge pull request #196 from mindbox-cloud/master
itmindbox May 27, 2026
598da09
MOBILE-146: Add Swift Package Manager support to mindbox_ios
justSmK May 28, 2026
64fbddd
MOBILE-146: Widen Dart SDK upper bound to <4.0.0 across packages
justSmK May 28, 2026
4e1feec
MOBILE-146: Wire example notification extensions via SPM
justSmK Jun 1, 2026
dc49627
MOBILE-146: Sync Package.swift ios-sdk pin in release scripts
justSmK Jun 1, 2026
6157c9f
MOBILE-146: Add SPM migration guide for iOS integrators
justSmK Jun 1, 2026
b4baace
MOBILE-146: Drop CocoaPods from example, bump deps to latest
justSmK Jun 1, 2026
902fffa
MOBILE-146: Re-wire example ios-sdk SPM with complete product deps
justSmK Jun 1, 2026
14827a5
MOBILE-146: Adopt Xcode recommended project settings for example
justSmK Jun 1, 2026
4b3548d
MOBILE-146: Fix example analyze under flutter_lints 6
justSmK Jun 1, 2026
15aa417
MOBILE-146: Type example ViewModel callbacks, fix complition typo
justSmK Jun 1, 2026
380e827
MOBILE-146: Fix the SPM-default claim in SPM_MIGRATION.md and trim it
justSmK Jun 2, 2026
74ad8a8
Merge pull request #199 from mindbox-cloud/feature/MOBILE-146-SPM
justSmK Jun 3, 2026
4c43bee
MOBILE-222: Align flutter example App Group ID so NC shows real pushe…
justSmK Jun 4, 2026
d922499
MOBILE-121: Bump GitHub Actions to supported Node runtimes
sergeysozinov Jun 17, 2026
0677740
deps(deps): bump sakebook/actions-flutter-pub-publisher (#202)
dependabot[bot] Jun 17, 2026
a8015d5
MOBILE-121: Drop trailing whitespace in Gitleaks workflow (#203)
justSmK Jun 17, 2026
ada4b4b
Bump SDK versions: Flutter=2.15.3, Android=2.15.3, iOS=2.15.2
github-actions[bot] Aug 3, 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
16 changes: 16 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
day: "monday"
time: "06:00"
timezone: "UTC"
open-pull-requests-limit: 1
groups:
github-actions:
patterns: ["*"]
commit-message:
prefix: "deps"
include: "scope"
23 changes: 23 additions & 0 deletions .github/git-release-ci.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -euo pipefail

# Creates a GitHub release for a single Flutter SDK package.
# Flutter SDK is a monorepo of independently-versioned packages, so this is
# called once per published package (mindbox, mindbox_android, mindbox_ios,
# mindbox_platform_interface) with that package's tag/title.
#
# Usage: git-release-ci.sh <tag> <title> <branch>
tag="${1:?usage: git-release-ci.sh <tag> <title> <branch>}"
title="${2:?usage: git-release-ci.sh <tag> <title> <branch>}"
branch="${3:?usage: git-release-ci.sh <tag> <title> <branch>}"

notes="Auto-generated release. Check more details at [Mindbox Flutter SDK Documentation](https://developers.mindbox.ru/docs/flutter-sdk)"

# Idempotent: a re-run of a release must not fail on an already-published tag.
if gh release view "$tag" >/dev/null 2>&1; then
echo "Release $tag already exists — skipping."
exit 0
fi

echo "Creating release $tag on branch $branch"
gh release create "$tag" --target "$branch" --title "$title" --notes "$notes"
38 changes: 13 additions & 25 deletions .github/workflows/analyze_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@ on:
required: true
type: string

permissions:
contents: read

jobs:
platform_interface_flutter_test:
name: platform_interface running analyze and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch || github.head_ref }}
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: "stable"
- name: Add publish_to tag
Expand All @@ -41,13 +41,10 @@ jobs:
name: android_component running analyze and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch || github.head_ref }}
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: "stable"
- name: Add publish_to tag
Expand All @@ -64,13 +61,10 @@ jobs:
name: ios_component running analyze and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch || github.head_ref }}
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: "stable"
- name: Add publish_to tag
Expand All @@ -87,13 +81,10 @@ jobs:
name: example running analyze
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch || github.head_ref }}
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: "stable"

Expand All @@ -104,13 +95,10 @@ jobs:
name: plugin running analyze and tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch || github.head_ref }}
- uses: actions/setup-java@v1
with:
java-version: "12.x"
- uses: subosito/flutter-action@v2
- uses: subosito/flutter-action@1a449444c387b1966244ae4d4f8c696479add0b2 # v2.23.0
with:
channel: "stable"

Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/distribute-develop-mission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ on:
types:
- closed

permissions:
contents: read

jobs:
call-reusable:
if: ${{ github.event.pull_request.merged == true }}
uses: ./.github/workflows/distribute-reusable.yml
with:
branch: ${{ github.base_ref }}
secrets: inherit
secrets:
GITLAB_TRIGGER_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/distribute-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,14 @@ on:
required: false
default: ""

permissions:
contents: read

jobs:
call-reusable:
uses: ./.github/workflows/distribute-reusable.yml
with:
branch: ${{ github.ref_name }} # SDK branch = current branch
app_ref: ${{ inputs.app_ref }} # optional override for GitLab ref
secrets: inherit
secrets:
GITLAB_TRIGGER_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
6 changes: 5 additions & 1 deletion .github/workflows/distribute-release-support-mission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ on:
- opened
- synchronize

permissions:
contents: read

jobs:
call-reusable:
if: ${{ startsWith(github.event.pull_request.head.ref, 'release/') }}
uses: ./.github/workflows/distribute-reusable.yml
with:
branch: ${{ github.event.pull_request.head.ref }}
secrets: inherit
secrets:
GITLAB_TRIGGER_TOKEN: ${{ secrets.GITLAB_TRIGGER_TOKEN }}
14 changes: 10 additions & 4 deletions .github/workflows/distribute-reusable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ on:
GITLAB_TRIGGER_TOKEN:
required: true

permissions:
contents: read

jobs:
trigger:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
ref: ${{ inputs.branch }}
fetch-depth: 3
Expand All @@ -29,9 +32,12 @@ jobs:
run: |
set -euo pipefail
commits="$(git log -3 --pretty=format:"%s")"
echo "commits<<EOF" >> "$GITHUB_ENV"
echo "$commits" >> "$GITHUB_ENV"
echo "EOF" >> "$GITHUB_ENV"
delim="EOF_$(openssl rand -hex 8)"
{
echo "commits<<$delim"
echo "$commits"
echo "$delim"
} >> "$GITHUB_ENV"

- name: Debug payload that will be sent to GitLab
shell: bash
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/gitleaks-secrets-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@ name: Gitleaks Secrets Validate
on:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
fetch-depth: 0

- name: Run Gitleaks
uses: gitleaks/gitleaks-action@v2
uses: gitleaks/gitleaks-action@e0c47f4f8be36e29cdc102c57e68cb5cbf0e8d1e # v3.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{ secrets.MINDBOX_GITLEAKS_LICENSE }}
GITLEAKS_LICENSE: ${{ secrets.MINDBOX_GITLEAKS_LICENSE }}
Loading