Flutter is evolving rapidly, and so is our SDK. With each new Flutter release, we strive to maintain compatibility and deliver a smooth integration experience.
Because Flutter versions often ship between our release cycles, each new release of our package is built and certified against the latest Flutter version available at that time. When Flutter introduces a new version between our releases, we’ll share guidance on compatibility with our most recent SDK.
Although we have not completed full certification across all supported devices, our high-level testing confirms that the 300.0.0 release works with Flutter 3.44.1 and later.
This post highlights key compatibility considerations and dependency requirements for supporting our SDK on Flutter 3.44.x.
The Flutter ecosystem is in the process of transitioning from Cocoapods to Swift Package Manager for management of iOS dependencies. From Flutter 3.44, Flutter has started to display warnings where packages do not yet provide SPM configuration. arcgis_maps 300.0 is only configured for Cocoapods and as such you will see the below warning emerge once you upgrade to Flutter 3.44.x:
The following plugins do not support Swift Package Manager for ios:
- arcgis_maps
This will become an error in a future version of Flutter. Please contact the plugin maintainers to request Swift Package Manager adoption.
From 300.1, arcgis_maps will include support for SPM. As such, this warning will be temporary and you can rest assured that we are evolving our package inline with the developments in the wider Flutter ecosystem.
From our testing, this is likely to only affects new projects created with flutter create using Flutter 3.44.x, which have the Kotlin plugin version set to 2.3.20.
When attempting to build the project with arcgis_maps added as a dependency, you may encounter the following build exception:
FAILURE: Build failed with an exception.
* Where:
Build file 'project-path/android/build.gradle.kts' line: 16
// ADDITIONAL ERROR OUTPUT
How to fix this issue
Downgrade this setting from 2.3.20 to 2.2.20 in android/settings.gradle.kts:
id("org.jetbrains.kotlin.android") version "2.2.20" apply false
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.