arcgis-maps-sdk-kotlin-samples
arcgis-maps-sdk-kotlin-samples copied to clipboard
Missing examples for testing
Hi, we are currently writing unit/integration tests for our android app using your SDK. We fail during the setup of unit tests so an example how to setup your environment to do unit tests would be a nice addition to your samples.
Hi, @padmalcom . So how did you fix tests? Created some wrappers for arcgis classes?
For those who are still looking for solution. Need to add just one extra dependency to build.gradle:
implementation libs.arcgis.maps.kotlin
implementation(platform(libs.arcgis.maps.kotlin.toolkit.bom)) //this one
And how it looks like inside .toml file
[versions]
arcgis-maps-kotlin = "200.3.0"
[libraries]
arcgis-maps-kotlin = { group = "com.esri", name = "arcgis-maps-kotlin", version.ref = "arcgis-maps-kotlin" }
arcgis-maps-kotlin-toolkit-bom = { group = "com.esri", name = "arcgis-maps-kotlin-toolkit-bom", version.ref = "arcgis-maps-kotlin"}