Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(build.gradle): Use the Dropbox app key specified in Info.plist.

hristoterezovca600928f5eb
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 261bfb5e9c..6133ded2f5 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -1,6 +1,10 @@
apply plugin: 'com.android.application'
-def dropboxAppKey = ""
+def parser = new XmlSlurper(false, false, true)
+parser.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false)
+def plist = parser.parse('../ios/app/src/Info.plist')
+def dbScheme = plist.dict.array.dict.array.string.find{string-> string.text().startsWith('db-')}
+def dropboxAppKey = dbScheme?.text() - 'db-'
android {
compileSdkVersion rootProject.ext.compileSdkVersion