Skip to main content

Overview

The Encore Flutter SDK is published as the public encore_flutter package on pub.dev. Because the plugin bundles the native iOS (EncoreKit CocoaPod) and Android (com.encorekit:encore AAR) SDKs, updating is a two-part flow: bump the Dart package, then refresh the native iOS pods so the updated EncoreKit binary is picked up.

Check the Current and Latest Version

Your currently resolved version is recorded in pubspec.lock. The latest published version is listed on the package’s pub.dev page. You can also check from the command line:
flutter pub outdated
This lists your current, upgradable, and latest resolvable versions for every dependency, including encore_flutter.

Update the Package

1

Bump the version constraint

In your pubspec.yaml, raise the encore_flutter version constraint to allow the latest release published on pub.dev:
dependencies:
  encore_flutter: ^X.Y.Z   # replace with the latest version from pub.dev
Alternatively, upgrade in place within your existing constraint without editing pubspec.yaml:
flutter pub upgrade encore_flutter
2

Fetch the updated Dart package

flutter pub get
3

Refresh the native iOS pods

The EncoreKit CocoaPod is pulled in transitively by the plugin. Run pod install with --repo-update so CocoaPods fetches the newest spec and installs the updated native binary:
cd ios && pod install --repo-update && cd ..
Android requires no separate step — the updated com.encorekit:encore AAR is resolved automatically by Gradle on your next build.
4

Rebuild the app

flutter run
Building fresh ensures both the Dart layer and the updated native SDKs are compiled in.

Verify the Update

Confirm the resolved version in pubspec.lock matches the latest release, or re-run:
flutter pub outdated
In the flutter pub outdated output, the Current and Latest columns for encore_flutter should now match — confirming you’re on the newest release. If you encounter issues after updating, reach out to admin@joinyaw.com.