File tree Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Expand file tree Collapse file tree 5 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
- ## 6.1.4-wip
1
+ ## 6.1.4
2
2
3
3
- Fix formatting and remove dependency on ` package:intl ` .
4
4
- Remove direct usage of ` package:path ` in favor of ` package:file ` .
5
+ - Added ` androidAppId ` and ` iosBundleId ` to the ` Event.devtoolsEvent ` constructor.
5
6
6
7
## 6.1.3
7
8
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ const int kMaxLogFileSize = 25 * (1 << 20);
87
87
const String kLogFileName = 'dart-flutter-telemetry.log' ;
88
88
89
89
/// The current version of the package, should be in line with pubspec version.
90
- const String kPackageVersion = '6.1.4-wip ' ;
90
+ const String kPackageVersion = '6.1.4' ;
91
91
92
92
/// The minimum length for a session.
93
93
const int kSessionDurationMinutes = 30 ;
Original file line number Diff line number Diff line change @@ -399,6 +399,10 @@ final class Event {
399
399
int ? rootSetCount,
400
400
int ? rowCount,
401
401
int ? inspectorTreeControllerId,
402
+
403
+ // DeepLinkScreenMetrics
404
+ String ? androidAppId,
405
+ String ? iosBundleId,
402
406
}) : eventName = DashEvent .devtoolsEvent,
403
407
eventData = {
404
408
'eventCategory' : eventCategory,
@@ -446,6 +450,9 @@ final class Event {
446
450
if (rowCount != null ) 'rowCount' : rowCount,
447
451
if (inspectorTreeControllerId != null )
448
452
'inspectorTreeControllerId' : inspectorTreeControllerId,
453
+ // DeepLinkScreenMetrics
454
+ if (androidAppId != null ) 'androidAppId' : androidAppId,
455
+ if (iosBundleId != null ) 'iosBundleId' : iosBundleId,
449
456
};
450
457
451
458
/// Event that contains the results for a specific doctor validator.
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ description: >-
5
5
# LINT.IfChange
6
6
# When updating this, keep the version consistent with the changelog and the
7
7
# value in lib/src/constants.dart.
8
- version : 6.1.4-wip
8
+ version : 6.1.4
9
9
# LINT.ThenChange(lib/src/constants.dart)
10
10
repository : https://github.com/dart-lang/tools/tree/main/pkgs/unified_analytics
11
11
Original file line number Diff line number Diff line change @@ -587,6 +587,8 @@ void main() {
587
587
rootSetCount: 123 ,
588
588
rowCount: 123 ,
589
589
inspectorTreeControllerId: 123 ,
590
+ androidAppId: 'androidAppId' ,
591
+ iosBundleId: 'iosBundleId' ,
590
592
);
591
593
592
594
final constructedEvent = generateEvent ();
@@ -622,7 +624,9 @@ void main() {
622
624
expect (constructedEvent.eventData['rootSetCount' ], 123 );
623
625
expect (constructedEvent.eventData['rowCount' ], 123 );
624
626
expect (constructedEvent.eventData['inspectorTreeControllerId' ], 123 );
625
- expect (constructedEvent.eventData.length, 28 );
627
+ expect (constructedEvent.eventData['androidAppId' ], 'androidAppId' );
628
+ expect (constructedEvent.eventData['iosBundleId' ], 'iosBundleId' );
629
+ expect (constructedEvent.eventData.length, 30 );
626
630
});
627
631
628
632
test ('Confirm all constructors were checked' , () {
You can’t perform that action at this time.
0 commit comments