Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing examples for testing #112

Open
padmalcom opened this issue Jun 7, 2023 · 2 comments
Open

Missing examples for testing #112

padmalcom opened this issue Jun 7, 2023 · 2 comments

Comments

@padmalcom
Copy link

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.

@eugene-rsi-europe
Copy link

Hi, @padmalcom . So how did you fix tests?
Created some wrappers for arcgis classes?

@eugene-rsi-europe
Copy link

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"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants