Comments (4)
Hi @Dohmanlechx, Thanks for choosing Amplitude. We are in the progress of updating the Flutter SDK and just release 4.0.0-beta.1. We follow semantic versioning. As you can see it's a major version with breaking changes and also a beta version with potential interfaces changes. The beta version is under the branch beta and you can find the example app under the example directory.
@Mercy811 Yeah, breaking changes in a major version update is fair. I didn't find any documentation or migration guide, but I eventually found it when I made another Google search. #182 (comment)
What is your dependencies section of your pubspec.yaml? If it's
amplitude_flutter: ^3
, it should not auto upgrade to a new major version even if your app uses the latest Android Gradle version.
amplitude_flutter ^3
is unable to run with the latest version of Android Gradle. At least I got this error:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':amplitude_flutter:compileReleaseKotlin'.
> 'compileReleaseJavaWithJavac' task (current target is 1.8) and 'compileReleaseKotlin' task (current target is 17) jvm target compatibility should be set to the same Java version.
Consider using JVM toolchain: https://kotl.in/gradle/jvm/toolchain
It's the reason why I bumped the Amplitude package to 4.0.0. This is explicitly stated in the description:
From Amplitude Flutter v4, we bump up the kotlin version to v1.9.22 to support latest Gradle.
from amplitude-flutter.
Found it. Sorry. I'll paste the link here in case someone can't find it:
https://www.docs.developers.amplitude.com/data/sdks/flutter/migration/
from amplitude-flutter.
However, that link should definitively be in the description of the Flutter package!
from amplitude-flutter.
Hi @Dohmanlechx, Thanks for choosing Amplitude. We are in the progress of updating the Flutter SDK and just release 4.0.0-beta.1. We follow semantic versioning. As you can see it's a major version with breaking changes and also a beta version with potential interfaces changes. The beta version is under the branch beta and you can find the example app under the example directory.
Today I bumped the Amplitude package version from 3.16.2 to 4.0.0-beta.1 because our app uses the latest Android Gradle version.
What is your dependencies section of your pubspec.yaml? If it's amplitude_flutter: ^3
, it should not auto upgrade to a new major version even if your app uses the latest Android Gradle version.
from amplitude-flutter.
Related Issues (20)
- Build failed on iOS with 'dart:js' error HOT 2
- Amplitude is logging wrong User properties for flutter SDK HOT 8
- Unusually Long Sessions HOT 1
- DefaultTrackingOptions configuration is missing on Flutter SDK HOT 4
- Support Kotlin 1.8 HOT 5
- Same '$identify' event being sent on every app background, even after opt-out/not updating user properties
- Version Conflict for 'Amplitude' in amplitude_flutter on CodeMagic Builds
- Execution failed for task ':amplitude_flutter:compileDebugKotlin'. (Android Gradle 8) HOT 3
- Access hidden method error HOT 1
- Session Reply [Web] HOT 1
- Using with encrypted db
- Only complete initialization after userId is properly set
- Missing NSPrivacyTracking in PrivacyInfo.xcprivacy HOT 4
- How to add VersionCode in amplitude events HOT 3
- Update dependency on js package to 0.7.x HOT 2
- How to set the Language user property HOT 2
- Amplitude Flutter v4.0.0 Beta 4 does not work on Android: Unresolved reference library_ HOT 2
- Wrong minimum deployment target in docs for sdk v. 4 HOT 1
- Migrate to js_interop to make the package compatible with WASM HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amplitude-flutter.