Skip to content

Commit a6a59bd

Browse files
authored
Merge pull request #87 from rollbar/publish_1.2.0
2 parents 5c21086 + 595daa5 commit a6a59bd

File tree

6 files changed

+112
-182
lines changed

6 files changed

+112
-182
lines changed

.github/workflows/ci.yml

Lines changed: 98 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -11,111 +11,111 @@ jobs:
1111
name: Flutter version ${{ matrix.flutter_version }} (Android)
1212
strategy:
1313
matrix:
14-
flutter_version: ['3.0.0']
14+
flutter_version: ["3.3.0"]
1515

1616
steps:
17-
- uses: actions/checkout@v2
18-
- uses: actions/setup-java@v1
19-
with:
20-
java-version: '11.x'
21-
- uses: subosito/flutter-action@4389e6cbc6cb8a4b18c628ff96ff90be0e926aa8
22-
with:
23-
flutter-version: ${{ matrix.flutter_version }}
24-
- name: Cache Dart and Gradle packages
25-
uses: actions/cache@v2
26-
with:
27-
path: |
28-
~/.gradle/caches
29-
~/.gradle/wrapper
30-
${{ env.PUB_CACHE }}
31-
key: ${{ runner.os }}-deps-${{ matrix.flutter_version }}-${{ hashFiles('**/pubspec.yaml', '**/pubspec.lock', '**/*.gradle*', '**/gradle-wrapper.properties') }}
32-
restore-keys: |
33-
${{ runner.os }}-deps-${{ matrix.flutter_version }}-
34-
- name: Enable pana
35-
run: flutter pub global activate pana
36-
- name: Show Flutter environment
37-
run: |
38-
which flutter
39-
flutter doctor -v
40-
- name: Build rollbar_dart
41-
working-directory: ./rollbar_dart
42-
run: |
43-
flutter pub get &&
44-
../build_tools/run-flutter-analyze ${{ matrix.flutter_version }} &&
45-
flutter pub run test
46-
- name: Run rollbar_dart Pana checks
47-
working-directory: ./rollbar_dart
48-
run: ../build_tools/run-pana ${{ matrix.flutter_version }}
49-
- name: Analyze rollbar_dart example
50-
working-directory: ./rollbar_dart/example
51-
run: |
52-
flutter pub get &&
53-
../../build_tools/run-flutter-analyze ${{ matrix.flutter_version }}
54-
- name: Build rollbar_flutter
55-
working-directory: ./rollbar_flutter
56-
run: |
57-
flutter pub get &&
58-
../build_tools/run-flutter-analyze ${{ matrix.flutter_version }} &&
59-
flutter test
60-
- name: Run rollbar_flutter Pana checks
61-
working-directory: ./rollbar_flutter
62-
run: ../build_tools/run-pana ${{ matrix.flutter_version }}
63-
- name: Test rollbar_flutter Android plugin
64-
working-directory: ./rollbar_flutter/android
65-
run: |
66-
export FLUTTER_SDK=$(../../build_tools/find-flutter-sdk)
67-
echo $FLUTTER_SDK
68-
./gradlew check
69-
- name: Build rollbar_flutter Android example
70-
working-directory: ./rollbar_flutter/example/
71-
run: flutter build apk
72-
- uses: actions/upload-artifact@v2
73-
if: ${{ always() }}
74-
# We are not supposed to lock our dependencies in packages or plugins, so we'll
75-
# at least keep track of which ones were used in the build, in case a test fails
76-
# and we need to reproduce it locally with the same dependencies.
77-
with:
78-
name: dependencies_used_${{ matrix.flutter_version }}
79-
path: |
80-
rollbar_dart/pubspec.lock
81-
rollbar_dart/example/pubspec.lock
82-
rollbar_flutter/pubspec.lock
83-
rollbar_flutter/example/pubspec.lock
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-java@v1
19+
with:
20+
java-version: "11.x"
21+
- uses: subosito/flutter-action@4389e6cbc6cb8a4b18c628ff96ff90be0e926aa8
22+
with:
23+
flutter-version: ${{ matrix.flutter_version }}
24+
- name: Cache Dart and Gradle packages
25+
uses: actions/cache@v2
26+
with:
27+
path: |
28+
~/.gradle/caches
29+
~/.gradle/wrapper
30+
${{ env.PUB_CACHE }}
31+
key: ${{ runner.os }}-deps-${{ matrix.flutter_version }}-${{ hashFiles('**/pubspec.yaml', '**/pubspec.lock', '**/*.gradle*', '**/gradle-wrapper.properties') }}
32+
restore-keys: |
33+
${{ runner.os }}-deps-${{ matrix.flutter_version }}-
34+
- name: Enable pana
35+
run: flutter pub global activate pana
36+
- name: Show Flutter environment
37+
run: |
38+
which flutter
39+
flutter doctor -v
40+
- name: Build rollbar_dart
41+
working-directory: ./rollbar_dart
42+
run: |
43+
flutter pub get &&
44+
../build_tools/run-flutter-analyze ${{ matrix.flutter_version }} &&
45+
flutter pub run test
46+
- name: Run rollbar_dart Pana checks
47+
working-directory: ./rollbar_dart
48+
run: ../build_tools/run-pana ${{ matrix.flutter_version }}
49+
- name: Analyze rollbar_dart example
50+
working-directory: ./rollbar_dart/example
51+
run: |
52+
flutter pub get &&
53+
../../build_tools/run-flutter-analyze ${{ matrix.flutter_version }}
54+
- name: Build rollbar_flutter
55+
working-directory: ./rollbar_flutter
56+
run: |
57+
flutter pub get &&
58+
../build_tools/run-flutter-analyze ${{ matrix.flutter_version }} &&
59+
flutter test
60+
- name: Run rollbar_flutter Pana checks
61+
working-directory: ./rollbar_flutter
62+
run: ../build_tools/run-pana ${{ matrix.flutter_version }}
63+
- name: Test rollbar_flutter Android plugin
64+
working-directory: ./rollbar_flutter/android
65+
run: |
66+
export FLUTTER_SDK=$(../../build_tools/find-flutter-sdk)
67+
echo $FLUTTER_SDK
68+
./gradlew check
69+
- name: Build rollbar_flutter Android example
70+
working-directory: ./rollbar_flutter/example/
71+
run: flutter build apk
72+
- uses: actions/upload-artifact@v2
73+
if: ${{ always() }}
74+
# We are not supposed to lock our dependencies in packages or plugins, so we'll
75+
# at least keep track of which ones were used in the build, in case a test fails
76+
# and we need to reproduce it locally with the same dependencies.
77+
with:
78+
name: dependencies_used_${{ matrix.flutter_version }}
79+
path: |
80+
rollbar_dart/pubspec.lock
81+
rollbar_dart/example/pubspec.lock
82+
rollbar_flutter/pubspec.lock
83+
rollbar_flutter/example/pubspec.lock
8484
8585
build_ios:
8686
runs-on: macos-latest
8787
name: Flutter version ${{ matrix.flutter_version }} (iOS)
8888
strategy:
8989
matrix:
90-
flutter_version: ['3.0.0']
90+
flutter_version: ["3.3.0"]
9191

