Skip to content

Commit 4eb31ea

Browse files
committed
Merge branch 'release/0.7.1'
2 parents 23b9bff + c0a7273 commit 4eb31ea

File tree

14 files changed

+69
-52
lines changed

14 files changed

+69
-52
lines changed

.github/workflows/build.yml

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,21 @@ jobs:
3131

3232
build-android:
3333
name: Integration tests on Android
34-
runs-on: macos-latest
34+
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v4
37-
- uses: actions/setup-java@v1
37+
38+
- name: Enable KVM group perms
39+
run: |
40+
echo 'KERNEL=="kvm", GROUP="kvm", MODE="0666", OPTIONS+="static_node=kvm"' | sudo tee /etc/udev/rules.d/99-kvm4all.rules
41+
sudo udevadm control --reload-rules
42+
sudo udevadm trigger --name-match=kvm
43+
44+
- name: Configure JDK
45+
uses: actions/setup-java@v3
3846
with:
39-
java-version: "11.x"
47+
distribution: "temurin"
48+
java-version: "17"
4049

4150
# -- Micro --
4251
- name: Cache Micro
@@ -75,7 +84,7 @@ jobs:
7584

7685
build-ios:
7786
name: Integration tests on iOS
78-
runs-on: macos-latest
87+
runs-on: macos-12
7988
steps:
8089
- uses: actions/checkout@v4
8190

@@ -100,11 +109,12 @@ jobs:
100109

101110
# -- Integration tests --
102111
- name: "Start Simulator"
103-
uses: futureware-tech/simulator-action@v1
112+
uses: futureware-tech/simulator-action@v3
104113
with:
105-
model: iPhone 13
114+
model: iPhone 14 Pro Max
106115
erase_before_boot: true
107116
shutdown_after_job: true
117+
os_version: 16.2
108118

109119
- uses: subosito/flutter-action@v2
110120
with:

