-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e5a324
commit c4e9e3d
Showing
327 changed files
with
16,369 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# built application files | ||
*.apk | ||
*.ap_ | ||
|
||
# files for the dex VM | ||
*.dex | ||
|
||
# Java class files | ||
*.class | ||
|
||
# generated files | ||
bin/ | ||
gen/ | ||
out/ | ||
|
||
# Local configuration file (sdk path, etc) | ||
local.properties | ||
|
||
# Eclipse project files | ||
.classpath | ||
.project | ||
|
||
# Android Studio | ||
.idea/ | ||
.gradle | ||
/*/local.properties | ||
/*/out | ||
build | ||
*/build | ||
/*/*/build | ||
/*/*/*/build | ||
/*/*/production | ||
*.iml | ||
*.iws | ||
*.ipr | ||
*~ | ||
*.swp | ||
|
||
# Mac | ||
.DS_Store | ||
|
||
# Fabric | ||
*/fabric.properties |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
buildscript { | ||
repositories { | ||
google() | ||
jcenter() | ||
} | ||
} | ||
|
||
apply plugin: 'com.android.application' | ||
apply plugin: 'kotlin-android' | ||
apply plugin: 'kotlin-kapt' | ||
apply plugin: 'dagger.hilt.android.plugin' | ||
apply plugin: 'com.google.gms.google-services' | ||
apply from: "../artifacts.gradle" | ||
|
||
repositories { | ||
google() | ||
jcenter() | ||
maven { | ||
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/" | ||
} | ||
flatDir { dirs 'libs' } | ||
} | ||
|
||
android { | ||
def versionQACode = 1 | ||
|
||
compileSdkVersion 30 | ||
buildToolsVersion "30.0.3" | ||
flavorDimensions dimensionDefault | ||
|
||
defaultConfig { | ||
applicationId "com.quickblox.sample.conference.kotlin" | ||
minSdkVersion 21 | ||
targetSdkVersion 30 | ||
versionCode 100000 | ||
versionName "1.0.0" | ||
multiDexEnabled true | ||
} | ||
|
||
productFlavors { | ||
dev { | ||
dimension dimensionDefault | ||
buildConfigField('boolean', "IS_QA", "false") | ||
buildConfigField("int", "VERSION_QA_CODE", versionQACode.toString()) | ||
} | ||
|
||
qa { | ||
dimension dimensionDefault | ||
buildConfigField("boolean", "IS_QA", "true") | ||
buildConfigField("int", "VERSION_QA_CODE", versionQACode.toString()) | ||
} | ||
} | ||
|
||
buildTypes { | ||
debug { | ||
signingConfig signingConfigs.debug | ||
minifyEnabled false | ||
shrinkResources false | ||
proguardFile 'proguard-rules.pro' | ||
resValue "string", "versionName", "QuickBlox Conference Kotlin\nBuild version " + defaultConfig.getVersionName() | ||
} | ||
|
||
release { | ||
signingConfig signingConfigs.debug | ||
minifyEnabled true | ||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' | ||
consumerProguardFiles 'proguard-rules.pro' | ||
resValue "string", "versionName", "QuickBlox Conference Kotlin\nBuild version " + defaultConfig.getVersionName() | ||
} | ||
} | ||
|
||
buildFeatures { | ||
viewBinding true | ||
} | ||
|
||
signingConfigs { | ||
debug { | ||
storeFile file("../cert/debug.keystore") | ||
storePassword "android" | ||
keyAlias "androiddebugkey" | ||
keyPassword "android" | ||
} | ||
} | ||
|
||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_8 | ||
targetCompatibility JavaVersion.VERSION_1_8 | ||
} | ||
|
||
kotlinOptions { | ||
jvmTarget = '1.8' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation "com.quickblox:quickblox-android-sdk-conference:$qbSdkVersion" | ||
implementation "com.quickblox:quickblox-android-sdk-messages:$rootProject.qbSdkVersion" | ||
implementation "com.quickblox:quickblox-android-sdk-chat:$rootProject.qbSdkVersion" | ||
implementation "com.quickblox:quickblox-android-sdk-content:$rootProject.qbSdkVersion" | ||
|
||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion" | ||
implementation "com.google.android.material:material:$rootProject.materialAndroidXVersion" | ||
|
||
implementation "androidx.appcompat:appcompat:$rootProject.appcompatAndroidXVersion" | ||
implementation "androidx.constraintlayout:constraintlayout:$rootProject.constraintLayoutVersion" | ||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.lifecycleViewmodelAndroidXVersion" | ||
implementation "androidx.core:core-ktx:$rootProject.coreKtxVersion" | ||
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$rootProject.swipeRefreshVersion" | ||
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.lifecycleVersionKtx" | ||
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$rootProject.lifecycleVersionKtx" | ||
implementation "android.arch.lifecycle:extensions:$rootProject.lifecycleVersion" | ||
implementation "androidx.lifecycle:lifecycle-common-java8:$rootProject.lifecycleVersionKtx" | ||
|
||
implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion" | ||
|
||
implementation "com.vmadalin:easypermissions-ktx:$rootProject.easyPermissionsVersion" | ||
implementation "androidx.activity:activity-ktx:$rootProject.activityKtxVersion" | ||
implementation "androidx.fragment:fragment-ktx:$rootProject.fragmentKtxVersion" | ||
|
||
implementation "com.google.dagger:hilt-android:$hiltVersion" | ||
|
||
implementation "com.google.android.gms:play-services-gcm:$rootProject.servicesGcmVersion" | ||
implementation "com.google.firebase:firebase-core:$rootProject.firebaseCoreVersion" | ||
|
||
kapt "com.google.dagger:hilt-compiler:$hiltVersion" | ||
kapt "androidx.hilt:hilt-lifecycle-viewmodel:$rootProject.hiltAndroidXVersion" | ||
kapt "androidx.hilt:hilt-compiler:$rootProject.hiltAndroidXVersion" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"project_info": { | ||
"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": "Put here your value", | ||
"android_client_info": { | ||
"package_name": "com.quickblox.sample.conference.kotlin" | ||
} | ||
}, | ||
"oauth_client": [ | ||
{ | ||
"client_id": "Put here your value", | ||
"client_type": 1, | ||
"android_info": { | ||
"package_name": "com.quickblox.sample.conference.kotlin", | ||
"certificate_hash": "Put here your value" | ||
} | ||
}, | ||
{ | ||
"client_id": "Put here your value", | ||
"client_type": 3 | ||
} | ||
], | ||
"api_key": [ | ||
{ | ||
"current_key": "Put here your value" | ||
} | ||
] | ||
} | ||
], | ||
"configuration_version": "1" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Add project specific ProGuard rules here. | ||
# You can control the set of applied configuration files using the | ||
# proguardFiles setting in build.gradle. | ||
# | ||
# For more details, see | ||
# 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 | ||
# class: | ||
#-keepclassmembers class fqcn.of.javascript.interface.for.webview { | ||
# public *; | ||
#} | ||
|
||
# Uncomment this to preserve the line number information for | ||
# debugging stack traces. | ||
#-keepattributes SourceFile,LineNumberTable | ||
|
||
# If you keep the line number information, uncomment this to | ||
# hide the original source file name. | ||
#-renamesourcefileattribute SourceFile | ||
-keepattributes Signature | ||
|
||
# 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.** { *; } | ||
|
||
-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.content.model.** { *; } | ||
|
||
-keep class com.quickblox.users.parsers.** { *; } | ||
-keep class com.quickblox.users.model.** { *; } | ||
|
||
-keep class com.quickblox.messages.parsers.** { *; } | ||
-keep class com.quickblox.messages.QBPushNotifications { *; } | ||
-keep class com.quickblox.messages.model.** { *; } | ||
-keep class com.quickblox.messages.services.** { *; } | ||
|
||
-keep class com.quickblox.chat.parser.** { *; } | ||
-keep class com.quickblox.chat.model.** { *; } | ||
|
||
-keep class org.jivesoftware.** { *; } | ||
-keep class org.jxmpp.** { *; } | ||
-keep class org.webrtc.** { *; } | ||
-keep class com.quickblox.conference.** { *; } | ||
|
||
-keep class com.bumptech.** { *; } | ||
|
||
-dontwarn org.jivesoftware.smackx.** |
Oops, something went wrong.