Skip to content

Getting Started

SebaMutuku edited this page Aug 5, 2022 · 3 revisions

Getting Started

Setting up OpenSRP Native form in a Android Project.

Downloading from Sonatype

To download the package from Sonatype simply do the following

STEP 1

Add the sonatype maven repository to your build.gradle files

repositories {
    maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}

STEP 2

Add the latest version of Client ANC library on the dependency section of your build.gradle file. Pick the latest version from the sonatype list.

dependencies {
    //....
    implementation "org.smartregister:opensrp-client-anc::$ancVersion"
    //....

}