Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.BranchMetrics:android-branch-deep-linking:5.2.5'
}
dependencies {
implementation("com.github.BranchMetrics:android-branch-deep-linking:5.2.5")
}
<dependency>
<groupId>com.github.BranchMetrics</groupId>
<artifactId>android-branch-deep-linking</artifactId>
<version>5.2.5</version>
</dependency>
libraryDependencies += "com.github.BranchMetrics" % "android-branch-deep-linking" % "5.2.5"
:dependencies [[com.github.BranchMetrics/android-branch-deep-linking "5.2.5"]]
The Branch Android SDK for deep linking and attribution.
Branch Sandbox Program
As part of this sandbox program, you will be able to partner directly with Branch’s Product and Engineering team for exclusive access to test drive our innovative products before the market and proactively exchange valuable feedback. With your support, we will create the winning measurement and linking solutions of the future together.
If you would like to join, please reach out to us today at sandbox@branch.io or by filling out this form.
Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.