Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
50ae494
[flutter_local_notifications] Support bypassing DnD-settings on Andro…
mvarendorff2 May 8, 2025
6e58019
Google Java Format
May 8, 2025
2c02e7d
prepare for 19.2.0 release (#2613)
MaikuB May 10, 2025
6099141
[flutter_local_notifications] Remove redundant macOS version check (#…
bqubique May 18, 2025
b9bfd88
Swift Format
May 18, 2025
120cbd9
fix: bump robolectric (#2618)
Turtlepaw May 18, 2025
f1e18cc
prepare for 19.2.1 release (#2619)
MaikuB May 18, 2025
c1e460b
[flutter_local_notifications] fixed Android example app build to work…
MaikuB Jun 19, 2025
b9d6d9a
[flutter_local_notifications / flutter_local_notifications_platform_i…
TaeBbong Jun 22, 2025
b8468f5
Clang Format
Jun 22, 2025
816a1dd
[flutter_local_notifications_platform_interface] prepare for 9.1.0 pl…
MaikuB Jun 22, 2025
f47ae34
[flutter_local_notifications] prepare for 19.3.0 release (#2642)
MaikuB Jun 22, 2025
13f25b5
[flutter_local_notifications_windows] add runtimeobject.lib to resolv…
Sebastien-VZN Jul 11, 2025
4e7698f
prepare for 1.0.1 Windows plugin release (#2652)
MaikuB Jul 11, 2025
2cf7d65
[flutter_local_notifications_windows] fixed handling non-ascii charac…
yoyo930021 Jul 17, 2025
56fbd45
prepare for 19.3.1 release (#2657)
MaikuB Jul 17, 2025
ff0aa00
[flutter_local_notifications] added retrieval of dataMimeType and dat…
MaikuB Jul 21, 2025
1e65b4d
[flutter_local_notifications] added Android Semantic actions (#2660)
szechyjs Jul 25, 2025
ca523de
[flutter_local_notification] prepare for 19.4.0 release (#2663)
MaikuB Jul 25, 2025
8e73c91
updated Android release build configuration section in readme (#2669)
MaikuB Aug 14, 2025
759f4fa
[flutter_local_notifications] added null safe handling for invisible …
MaikuB Aug 25, 2025
859b66f
Merge tag 'flutter_local_notifications-v19.4.1' into flutter_local_no…
bornold Sep 10, 2025
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
4 changes: 4 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ updates:
directory: "/flutter_local_notifications_linux"
schedule:
interval: "daily"
- package-ecosystem: "pub"
directory: "/flutter_local_notifications_windows"
schedule:
interval: "daily"
- package-ecosystem: "pub"
directory: "/flutter_local_notifications"
schedule:
Expand Down
63 changes: 63 additions & 0 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: format

on:
- push
- workflow_dispatch

jobs:
java_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: axel-op/googlejavaformat-action@v3
with:
args: '--skip-sorting-imports --replace'

objc_format:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: |
which clang-format || brew install clang-format
find . -name '*.m' -exec clang-format -i {} \;
find . -path '*/ios/**/*.h' -exec clang-format -i {} \;
find . -path '*/macos/**/*.h' -exec clang-format -i {} \;
git diff --exit-code || (git commit --all -m "Clang Format" && git push)

swift_format:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: |
which swiftlint || brew install swiftlint
swiftlint --fix
git diff --exit-code || (git commit --all -m "Swift Format" && git push)

windows_cpp_format:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Install latest clang-format
run: |
sudo apt install python3-pip -y
python3 -m pip install clang-format

- name: Format C++ code
run: |
cd flutter_local_notifications_windows/src
~/.local/bin/clang-format --version
~/.local/bin/clang-format *.cpp *.hpp *.h -i
# git diff --exit-code || (git commit --all -m "Clang Format" && git push)

- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Clang format
195 changes: 132 additions & 63 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,6 @@ concurrency:
cancel-in-progress: true

jobs:
java_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: axel-op/googlejavaformat-action@v3
with:
args: '--skip-sorting-imports --replace'

objc_format:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: |
which clang-format || brew install clang-format
find . -name '*.m' -exec clang-format -i {} \;
find . -path '*/ios/**/*.h' -exec clang-format -i {} \;
find . -path '*/macos/**/*.h' -exec clang-format -i {} \;
git diff --exit-code || (git commit --all -m "Clang Format" && git push)

swift_format:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Test
run: |
which swiftlint || brew install swiftlint
swiftlint --fix
git diff --exit-code || (git commit --all -m "Swift Format" && git push)

analyze:
name: Run Dart Analyzer
runs-on: ubuntu-latest
Expand All @@ -54,6 +24,7 @@ jobs:
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
Expand All @@ -63,11 +34,29 @@ jobs:
with:
fatal-infos: true
fatal-warnings: true
format:
name: Dart formatting checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- name: Format
run: melos run format-ci
build_example_android_stable:
name: Build Android example app (stable channel)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: stable
Expand All @@ -77,15 +66,19 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Build
run: melos run build:example_android
build_example_android_3_13:
name: Build Android example app (3.13)
build_example_android_3_19:
name: Build Android example app (3.22)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.13.0
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
Expand All @@ -106,15 +99,15 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Build
run: melos run build:example_ios
build_example_ios_3_13:
name: Build iOS example app (3.13)
build_example_ios_3_19:
name: Build iOS example app (3.22)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.13.0
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
Expand All @@ -135,15 +128,15 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Build
run: melos run build:example_macos
build_example_macos_3_13:
name: Build macOS example app (3.13)
build_example_macos_3_19:
name: Build macOS example app (3.22)
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.13.0
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
Expand All @@ -168,15 +161,15 @@ jobs:
- run: flutter config --enable-linux-desktop
- name: Build
run: melos run build:example_linux
build_example_linux_3_13:
name: Build Linux example app (3.13)
build_example_linux_3_19:
name: Build Linux example app (3.22)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.13.0
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
Expand All @@ -187,8 +180,59 @@ jobs:
- run: flutter config --enable-linux-desktop
- name: Build
run: melos run build:example_linux
build_example_windows_stable:
name: Build Windows example app (stable channel)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: |
dart pub global activate melos
melos bootstrap
# Windows has a filename length limit, which this repo just hits
# This saves us precious characters during the compilation
- name: Rename directory
run: |
move flutter_local_notifications f
move f\example f\e
- name: Build
run: |
cd f\e
dart pub get
dart run msix:create
build_example_windows_3_19:
name: Build Windows example app (3.22)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: subosito/flutter-action@v2
with:
channel: stable
flutter-version: 3.22.0
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: |
dart pub global activate melos
melos bootstrap
# Windows has a filename length limit, which this repo just hits
# This saves us precious characters during the compilation
- name: Rename directory
run: |
move flutter_local_notifications f
move f\example f\e
- name: Build
run: |
cd f\e
dart pub get
dart run msix:create
unit_tests_dart:
name: Run all unit tests (Dart)
name: Run all unit tests except for Windows (Dart)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -206,6 +250,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: stable
Expand All @@ -215,31 +263,55 @@ jobs:
run: ./.github/workflows/scripts/install-tools.sh
- name: Run Tests
run: melos run test:unit:android
integration_tests_android:
name: Run integration tests (Android)
runs-on: ubuntu-latest
unit_tests_windows:
name: Run Windows unit tests (Dart)
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
java-version: '17'
- uses: subosito/flutter-action@v2
with:
channel: stable
cache: true
cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
- name: Install Tools
run: ./.github/workflows/scripts/install-tools.sh
- name: Enable KVM
- name: Install tools
run: |
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 29
script: melos run test:integration
dart pub global activate melos
melos bootstrap
- name: Build DLL for native code
run: |
cd flutter_local_notifications_windows
.\build.bat
- name: Run Tests
run: melos run test:unit:windows
# integration_tests_android:
# name: Run integration tests (Android)
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-java@v4
# with:
# distribution: 'zulu'
# java-version: '17'
# - uses: subosito/flutter-action@v2
# with:
# channel: stable
# cache: true
# cache-key: 'flutter-:os:-:channel:-:version:-:arch:-:hash:'
# - name: Install Tools
# run: ./.github/workflows/scripts/install-tools.sh
# - name: Install Linux dependendencies
# run: |
# sudo apt-get update -y
# sudo apt-get install -y libgtk-3-dev
# - name: Enable KVM
# run: |
# echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
# sudo udevadm control --reload-rules
# sudo udevadm trigger --name-match=kvm
# - uses: reactivecircus/android-emulator-runner@v2
# with:
# api-level: 29
# script: melos run test:integration
integration_tests_ios:
name: Run integration tests (iOS)
runs-on: macos-latest
Expand All @@ -261,6 +333,3 @@ jobs:
brew install applesimutils
applesimutils --byId ${{ steps.simulator-action.outputs.udid}} --bundle com.dexterous.flutterLocalNotificationsExample --setPermissions notifications=YES
- run: melos run test:integration



1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ pubspec.lock
*.idea
*.DS_Store
.dart_tool
*.dll

# Melos
pubspec_overrides.yaml
Loading