Skip to content

Commit

Permalink
4.4.1-conference-java
Browse files Browse the repository at this point in the history
  • Loading branch information
vdovbnya-qb committed Jul 4, 2022
1 parent e9a5a90 commit 25dbfa0
Show file tree
Hide file tree
Showing 12 changed files with 121 additions and 310 deletions.
39 changes: 15 additions & 24 deletions sample-conference-java/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,41 +1,33 @@
buildscript {
repositories {
google()
jcenter()
maven { url 'https://maven.fabric.io/public' }
}

dependencies {
classpath "io.fabric.tools:gradle:$fabricToolsVersion"
mavenCentral()
}
}

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'

repositories {
google()
jcenter()
mavenCentral()
maven {
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
}
maven { url 'https://maven.fabric.io/public' }
flatDir { dirs 'libs' }
}

android {
def versionQACode = 1

compileSdkVersion 29
buildToolsVersion "29.0.3"
compileSdkVersion 31
buildToolsVersion "31.0.0"
flavorDimensions dimensionDefault

defaultConfig {
applicationId "com.quickblox.sample.videochat.conference.java"
minSdkVersion 16
targetSdkVersion 29
versionCode 440000
versionName '4.4.0'
minSdkVersion 21
targetSdkVersion 31
versionCode 441000
versionName '4.4.1'
multiDexEnabled true
}

Expand All @@ -59,12 +51,14 @@ android {
minifyEnabled false
shrinkResources false
proguardFile 'proguard-rules.pro'
zipAlignEnabled false
resValue "string", "versionName", "QuickBlox Video Chat Conference Java\nBuild version " + defaultConfig.getVersionName()
}

release {
signingConfig signingConfigs.debug
minifyEnabled true
shrinkResources true
proguardFile 'proguard-rules.pro'
resValue "string", "versionName", "QuickBlox Video Chat Conference Java\nBuild version " + defaultConfig.getVersionName()
}
}
Expand Down Expand Up @@ -100,18 +94,15 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycleViewmodelAndroidXVersion"
implementation "androidx.core:core-ktx:$rootProject.coreKtxVersion"

implementation("com.crashlytics.sdk.android:crashlytics:$crashlyticsVersion@aar") {
transitive = true
}

implementation "com.timehop.stickyheadersrecyclerview:library:$rootProject.stickylistheadersVersion@aar"
implementation "com.github.orangegangsters:swipy:$rootProject.swipyVersion@aar"
implementation "com.github.johnkil.android-robototextview:robototextview:$robotoTextViewVersion"
implementation "com.github.bumptech.glide:glide:$glideVersion"
implementation "de.hdodenhof:circleimageview:$rootProject.circleImageVersion"

implementation "android.arch.lifecycle:extensions:1.1.1"
annotationProcessor "android.arch.lifecycle:compiler:1.1.1"
implementation "android.arch.lifecycle:extensions:$rootProject.lifecycleExtensionsVersion"

implementation "com.github.bumptech.glide:glide:$glideVersion"
annotationProcessor "com.github.bumptech.glide:compiler:$glideVersion"
}

apply from: "../artifacts.gradle"
Expand Down
170 changes: 8 additions & 162 deletions sample-conference-java/app/google-services.json
Original file line number Diff line number Diff line change
@@ -1,183 +1,29 @@
{
"project_info": {
"project_number": "247738611464",
"firebase_url": "https://qb-prod-samples.firebaseio.com",
"project_id": "qb-prod-samples",
"storage_bucket": "qb-prod-samples.appspot.com"
"project_number": "Put here your value",
"firebase_url": "https://qb-samples.firebaseio.com",
"project_id": "qb-samples",
"storage_bucket": "qb-samples.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:beb270faa2c3a789",
"android_client_info": {
"package_name": "com.quickblox.sample.chat.java"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:1cdc72e9ffd29448",
"android_client_info": {
"package_name": "com.quickblox.sample.chat.kotlin"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:06cb0de4c719ad84",
"android_client_info": {
"package_name": "com.quickblox.sample.pushnotifications.java"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:c2749661061637f0",
"android_client_info": {
"package_name": "com.quickblox.sample.pushnotifications.kotlin"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:7856__0243",
"mobilesdk_app_id": "Put here your value",
"android_client_info": {
"package_name": "com.quickblox.sample.videochat.conference.java"
}
},
"oauth_client": [
{
"client_id": "7856____content.com",
"client_id": "Put here your value",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIza000___Gk"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "78564____content.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:99e5b55a490c901c",
"android_client_info": {
"package_name": "com.quickblox.sample.videochat.java"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
},
{
"client_info": {
"mobilesdk_app_id": "1:247738611464:android:ac22e0d1b3a3e86b",
"android_client_info": {
"package_name": "com.quickblox.sample.videochat.kotlin"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyBFXAfVr6kkFJdDNOm8U-c7iju0qIUkc_A"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "247738611464-v2nvd29bmqum7niosnfuh28oq3beh9f6.apps.googleusercontent.com",
"client_type": 3
}
]
"current_key": "Put here your value"
}
}
]
}
],
"configuration_version": "1"
Expand Down
57 changes: 17 additions & 40 deletions sample-conference-java/app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in /home/tereha/Android/sdk/tools/proguard/proguard-android.txt

# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:
# http://developer.android.com/guide/developing/tools/proguard.html

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
Expand All @@ -23,48 +21,27 @@
##---------------Begin: proguard configuration for Gson ----------
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes EnclosingMethod
-keepattributes InnerClasses
-keepattributes Signature
-keepattributes Exceptions

# For using GSON @Expose annotation
# for using GSON @Expose annotation
-keepattributes *Annotation*

# Gson specific classes
-keep class sun.misc.Unsafe { *; }
#-keep class com.google.gson.stream.** { *; }

# Application classes that will be serialized/deserialized over Gson
-keep class com.quickblox.core.account.model.** { *; }


##---------------End: proguard configuration for Gson ----------
#quickblox sample chat

-keep class com.quickblox.auth.parsers.** { *; }
-keep class com.quickblox.auth.model.** { *; }
-keep class com.quickblox.core.parser.** { *; }
-keep class com.quickblox.core.model.** { *; }
-keep class com.quickblox.core.server.** { *; }
-keep class com.quickblox.core.rest.** { *; }
-keep class com.quickblox.core.error.** { *; }
-keep class com.quickblox.core.Query { *; }

-keep class com.quickblox.users.parsers.** { *; }
-keep class com.quickblox.users.model.** { *; }

-keep class com.quickblox.chat.parser.** { *; }
-keep class com.quickblox.chat.model.** { *; }

-keep class com.quickblox.messages.parsers.** { *; }
-keep class com.quickblox.messages.model.** { *; }

-keep class com.quickblox.content.parsers.** { *; }
-keep class com.quickblox.content.model.** { *; }
# quickblox sdk
-keep class com.quickblox.** { *; }

# smack xmpp library
-keep class org.jxmpp.** { *; }
-keep class org.jivesoftware.** { *; }
-dontwarn org.jivesoftware.**

# webrtc
-keep class org.webrtc.** { *; }

#sample chat
-keep class android.support.v7.** { *; }
# glide
-keep class com.bumptech.** { *; }

-dontwarn org.jivesoftware.smackx.**
-dontwarn android.support.v4.app.**
# google gms
-keep class com.google.android.gms.** { *; }
Loading

0 comments on commit 25dbfa0

Please sign in to comment.