Skip to content

Commit c4e9e3d

Browse files
committed
1.0.0-conference-kotlin
1 parent 5e5a324 commit c4e9e3d

File tree

327 files changed

+16369
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

327 files changed

+16369
-0
lines changed
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# built application files
2+
*.apk
3+
*.ap_
4+
5+
# files for the dex VM
6+
*.dex
7+
8+
# Java class files
9+
*.class
10+
11+
# generated files
12+
bin/
13+
gen/
14+
out/
15+
16+
# Local configuration file (sdk path, etc)
17+
local.properties
18+
19+
# Eclipse project files
20+
.classpath
21+
.project
22+
23+
# Android Studio
24+
.idea/
25+
.gradle
26+
/*/local.properties
27+
/*/out
28+
build
29+
*/build
30+
/*/*/build
31+
/*/*/*/build
32+
/*/*/production
33+
*.iml
34+
*.iws
35+
*.ipr
36+
*~
37+
*.swp
38+
39+
# Mac
40+
.DS_Store
41+
42+
# Fabric
43+
*/fabric.properties
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
buildscript {
2+
repositories {
3+
google()
4+
jcenter()
5+
}
6+
}
7+
8+
apply plugin: 'com.android.application'
9+
apply plugin: 'kotlin-android'
10+
apply plugin: 'kotlin-kapt'
11+
apply plugin: 'dagger.hilt.android.plugin'
12+
apply plugin: 'com.google.gms.google-services'
13+
apply from: "../artifacts.gradle"
14+
15+
repositories {
16+
google()
17+
jcenter()
18+
maven {
19+
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
20+
}
21+
flatDir { dirs 'libs' }
22+
}
23+
24+
android {
25+
def versionQACode = 1
26+
27+
compileSdkVersion 30
28+
buildToolsVersion "30.0.3"
29+
flavorDimensions dimensionDefault
30+
31+
defaultConfig {
32+
applicationId "com.quickblox.sample.conference.kotlin"
33+
minSdkVersion 21
34+
targetSdkVersion 30
35+
versionCode 100000
36+
versionName "1.0.0"
37+
multiDexEnabled true
38+
}
39+
40+
productFlavors {
41+
dev {
42+
dimension dimensionDefault
43+
buildConfigField('boolean', "IS_QA", "false")
44+
buildConfigField("int", "VERSION_QA_CODE", versionQACode.toString())
45+
}
46+
47+
qa {
48+
dimension dimensionDefault
49+
buildConfigField("boolean", "IS_QA", "true")
50+
buildConfigField("int", "VERSION_QA_CODE", versionQACode.toString())
51+
}
52+
}
53+
54+
buildTypes {
55+
debug {
56+
signingConfig signingConfigs.debug
57+
minifyEnabled false
58+
shrinkResources false
59+
proguardFile 'proguard-rules.pro'
60+
resValue "string", "versionName", "QuickBlox Conference Kotlin\nBuild version " + defaultConfig.getVersionName()
61+
}
62+
63+
release {
64+
signingConfig signingConfigs.debug
65+
minifyEnabled true
66+
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
67+
consumerProguardFiles 'proguard-rules.pro'
68+
resValue "string", "versionName", "QuickBlox Conference Kotlin\nBuild version " + defaultConfig.getVersionName()
69+
}
70+
}
71+
72+
buildFeatures {
73+
viewBinding true
74+
}
75+
76+
signingConfigs {
77+
debug {
78+
storeFile file("../cert/debug.keystore")
79+
storePassword "android"
80+
keyAlias "androiddebugkey"
81+
keyPassword "android"
82+
}
83+
}
84+
85+
compileOptions {
86+
sourceCompatibility JavaVersion.VERSION_1_8
87+
targetCompatibility JavaVersion.VERSION_1_8
88+
}
89+
90+
kotlinOptions {
91+
jvmTarget = '1.8'
92+
}
93+
}
94+
95+
dependencies {
96+
implementation "com.quickblox:quickblox-android-sdk-conference:$qbSdkVersion"
97+
implementation "com.quickblox:quickblox-android-sdk-messages:$rootProject.qbSdkVersion"
98+
implementation "com.quickblox:quickblox-android-sdk-chat:$rootProject.qbSdkVersion"
99+
implementation "com.quickblox:quickblox-android-sdk-content:$rootProject.qbSdkVersion"
100+
101+
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
102+
implementation "com.google.android.material:material:$rootProject.materialAndroidXVersion"
103+
104+
implementation "androidx.appcompat:appcompat:$rootProject.appcompatAndroidXVersion"
105+
implementation "androidx.constraintlayout:constraintlayout:$rootProject.constraintLayoutVersion"
106+
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.lifecycleViewmodelAndroidXVersion"
107+
implementation "androidx.core:core-ktx:$rootProject.coreKtxVersion"
108+
implementation "androidx.swiperefreshlayout:swiperefreshlayout:$rootProject.swipeRefreshVersion"
109+
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$rootProject.lifecycleVersionKtx"
110+
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$rootProject.lifecycleVersionKtx"
111+
implementation "android.arch.lifecycle:extensions:$rootProject.lifecycleVersion"
112+
implementation "androidx.lifecycle:lifecycle-common-java8:$rootProject.lifecycleVersionKtx"
113+
114+
implementation "com.github.bumptech.glide:glide:$rootProject.glideVersion"
115+
116+
implementation "com.vmadalin:easypermissions-ktx:$rootProject.easyPermissionsVersion"
117+
implementation "androidx.activity:activity-ktx:$rootProject.activityKtxVersion"
118+
implementation "androidx.fragment:fragment-ktx:$rootProject.fragmentKtxVersion"
119+
120+
implementation "com.google.dagger:hilt-android:$hiltVersion"
121+
122+
implementation "com.google.android.gms:play-services-gcm:$rootProject.servicesGcmVersion"
123+
implementation "com.google.firebase:firebase-core:$rootProject.firebaseCoreVersion"
124+
125+
kapt "com.google.dagger:hilt-compiler:$hiltVersion"
126+
kapt "androidx.hilt:hilt-lifecycle-viewmodel:$rootProject.hiltAndroidXVersion"
127+
kapt "androidx.hilt:hilt-compiler:$rootProject.hiltAndroidXVersion"
128+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"project_info": {
3+
"project_number": "Put here your value",
4+
"firebase_url": "https://qb-samples.firebaseio.com",
5+
"project_id": "qb-samples",
6+
"storage_bucket": "qb-samples.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "Put here your value",
12+
"android_client_info": {
13+
"package_name": "com.quickblox.sample.conference.kotlin"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "Put here your value",
19+
"client_type": 1,
20+
"android_info": {
21+
"package_name": "com.quickblox.sample.conference.kotlin",
22+
"certificate_hash": "Put here your value"
23+
}
24+
},
25+
{
26+
"client_id": "Put here your value",
27+
"client_type": 3
28+
}
29+
],
30+
"api_key": [
31+
{
32+
"current_key": "Put here your value"
33+
}
34+
]
35+
}
36+
],
37+
"configuration_version": "1"
38+
}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# Add project specific ProGuard rules here.
2+
# You can control the set of applied configuration files using the
3+
# proguardFiles setting in build.gradle.
4+
#
5+
# For more details, see
6+
# http://developer.android.com/guide/developing/tools/proguard.html
7+
8+
# If your project uses WebView with JS, uncomment the following
9+
# and specify the fully qualified class name to the JavaScript interface
10+
# class:
11+
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
12+
# public *;
13+
#}
14+
15+
# Uncomment this to preserve the line number information for
16+
# debugging stack traces.
17+
#-keepattributes SourceFile,LineNumberTable
18+
19+
# If you keep the line number information, uncomment this to
20+
# hide the original source file name.
21+
#-renamesourcefileattribute SourceFile
22+
-keepattributes Signature
23+
24+
# For using GSON @Expose annotation
25+
-keepattributes *Annotation*
26+
27+
# Gson specific classes
28+
-keep class sun.misc.Unsafe { *; }
29+
#-keep class com.google.gson.stream.** { *; }
30+
31+
# Application classes that will be serialized/deserialized over Gson
32+
-keep class com.quickblox.core.account.model.** { *; }
33+
34+
-keep class com.quickblox.auth.parsers.** { *; }
35+
-keep class com.quickblox.auth.model.** { *; }
36+
-keep class com.quickblox.core.parser.** { *; }
37+
-keep class com.quickblox.core.model.** { *; }
38+
-keep class com.quickblox.core.server.** { *; }
39+
-keep class com.quickblox.core.rest.** { *; }
40+
-keep class com.quickblox.core.error.** { *; }
41+
-keep class com.quickblox.core.Query { *; }
42+
43+
-keep class com.quickblox.content.model.** { *; }
44+
45+
-keep class com.quickblox.users.parsers.** { *; }
46+
-keep class com.quickblox.users.model.** { *; }
47+
48+
-keep class com.quickblox.messages.parsers.** { *; }
49+
-keep class com.quickblox.messages.QBPushNotifications { *; }
50+
-keep class com.quickblox.messages.model.** { *; }
51+
-keep class com.quickblox.messages.services.** { *; }
52+
53+
-keep class com.quickblox.chat.parser.** { *; }
54+
-keep class com.quickblox.chat.model.** { *; }
55+
56+
-keep class org.jivesoftware.** { *; }
57+
-keep class org.jxmpp.** { *; }
58+
-keep class org.webrtc.** { *; }
59+
-keep class com.quickblox.conference.** { *; }
60+
61+
-keep class com.bumptech.** { *; }
62+
63+
-dontwarn org.jivesoftware.smackx.**

0 commit comments

Comments
 (0)