CHANGELOG.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
# 0.7.1
2+
3+
* Automatically generate ID for ScreenViews (#55)
4+
15
# 0.7.0
26

3-
* Add media tracking APIs to the tracker (close #49)
7+
* Add media tracking APIs to the tracker (#49)
48
* Fix tracker initialization with partial platform context property overrides on Android (#53)
59
* Update uuid package constraint to 4.0.0 (#48) thanks to @petermnt
6-
* Add support for Android Gradle Plugin 8 (close #46) thanks to @petermnt
10+
* Add support for Android Gradle Plugin 8 (#46) thanks to @petermnt
711
* Remove documentation in the project in favour of docs.snowplow.io to reduce duplicity (#51)
812
* Update flutter_lints, http, js, and example dependency versions (#52)
913

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ This will add a line with the dependency like this to your `pubspec.yaml`:
5050

5151
```yml
5252
dependencies:
53-
snowplow_tracker: ^0.7.0
53+
snowplow_tracker: ^0.7.1
5454
```
5555
5656
Import the package into your Dart code:
@@ -196,7 +196,7 @@ Running the integration tests on Android/iOS:
196196
2. Run the integration tests (replace the Snowplow Micro URI with your IP address and set your iPhone or Android simulator name or remove to use default):
197197

198198
```bash
199-
flutter test integration_test --dart-define=ENDPOINT=http://192.168.100.127:9090 -d "iPhone 13 Pro"
199+
flutter test integration_test --dart-define=ENDPOINT=http://192.168.0.20:9090 -d "iPhone 13 Pro"
200200
```
201201

202202
Alternatively, you may also run the integration tests directly from Visual Studio Code.

android/src/main/kotlin/com/snowplowanalytics/snowplow_tracker/TrackerVersion.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
package com.snowplowanalytics.snowplow_tracker
1313

1414
object TrackerVersion {
15-
val TRACKER_VERSION = "flutter-0.7.0"
15+
val TRACKER_VERSION = "flutter-0.7.1"
1616
}

example/ios/Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PODS:
22
- Flutter (1.0.0)
33
- integration_test (0.0.1):
44
- Flutter
5-
- snowplow_tracker (0.7.0):
5+
- snowplow_tracker (0.7.1):
66
- Flutter
77
- SnowplowTracker (~> 6.0.2)
88
- SnowplowTracker (6.0.2)
@@ -26,8 +26,8 @@ EXTERNAL SOURCES:
2626

2727
SPEC CHECKSUMS:
2828
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
29-
integration_test: 13825b8a9334a850581300559b8839134b124670
30-
snowplow_tracker: 7951e14a4c8c17de35ad58eaac17dd51efda054d
29+
integration_test: ce0a3ffa1de96d1a89ca0ac26fca7ea18a749ef4
30+
snowplow_tracker: 0236afd8fee445e9e018a0d0111e41e64d9e9ad3
3131
SnowplowTracker: e53f7eb7de911801b741af2bd9e079e091fa7f2b
3232

3333
PODFILE CHECKSUM: c4c93c5f6502fe2754f48404d3594bf779584011

example/lib/main_page.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,7 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver {
119119
ElevatedButton(
120120
onPressed: () {
121121
const event = ScreenView(
122-
id: '2c295365-eae9-4243-a3ee-5c4b7baccc8f',
123-
name: 'home',
124-
type: 'full',
125-
transitionType: 'none');
122+
name: 'home', type: 'full', transitionType: 'none');
126123
trackEvent(event);
127124
},
128125
child: const Text('Send Screen View Event'),

example/lib/overview.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This will add a line with the dependency like this to your `pubspec.yaml`:
2727
2828
```yml
2929
dependencies:
30-
snowplow_tracker: ^0.7.0
30+
snowplow_tracker: ^0.7.1
3131
```
3232
3333
Import the package into your Dart code:

example/pubspec.lock

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: args
8-
sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596
8+
sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "2.4.2"
11+
version: "2.5.0"
1212
async:
1313
dependency: transitive
1414
description:
@@ -61,10 +61,10 @@ packages:
6161
dependency: "direct main"
6262
description:
6363
name: cupertino_icons
64-
sha256: d57953e10f9f8327ce64a508a355f0b1ec902193f66288e8cb5070e7c47eeb2d
64+
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
6565
url: "https://pub.dev"
6666
source: hosted
67-
version: "1.0.6"
67+
version: "1.0.8"
6868
fake_async:
6969
dependency: transitive
7070
description:
@@ -111,10 +111,10 @@ packages:
111111
dependency: "direct main"
112112
description:
113113
name: flutter_markdown
114-
sha256: "31c12de79262b5431c5492e9c89948aa789158435f707d3519a7fdef6af28af7"
114+
sha256: "5b24061317f850af858ef7151dadbb6eb77c1c449c954c7bb064e8a5e0e7d81f"
115115
url: "https://pub.dev"
116116
source: hosted
117-
version: "0.6.22+1"
117+
version: "0.6.20"
118118
flutter_test:
119119
dependency: "direct dev"
120120
description: flutter
@@ -163,26 +163,26 @@ packages:
163163
dependency: transitive
164164
description:
165165
name: leak_tracker
166-
sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa"
166+
sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"
167167
url: "https://pub.dev"
168168
source: hosted
169-
version: "10.0.0"
169+
version: "10.0.4"
170170
leak_tracker_flutter_testing:
171171
dependency: transitive
172172
description:
173173
name: leak_tracker_flutter_testing
174-
sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0
174+
sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"
175175
url: "https://pub.dev"
176176
source: hosted
177-
version: "2.0.1"
177+
version: "3.0.3"
178178
leak_tracker_testing:
179179
dependency: transitive
180180
description:
181181
name: leak_tracker_testing
182-
sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47
182+
sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3"
183183
url: "https://pub.dev"
184184
source: hosted
185-
version: "2.0.1"
185+
version: "3.0.1"
186186
lints:
187187
dependency: transitive
188188
description:
@@ -219,10 +219,10 @@ packages:
219219
dependency: transitive
220220
description:
221221
name: meta
222-
sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04
222+
sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"
223223
url: "https://pub.dev"
224224
source: hosted
225-
version: "1.11.0"
225+
version: "1.12.0"
226226
path:
227227
dependency: transitive
228228
description:
@@ -258,7 +258,7 @@ packages:
258258
path: ".."
259259
relative: true
260260
source: path
261-
version: "0.7.0"
261+
version: "0.7.1"
262262
source_span:
263263
dependency: transitive
264264
description:
@@ -319,10 +319,10 @@ packages:
319319
dependency: transitive
320320
description:
321321
name: test_api
322-
sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b"
322+
sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"
323323
url: "https://pub.dev"
324324
source: hosted
325-
version: "0.6.1"
325+
version: "0.7.0"
326326
typed_data:
327327
dependency: transitive
328328
description:
@@ -335,10 +335,10 @@ packages:
335335
dependency: "direct main"
336336
description:
337337
name: uuid
338-
sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8
338+
sha256: "814e9e88f21a176ae1359149021870e87f7cddaf633ab678a5d2b0bff7fd1ba8"
339339
url: "https://pub.dev"
340340
source: hosted
341-
version: "4.3.3"
341+
version: "4.4.0"
342342
vector_math:
343343
dependency: transitive
344344
description:
@@ -351,10 +351,10 @@ packages:
351351
dependency: transitive
352352
description:
353353
name: vm_service
354-
sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957
354+
sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"
355355
url: "https://pub.dev"
356356
source: hosted
357-
version: "13.0.0"
357+
version: "14.2.1"
358358
web:
359359
dependency: transitive
360360
description:
@@ -373,4 +373,4 @@ packages:
373373
version: "3.0.3"
374374
sdks:
375375
dart: ">=3.3.0 <4.0.0"
376-
flutter: ">=3.19.0"
376+
flutter: ">=3.18.0-18.0.pre.54"

ios/Classes/TrackerVersion.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@
1212
import Foundation
1313

1414
class TrackerVersion {
15-
static let TRACKER_VERSION = "flutter-0.7.0"
15+
static let TRACKER_VERSION = "flutter-0.7.1"
1616
}

ios/snowplow_tracker.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
Pod::Spec.new do |s|
66
s.name = 'snowplow_tracker'
7-
s.version = '0.7.0'
7+
s.version = '0.7.1'
88
s.summary = 'A package for tracking Snowplow events in Flutter apps.'
99
s.description = <<-DESC
1010
A package for tracking Snowplow events in Flutter apps.

0 commit comments

Comments
 (0)