9292
steps:
93-
- uses: actions/checkout@v2
94-
- uses: subosito/flutter-action@4389e6cbc6cb8a4b18c628ff96ff90be0e926aa8
95-
with:
96-
flutter-version: ${{ matrix.flutter_version }}
97-
- name: Cache pub packages
98-
uses: actions/cache@v2
99-
with:
100-
path: |
101-
${{ env.PUB_CACHE }}
102-
key: ${{ runner.os }}-pub-${{ matrix.flutter_version }}-${{ hashFiles('**/pubspec.yaml*') }}
103-
restore-keys: |
104-
${{ runner.os }}-pub-${{ matrix.flutter_version }}-
105-
- name: Show Flutter environment
106-
run: |
107-
which flutter
108-
flutter doctor -v
109-
- name: Build rollbar_flutter iOS example
110-
working-directory: ./rollbar_flutter/example/
111-
run: flutter build ios --no-codesign
112-
- uses: actions/upload-artifact@v2
113-
if: ${{ always() }}
114-
# Save dependencies used
115-
with:
116-
name: dependencies_used_${{ matrix.flutter_version }}
117-
path: |
118-
rollbar_dart/pubspec.lock
119-
rollbar_dart/example/pubspec.lock
120-
rollbar_flutter/pubspec.lock
121-
rollbar_flutter/example/pubspec.lock
93+
- uses: actions/checkout@v2
94+
- uses: subosito/flutter-action@4389e6cbc6cb8a4b18c628ff96ff90be0e926aa8
95+
with:
96+
flutter-version: ${{ matrix.flutter_version }}
97+
- name: Cache pub packages
98+
uses: actions/cache@v2
99+
with:
100+
path: |
101+
${{ env.PUB_CACHE }}
102+
key: ${{ runner.os }}-pub-${{ matrix.flutter_version }}-${{ hashFiles('**/pubspec.yaml*') }}
103+
restore-keys: |
104+
${{ runner.os }}-pub-${{ matrix.flutter_version }}-
105+
- name: Show Flutter environment
106+
run: |
107+
which flutter
108+
flutter doctor -v
109+
- name: Build rollbar_flutter iOS example
110+
working-directory: ./rollbar_flutter/example/
111+
run: flutter build ios --no-codesign
112+
- uses: actions/upload-artifact@v2
113+
if: ${{ always() }}
114+
# Save dependencies used
115+
with:
116+
name: dependencies_used_${{ matrix.flutter_version }}
117+
path: |
118+
rollbar_dart/pubspec.lock
119+
rollbar_dart/example/pubspec.lock
120+
rollbar_flutter/pubspec.lock
121+
rollbar_flutter/example/pubspec.lock

