Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade native SDKs #32

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
## 2.1.0

- https://github.com/TelemetryDeck/FlutterSDK/releases/tag/2.1.0
- The SwiftSDK for macOS has been updated to version [2.7.0](https://github.com/TelemetryDeck/SwiftSDK/releases/tag/2.7.0)
- The SwiftSDK for iOS has been updated to version [2.7.0](https://github.com/TelemetryDeck/SwiftSDK/releases/tag/2.7.0)
- The KotlinSDK for Android has been updated to [4.1.0](https://github.com/TelemetryDeck/KotlinSDK/releases/tag/4.1.0)

### Notes

- The minimum Kotlin compiler version has been raised to [2.0.21](https://kotlinlang.org/docs/releases.html#release-details) and can be configured by setting `ext.kotlin_version = '2.0.21'` in your `build.gradle` file.

## 2.0.1

- https://github.com/TelemetryDeck/FlutterSDK/releases/tag/2.0.1
Expand Down
2 changes: 2 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ implementation 'com.telemetrydeck:kotlin-sdk:2.2.0'
```

On iOS, the dependency is configured in `ios/telemetrydecksdk.podspec` using the podspect Dependency format `s.dependency 'TelemetryClient', '~> 2.0'`.

Note: CocoaPods requires running `pod update` to fetch the latest version of the native SDK for both iOS and macOS. You can do so in the ios and macOS folders of the example project.
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ android {
}

dependencies {
implementation 'com.telemetrydeck:kotlin-sdk:4.0.2'
implementation 'com.telemetrydeck:kotlin-sdk:4.1.0'
testImplementation 'org.jetbrains.kotlin:kotlin-test'
testImplementation 'org.mockito:mockito-core:5.0.0'
}
Expand Down
2 changes: 1 addition & 1 deletion example/android/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.9.24'
ext.kotlin_version = '2.0.21'
repositories {
google()
mavenCentral()
Expand Down
10 changes: 5 additions & 5 deletions example/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ PODS:
- Flutter (1.0.0)
- integration_test (0.0.1):
- Flutter
- TelemetryDeck (2.6.1)
- TelemetryDeck (2.7.0)
- telemetrydecksdk (1.0.0):
- Flutter
- TelemetryDeck (~> 2.6.1)
- TelemetryDeck (~> 2.7.0)

DEPENDENCIES:
- Flutter (from `Flutter`)
Expand All @@ -26,9 +26,9 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
integration_test: 252f60fa39af5e17c3aa9899d35d908a0721b573
TelemetryDeck: d33fc31e687aff7a2e18d770a011453144501193
telemetrydecksdk: 0ee3f9f9d66b39e26434fee4d94efc95bf94498e
integration_test: 4a889634ef21a45d28d50d622cf412dc6d9f586e
TelemetryDeck: c3195d6cbb246cb822c44d63d8b099f341a1bc57
telemetrydecksdk: ab84a7d4a6fe053b8e65d58edc986efba606958d

PODFILE CHECKSUM: 7be2f5f74864d463a8ad433546ed1de7e0f29aef

Expand Down
2 changes: 1 addition & 1 deletion example/ios/Runner/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import UIKit
import Flutter

@UIApplicationMain
@main
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
Expand Down
8 changes: 4 additions & 4 deletions example/macos/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
PODS:
- FlutterMacOS (1.0.0)
- TelemetryDeck (2.6.1)
- TelemetryDeck (2.7.0)
- telemetrydecksdk (0.0.1):
- FlutterMacOS
- TelemetryDeck (~> 2.6.1)
- TelemetryDeck (~> 2.7.0)

DEPENDENCIES:
- FlutterMacOS (from `Flutter/ephemeral`)
Expand All @@ -21,8 +21,8 @@ EXTERNAL SOURCES:

SPEC CHECKSUMS:
FlutterMacOS: 8f6f14fa908a6fb3fba0cd85dbd81ec4b251fb24
TelemetryDeck: d33fc31e687aff7a2e18d770a011453144501193
telemetrydecksdk: a94223e261e7dfc5d1816773a764e8ce339123ee
TelemetryDeck: c3195d6cbb246cb822c44d63d8b099f341a1bc57
telemetrydecksdk: 74918d69fff5a76eb85ab192036f81c5a51ad1a6

PODFILE CHECKSUM: 236401fc2c932af29a9fcf0e97baeeb2d750d367

Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ packages:
path: ".."
relative: true
source: path
version: "2.0.0"
version: "2.0.1"
term_glyph:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion ios/telemetrydecksdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Flutter SDK for TelemetryDeck, a privacy-conscious analytics service for apps an
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'Flutter'
s.dependency 'TelemetryDeck', '~> 2.6.1'
s.dependency 'TelemetryDeck', '~> 2.7.0'
s.platform = :ios, '12.0'

# Flutter.framework does not contain a i386 slice.
Expand Down
2 changes: 1 addition & 1 deletion lib/telemetrydecksdk.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
library telemetry_deck_sdk;
library;

export 'src/telemetry_manager_configuration.dart';
export 'src/telemetrydecksdk.dart';
2 changes: 1 addition & 1 deletion macos/telemetrydecksdk.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Flutter SDK for TelemetryDeck, a privacy-conscious analytics service for apps an
s.source = { :path => '.' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'
s.dependency 'TelemetryDeck', '~> 2.6.1'
s.dependency 'TelemetryDeck', '~> 2.7.0'

s.platform = :osx, '10.11'
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.3
flutter_lints: ^5.0.0

# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
Expand Down