Skip to content

Commit f9aa0a2

Browse files
authored
Merge pull request #1066 from OneSignal/fadi/fix-example
chore: update flutter example
2 parents ecdb0a3 + ff77fe3 commit f9aa0a2

File tree

38 files changed

+754
-491
lines changed

38 files changed

+754
-491
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,22 @@ name: CI
22
on:
33
pull_request:
44
branches:
5-
- '**'
5+
- "**"
66
paths-ignore:
7-
- '.github/**'
8-
- '.vscode/**'
9-
- 'README.md'
7+
- ".github/**"
8+
- ".vscode/**"
9+
- "README.md"
1010
workflow_dispatch:
1111

1212
jobs:
1313
build:
1414
runs-on: ubuntu-latest
15+
container:
16+
image: ghcr.io/cirruslabs/flutter:3.35.5
1517

1618
steps:
17-
- name: Setup Flutter
18-
uses: subosito/flutter-action@v2
19-
with:
20-
flutter-version: '3.3.2'
21-
channel: 'stable'
22-
2319
- name: Checkout OneSignal-Flutter-SDK
24-
uses: actions/checkout@v3
20+
uses: actions/checkout@v5
2521

2622
- name: Install Dependencies 🔗⛓📦
2723
run: flutter pub get
@@ -30,7 +26,7 @@ jobs:
3026
run: flutter analyze
3127

3228
- name: Ensure the Dart code is formatted correctly
33-
run: flutter format --set-exit-if-changed --dry-run .
29+
run: dart format --set-exit-if-changed --output=none .
3430

3531
- name: Run Flutter unit tests
3632
run: flutter test

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
.packages
55
.pub/
66
pubspec.lock
7+
**/local.properties
78

89
build/
910
android/.idea
1011
.flutter-plugins-dependencies
1112
flutter_export_environment.sh
13+
example/ios/Flutter/ephemeral/
1214

1315
# IntelliJ related
1416
*.iml

.vscode/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"[objective-c]": {
3+
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd"
4+
}
5+
}
-9.94 KB
Binary file not shown.

0 commit comments

Comments
 (0)