Skip to content

NikitaKarnauhov/native-sdk-android-demo

 
 

Repository files navigation

2GIS NativeSDK Android Demo

⚠️ 2GIS NativeSDK is under development. It is not ready for production usage.

Full documentation, including more usage examples and detailed descriptions of all classes and methods, can be found at https://docs.2gis.com/ru/android/native/maps/overview.

Getting an access key

Usage of this SDK requires an API key to connect to 2GIS servers and retrieve the geographical data. This API key is unique to the SDK and cannot be used with other 2GIS SDKs.

To obtain the key, contact us.

Installation

To install the SDK:

  1. Declare a custom repository in your build.gradle file:
repositories {
    maven {
        url "http://maven.2gis.dev/libs-release"
    }
}
  1. Add a build dependency:
dependencies {
    implementation 'ru.dgis.sdk:sdk:latest.release'
}

Usage

To run the example app, first add your API key to the local.properties file in your project:

dgisMapApiKey=MAP_API_KEY
dgisDirectoryApiKey=DIRECTORY_API_KEY

You can find more usage examples at https://docs.2gis.com/ru/android/native/maps/examples/unstable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Kotlin 100.0%