diff --git a/app/build.gradle b/app/build.gradle
index ed36d4d40c..d83c66690b 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -7,6 +7,7 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply from: "$project.rootDir/automation/gradle/versionCode.gradle"
apply plugin: 'androidx.navigation.safeargs.kotlin'
+apply plugin: 'com.google.android.gms.oss-licenses-plugin'
import com.android.build.gradle.internal.tasks.AppPreBuildTask
import org.gradle.internal.logging.text.StyledTextOutput.Style
@@ -289,8 +290,8 @@ dependencies {
implementation Deps.anko_constraintlayout
implementation Deps.sentry
-
implementation Deps.leanplum
+ implementation Deps.osslicenses_library
implementation Deps.mozilla_concept_engine
implementation Deps.mozilla_concept_push
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 8e44fce5f3..61bb72dbb2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -99,6 +99,12 @@
android:enabled="${isRaptorEnabled}"
android:exported="${isRaptorEnabled}" />
+
+
+
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 8b58712c6d..8d5ffe538e 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -772,4 +772,11 @@
Protections are OFF for this site
Enhanced Tracking Protection is off for these websites
+
+ Your rights
+
+ Open source libraries we use
+
+ %s | OSS Libraries
diff --git a/build.gradle b/build.gradle
index 162d6fb437..3449a0e19b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -10,6 +10,7 @@ buildscript {
classpath Deps.tools_kotlingradle
classpath Deps.androidx_safeargs
classpath Deps.allopen
+ classpath Deps.osslicenses_plugin
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/buildSrc/src/main/java/Dependencies.kt b/buildSrc/src/main/java/Dependencies.kt
index cbfb5abe8e..bd30bece5b 100644
--- a/buildSrc/src/main/java/Dependencies.kt
+++ b/buildSrc/src/main/java/Dependencies.kt
@@ -13,6 +13,8 @@ object Versions {
const val sentry = "1.7.10"
const val leakcanary = "1.6.3"
const val leanplum = "5.2.3"
+ const val osslicenses_plugin = "0.9.5"
+ const val osslicenses_library = "17.0.0"
const val androidx_appcompat = "1.1.0-rc01"
const val androidx_coordinator_layout = "1.1.0-beta01"
@@ -74,6 +76,8 @@ object Deps {
const val kotlin_coroutines_android = "org.jetbrains.kotlinx:kotlinx-coroutines-android:${Versions.coroutines}"
const val allopen = "org.jetbrains.kotlin:kotlin-allopen:${Versions.kotlin}"
+ const val osslicenses_plugin = "com.google.android.gms:oss-licenses-plugin:${Versions.osslicenses_plugin}"
+ const val osslicenses_library = "com.google.android.gms:play-services-oss-licenses:${Versions.osslicenses_library}"
const val rxKotlin = "io.reactivex.rxjava2:rxkotlin:${Versions.rxKotlin}"
const val rxAndroid = "io.reactivex.rxjava2:rxandroid:${Versions.rxAndroid}"