diff --git a/CHANGELOG.md b/CHANGELOG.md index f43b3df..5883506 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 1.2.1 +* Fix a problem that `device type` shows empty value for iOS devices. + ## 1.2.0 * Can track advertising Id now. * Will use a random UUID for device Id if ads tracking is disabled on the phone. diff --git a/lib/src/constants.dart b/lib/src/constants.dart index cf35bcd..6e66ac0 100644 --- a/lib/src/constants.dart +++ b/lib/src/constants.dart @@ -1,6 +1,6 @@ class Constants { static const packageName = 'amplitude-flutter'; - static const packageVersion = '1.2.0'; + static const packageVersion = '1.2.1'; // Local storage static const kLocalStoreDeviceIdKey = 'amp:device_id'; diff --git a/pubspec.yaml b/pubspec.yaml index 6e8eac9..54655a2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: amplitude_flutter description: Official Flutter plugin for tracking events and revenue to Amplitude. -version: 1.2.0 +version: 1.2.1 homepage: https://github.com/amplitude/Amplitude-Flutter environment: @@ -12,7 +12,7 @@ dependencies: crypto: "^2.0.6" device_info: "^0.4.1+4" http: "^0.12.0+2" - package_info: "^0.4.0+13" + package_info: ">=0.4.0+13 <2.0.0" path: "^1.6.4" shared_preferences: "^0.5.6+2" sqflite: "^1.1.5"