Skip to content

Commit ce323a2

Browse files
authored
Merge branch 'main' into fix/keyboard-overflow
2 parents b83f8a0 + 216fe79 commit ce323a2

File tree

6 files changed

+46
-9
lines changed

6 files changed

+46
-9
lines changed

.github/cspell.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
version: "0.2"
22
ignorePaths:
33
[
4+
"**/build/**",
45
"**/coverage",
56
"**/*.xcscheme",
67
"**/*.storyboard",
@@ -23,6 +24,7 @@ ignorePaths:
2324
"cspell.yaml",
2425
"**/build.gradle",
2526
"**/proguard-rules.pro",
27+
"**/.github/**",
2628
]
2729
dictionaries:
2830
- names
@@ -64,3 +66,4 @@ words:
6466
- libexec
6567
- SRCROOT
6668
- Codelab
69+
- pubspec

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ concurrency:
1818
jobs:
1919
quality:
2020
name: Quality Checks
21-
runs-on: macos-14
21+
runs-on: macos-15
2222
defaults:
2323
run:
2424
working-directory: packages/home_widget
@@ -42,7 +42,7 @@ jobs:
4242
run: flutter test --coverage
4343
- name: Archieve Golden Failures
4444
if: failure()
45-
uses: actions/upload-artifact@v3
45+
uses: actions/upload-artifact@v4
4646
with:
4747
name: Golden failures
4848
retention-days: 2
@@ -69,11 +69,11 @@ jobs:
6969
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
7070
sudo udevadm control --reload-rules
7171
sudo udevadm trigger --name-match=kvm
72-
- name: Set up JDK 11
72+
- name: Set up JDK 17
7373
uses: actions/setup-java@v4
7474
with:
7575
distribution: 'temurin'
76-
java-version: '11'
76+
java-version: '17'
7777
- name: Run Android Integration Tests
7878
uses: reactivecircus/android-emulator-runner@v2
7979
with:
@@ -88,9 +88,9 @@ jobs:
8888
strategy:
8989
matrix:
9090
device:
91-
- "iPhone 14"
91+
- "iPhone 15"
9292
fail-fast: false
93-
runs-on: macos-14
93+
runs-on: macos-15
9494
defaults:
9595
run:
9696
working-directory: packages/home_widget/example

CHANGELOG.md

+23
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,29 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## 2025-02-06
7+
8+
### Changes
9+
10+
---
11+
12+
Packages with breaking changes:
13+
14+
- There are no breaking changes in this release.
15+
16+
Packages with other changes:
17+
18+
- [`home_widget` - `v0.7.0+1`](#home_widget---v0701)
19+
20+
---
21+
22+
#### `home_widget` - `v0.7.0+1`
23+
24+
- **FIX**: Runtime error when starting App from Widget on Android 15 ([#330](https://github.com/abausg/home_widget/issues/330)). ([64a38eb3](https://github.com/abausg/home_widget/commit/64a38eb39fb6ef20342ac2a5eaf5c9bedf2e6c75))
25+
- **DOCS**: Move Documentation to docs.page ([#287](https://github.com/abausg/home_widget/issues/287)). ([52ee746a](https://github.com/abausg/home_widget/commit/52ee746ad1d1dd9ef2aa9f1c61e482825f73d9d9))
26+
- **DOCS**: Improve pubspec metadata ([#283](https://github.com/abausg/home_widget/issues/283)). ([f23c63e8](https://github.com/abausg/home_widget/commit/f23c63e8d393708aaf197ccb54b391d81a765a19))
27+
28+
629
## 2024-08-28
730

831
### Changes

packages/home_widget/CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.7.0+1
2+
3+
- **FIX**: Runtime error when starting App from Widget on Android 15 ([#330](https://github.com/abausg/home_widget/issues/330)). ([64a38eb3](https://github.com/abausg/home_widget/commit/64a38eb39fb6ef20342ac2a5eaf5c9bedf2e6c75))
4+
- **DOCS**: Move Documentation to docs.page ([#287](https://github.com/abausg/home_widget/issues/287)). ([52ee746a](https://github.com/abausg/home_widget/commit/52ee746ad1d1dd9ef2aa9f1c61e482825f73d9d9))
5+
- **DOCS**: Improve pubspec metadata ([#283](https://github.com/abausg/home_widget/issues/283)). ([f23c63e8](https://github.com/abausg/home_widget/commit/f23c63e8d393708aaf197ccb54b391d81a765a19))
6+
17
## 0.7.0
28

39
- **DOCS**: Move Documentation to docs.page ([#287](https://github.com/abausg/home_widget/issues/287)). ([52ee746a](https://github.com/abausg/home_widget/commit/52ee746ad1d1dd9ef2aa9f1c61e482825f73d9d9))

packages/home_widget/android/src/main/kotlin/es/antonborri/home_widget/HomeWidgetIntent.kt

+7-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,13 @@ object HomeWidgetLaunchIntent {
3333
}
3434

3535
val options = ActivityOptions.makeBasic()
36-
options.pendingIntentBackgroundActivityStartMode =
37-
ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED
36+
if (Build.VERSION.SDK_INT >= 35) {
37+
options.setPendingIntentCreatorBackgroundActivityStartMode(
38+
ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED)
39+
} else if (Build.VERSION.SDK_INT >= 34) {
40+
options.pendingIntentBackgroundActivityStartMode =
41+
ActivityOptions.MODE_BACKGROUND_ACTIVITY_START_ALLOWED
42+
}
3843

3944
return PendingIntent.getActivity(context, 0, intent, flags, options.toBundle())
4045
}

packages/home_widget/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: home_widget
22
description: A plugin to provide a common interface for creating HomeScreen Widgets for Android and iOS.
3-
version: 0.7.0
3+
version: 0.7.0+1
44
repository: https://github.com/ABausG/home_widget
55
funding:
66
- https://github.com/sponsors/ABausG/

0 commit comments

Comments
 (0)