rollbar_flutter/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.2.0
4+
- Updated internal Rollbar Apple SDK from 1.x to 2.3.4.
5+
- Using the newest version of the Rollbar Apple SDK will improve the ability for users to catch _native_ errors and fix them while using the Flutter SDK.
6+
- Fixed compilation issue when running on iOS Simulator with Apple Silicon `arm64`.
7+
38
## 1.1.0
49
- A more robust Persistent HTTP Sender error handling strategy allows for better outcomes and recovery in case of server and client errors.
510
- The Rollbar SDK will now produce more informative logs when dealing with network, HTTP client and/or server errors.

rollbar_flutter/example/.gitignore

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,8 @@
1515
*.iws
1616
.idea/
1717

18-
# The .vscode folder contains launch configuration and tasks you configure in
19-
# VS Code which you may wish to be included in version control, so this line
20-
# is commented out by default.
21-
#.vscode/
18+
# Cocoapods
19+
ios/Podfile.lock
2220

2321
# Flutter/Dart/Pub related
2422
**/doc/api/

rollbar_flutter/example/ios/Podfile.lock

Lines changed: 0 additions & 73 deletions
This file was deleted.

rollbar_flutter/example/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@ name: rollbar_flutter_example
22
description: Demonstrates how to use the rollbar_flutter plugin.
33
version: 1.1.0
44

5-
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
5+
publish_to: "none" # Remove this line if you wish to publish to pub.dev
66

77
environment:
88
sdk: ">=2.17.0 <3.0.0"
9-
flutter: '>=3.0.0'
9+
flutter: ">=3.0.0"
1010

1111
dependencies:
1212
flutter:
1313
sdk: flutter
14-
rollbar_flutter: ^1.1.0
14+
rollbar_flutter: ^1.2.0
1515
cupertino_icons: ^1.0.0
1616

1717
dependency_overrides:

rollbar_flutter/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
name: rollbar_flutter
22
description: Connect your Flutter applications to Rollbar for error reporting.
3-
version: 1.1.0
3+
version: 1.2.0
44
homepage: https://www.rollbar.com
55
documentation: https://docs.rollbar.com/docs/flutter#flutter
66
repository: https://github.com/rollbar/rollbar-flutter
77

88
environment:
9-
sdk: '>=2.17.0 <3.0.0'
10-
flutter: '>=3.0.0'
9+
sdk: ">=2.17.0 <3.0.0"
10+
flutter: ">=3.0.0"
1111

1212
dependencies:
1313
flutter:
1414
sdk: flutter
1515
meta: ^1.7.0
16-
connectivity_plus: ^2.3.6
16+
connectivity_plus: ^3.0.0
1717
sqlite3_flutter_libs: ^0.5.9
1818
rollbar_common: ^1.1.0
1919
rollbar_dart: ^1.1.0

0 commit comments

Comments
 (0)