Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## 1.2.0
## 2.0.0

- Added iOS UIScene life cycle support (deep links are now received via `scene(_:openURLContexts:)`)
- **Breaking:** requires Flutter 3.38 or newer. Apps on an older Flutter version should stay on `segment_analytics: 1.1.13`
- **Breaking:** requires Flutter 3.38 or newer on every platform. Apps on an older Flutter version should stay on `segment_analytics: 1.1.13` (#220)
- iOS: added UIScene life cycle support. Deep links are now also received via `scene(_:openURLContexts:)`, so `trackDeeplinks` keeps working in apps that adopt UIScene (#220)
- iOS: the User-Agent is now generated the same way as analytics-swift instead of being read from a `WKWebView`, which blocked the main thread for up to ~300 ms at launch. It now reports the real OS version (e.g. `iPhone OS 26_4_1` rather than WebKit's frozen `18_7`), and iPads report `CPU iPad OS` (#222)
- Web: fixed persistence under WebAssembly builds (`flutter build web --wasm`), which fell back to an unsupported storage stub (#165)

## 1.1.13

Expand Down
2 changes: 1 addition & 1 deletion packages/core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Run:

`flutter pub add segment_analytics`

> **Flutter version compatibility:** `segment_analytics` 1.2.0 and newer require Flutter 3.38+ (iOS UIScene life cycle support). If you are on an older Flutter version, pin `segment_analytics: 1.1.13`.
> **Flutter version compatibility:** `segment_analytics` 2.0.0 and newer require Flutter 3.38+ (iOS UIScene life cycle support). If you are on an older Flutter version, pin `segment_analytics: 1.1.13`.

```dart
import 'package:segment_analytics/client.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/core/lib/version.dart
Original file line number Diff line number Diff line change
@@ -1 +1 @@
const segmentVersion = "1.2.0";
const segmentVersion = "2.0.0";
2 changes: 1 addition & 1 deletion packages/core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.2.0
version: 2.0.0
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/core#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand Down
4 changes: 4 additions & 0 deletions packages/plugins/plugin_adjust/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.3

- Allow `segment_analytics` 2.x

## 1.0.2

- Updating dependencies
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/plugin_adjust/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_adjust
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.0.2
version: 1.0.3
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_adjust#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
segment_analytics: ^1.1.1
segment_analytics: ">=1.1.1 <3.0.0"
json_annotation: ^4.9.0
adjust_sdk: ^5.0.2

Expand Down
5 changes: 5 additions & 0 deletions packages/plugins/plugin_advertising_id/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 1.0.1

- Allow `segment_analytics` 2.x
- Android: fixed a "Reply already submitted" crash when Limit Ad Tracking is enabled (#77)

## 1.0.0

- Initial version, based off the React Native implementation (@segment/analytics-react-native-plugin-advertising-id) v1.2.0
4 changes: 2 additions & 2 deletions packages/plugins/plugin_advertising_id/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_advertising_id
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.0.0
version: 1.0.1
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_advertising_id#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
segment_analytics: ^1.0.0
segment_analytics: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.2

dev_dependencies:
Expand Down
4 changes: 4 additions & 0 deletions packages/plugins/plugin_amplitude/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

- Allow `segment_analytics` 2.x

## 1.0.0

- Initial Version
4 changes: 2 additions & 2 deletions packages/plugins/plugin_amplitude/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_amplitude
description: "amplitude plugin."
version: 1.0.0
version: 1.0.1
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_amplitude#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
segment_analytics: ^1.0.0
segment_analytics: ">=1.0.0 <3.0.0"
json_annotation: ^4.8.0
amplitude_flutter: ^3.13.0

Expand Down
4 changes: 4 additions & 0 deletions packages/plugins/plugin_appsflyer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.3

- Allow `segment_analytics` 2.x

## 1.0.2

- Updating AppsFlyer SDK version
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/plugin_appsflyer/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_appsflyer
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.0.2
version: 1.0.3
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_appsflyer#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
segment_analytics: ^1.1.1
segment_analytics: ">=1.1.1 <3.0.0"
json_annotation: ^4.9.0
appsflyer_sdk: ^6.15.2

Expand Down
4 changes: 4 additions & 0 deletions packages/plugins/plugin_firebase/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.2

- Allow `segment_analytics` 2.x

## 1.0.1

- Updated dependencies
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/plugin_firebase/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_firebase
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.0.1
version: 1.0.2
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_firebase#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -15,7 +15,7 @@ dependencies:
flutter:
sdk: flutter
json_annotation: ^4.8.0
segment_analytics: ^1.1.1
segment_analytics: ">=1.1.1 <3.0.0"

dev_dependencies:
build_runner: ^2.3.3
Expand Down
4 changes: 4 additions & 0 deletions packages/plugins/plugin_idfa/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.4

- Allow `segment_analytics` 2.x

## 1.0.3

- Fixed Swift Package Manager support for iOS: the package now uses the layout Flutter 3.44+ expects
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/plugin_idfa/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: segment_analytics_plugin_idfa
description: The hassle-free way to add Segment analytics to your Flutter app.
version: 1.0.3
version: 1.0.4
homepage: https://github.com/segmentio/analytics_flutter#readme
repository: https://github.com/segmentio/analytics_flutter/tree/main/packages/plugins/plugin_idfa#readme
issue_tracker: https://github.com/segmentio/analytics_flutter/issues
Expand All @@ -12,7 +12,7 @@ environment:
dependencies:
flutter:
sdk: flutter
segment_analytics: ^1.0.0
segment_analytics: ">=1.0.0 <3.0.0"
plugin_platform_interface: ^2.0.2

dev_dependencies:
Expand Down
Loading