Skip to content

Commit 6c54a65

Browse files
Merge pull request #654 from QuickBlox/development
update version to 3.9.0
2 parents 8f0f30d + 56a9554 commit 6c54a65

File tree

497 files changed

+4260
-1763
lines changed

Some content is hidden

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

497 files changed

+4260
-1763
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,7 @@ build
3737
*.swp
3838

3939
# Mac
40-
.DS_Store
40+
.DS_Store
41+
42+
# Fabric
43+
*/fabric.properties

build.gradle

+25-24
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,64 @@
11
buildscript {
22
repositories {
3-
jcenter()
43
google()
4+
jcenter()
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.0.1'
9-
classpath 'com.google.gms:google-services:3.1.1'
8+
classpath 'com.android.tools.build:gradle:3.2.0'
9+
classpath 'com.google.gms:google-services:4.1.0'
1010
}
1111
}
1212

1313
allprojects {
1414
repositories {
15+
google()
1516
jcenter()
1617
maven {
1718
url "https://github.com/QuickBlox/quickblox-android-sdk-releases/raw/master/"
1819
}
19-
maven {
20-
url 'https://maven.google.com'
21-
}
2220
}
2321
}
2422

2523
ext {
26-
compileSdkVersion = 26
27-
buildToolsVersion = "27.0.3"
24+
compileSdkVersion = 28
25+
buildToolsVersion = "28.0.3"
2826

2927
minSdkVersion = 14
30-
targetSdkVersion = 26
28+
targetSdkVersion = 28
3129

32-
sourceCompatibility = JavaVersion.VERSION_1_7
33-
targetCompatibility = JavaVersion.VERSION_1_7
30+
sourceCompatibility = JavaVersion.VERSION_1_8
31+
targetCompatibility = JavaVersion.VERSION_1_8
3432

3533
lintAbortOnError = false
3634

3735
// QuickBlox SDK version
3836
qbChatAdapterVersion = '2.0'
39-
qbSdkVersion = '3.8.1'
37+
qbSdkVersion = '3.9.0'
4038

4139
versionCode = 381
42-
versionName = '3.8.1'
40+
versionName = '3.9.0'
4341

44-
testRunnerVersion = "0.4.1"
42+
testRunnerVersion = "1.0.2"
4543

4644
// Dependency versions
47-
playServicesVersion = '11.4.2'
48-
supportLibVersion = '26.1.0'
49-
supportV4Version = supportLibVersion
50-
appcompatV7Version = supportLibVersion
51-
recyclerviewV7Version = supportLibVersion
52-
supportAnnotationsVersion = supportLibVersion
53-
designVersion = supportLibVersion
54-
cardViewVersion = supportLibVersion
45+
playServicesVersion = '16.0.0'
46+
47+
constraintLayoutAndroidXVersion = '1.1.3'
48+
viewPagerAndroidXVersion = '1.0.0'
49+
fragmentAndroidXVersion = '1.0.0'
50+
lifecycleViewmodelAndroidXVersion = '1.0.0'
51+
coreKtxVersion = '1.0.0'
52+
53+
rxAndroidVersion = '1.2.1'
54+
materialVersion = '1.0.0'
5555

5656
glideVersion = '3.6.1'
5757
pullToRefreshVersion = '3.2.3'
5858
robotoTextViewVersion = '4.0.0'
59-
crashlyticsVersion = '2.8.0'
60-
fabricToolsVersion = '1.25.1'
59+
crashlyticsVersion = '2.9.5'
60+
fabricToolsVersion = '1.25.4'
61+
kotlinGradlePlugin = '1.2.71'
6162
stickylistheadersVersion = '0.4.2'
6263
swipyVersion = '1.2.3'
6364

gradle.properties

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,6 @@ org.gradle.daemon=true
1717
# This option should only be used with decoupled projects. More details, visit
1818
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
1919
org.gradle.parallel=true
20-
org.gradle.configureondemand=true
20+
org.gradle.configureondemand=true
21+
android.useAndroidX=true
22+
android.enableJetifier=true
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Oct 26 17:44:23 EEST 2017
1+
#Tue Oct 30 17:08:05 EET 2018
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip

sample-chat/build.gradle

+4-6
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ buildscript {
88
}
99
}
1010

11-
1211
apply plugin: 'com.android.application'
1312
apply plugin: 'io.fabric'
1413

1514
repositories {
1615
maven { url 'https://maven.fabric.io/public' }
17-
1816
flatDir { dirs 'libs' }
1917
}
2018

@@ -68,11 +66,8 @@ android {
6866
lintOptions {
6967
abortOnError false
7068
}
71-
72-
7369
}
7470

75-
7671
dependencies {
7772
implementation(project(":sample-core"))
7873

@@ -82,7 +77,10 @@ dependencies {
8277

8378
implementation "com.timehop.stickyheadersrecyclerview:library:$rootProject.stickylistheadersVersion@aar"
8479
implementation "com.github.orangegangsters:swipy:$rootProject.swipyVersion@aar"
80+
implementation("com.crashlytics.sdk.android:crashlytics:${rootProject.crashlyticsVersion}@aar") {
81+
transitive = true
82+
}
8583
}
8684

8785
apply from: "../artifacts.gradle"
88-
apply plugin: 'com.google.gms.google-services'
86+
apply plugin: 'com.google.gms.google-services'

sample-chat/project.properties

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
# Project target.
1414
target=android-21
1515
android.library.reference.1=libraries/pull-to-refresh
16-
android.library.reference.2=../../SDK/android-sdk/extras/android/support/v7/appcompat

sample-chat/src/main/AndroidManifest.xml

+20-8
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,10 @@
5858
android:label="@string/chat_info"
5959
android:screenOrientation="portrait" />
6060

61-
<activity android:name=".ui.activity.AttachmentImageActivity"
62-
android:theme="@style/AppTheme.Dark"
63-
android:screenOrientation="portrait" />
61+
<activity
62+
android:name=".ui.activity.AttachmentImageActivity"
63+
android:screenOrientation="portrait"
64+
android:theme="@style/AppTheme.Dark" />
6465

6566
<receiver
6667
android:name="com.google.android.gms.gcm.GcmReceiver"
@@ -90,22 +91,33 @@
9091
</intent-filter>
9192
</service>
9293

93-
<meta-data android:name="com.quickblox.messages.TYPE" android:value="GCM" />
94-
<meta-data android:name="com.quickblox.messages.SENDER_ID" android:value="@string/sender_id" />
95-
<meta-data android:name="com.quickblox.messages.QB_ENVIRONMENT" android:value="DEVELOPMENT" />
94+
<meta-data
95+
android:name="com.quickblox.messages.TYPE"
96+
android:value="GCM" />
97+
98+
<meta-data
99+
android:name="com.quickblox.messages.SENDER_ID"
100+
android:value="@string/sender_id" />
101+
102+
<meta-data
103+
android:name="com.quickblox.messages.QB_ENVIRONMENT"
104+
android:value="DEVELOPMENT" />
96105

97106
<meta-data
98107
android:name="com.google.android.gms.version"
99108
android:value="@integer/google_play_services_version" />
100109

101110
<provider
102-
android:name="android.support.v4.content.FileProvider"
111+
android:name="androidx.core.content.FileProvider"
103112
android:authorities="${applicationId}.provider"
104113
android:exported="false"
105114
android:grantUriPermissions="true">
106115
<meta-data
107116
android:name="android.support.FILE_PROVIDER_PATHS"
108117
android:resource="@xml/provider_paths" />
109118
</provider>
119+
<meta-data
120+
android:name="io.fabric.ApiKey"
121+
android:value="4b96a3f33893a42103eae91d2166d0c517b833d3" />
110122
</application>
111-
</manifest>
123+
</manifest>

sample-chat/src/main/assets/qb_config.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,5 @@
33
"auth_key": "f4HYBYdeqTZ7KNb",
44
"auth_secret": "ZC7dK39bOjVc-Z8",
55
"account_key": "C4_z7nuaANnBYmsG_k98",
6-
"api_domain": "https://api.quickblox.com",
7-
"chat_domain": "chat.quickblox.com",
86
"gcm_sender_id": "761750217637"
9-
}
10-
7+
}
+11-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
{
2-
"users_tag": "webrtcusers",
3-
"users_password": "x6Bt0VDy5",
4-
"port": 5223,
5-
"socket_timeout": 300,
6-
"keep_alive": true,
7-
"use_tls": true,
8-
"auto_join": false,
9-
"auto_mark_delivered": true,
10-
"reconnection_allowed": true,
11-
"allow_listen_network": true
12-
}
13-
2+
"users_tag": "webrtcusers",
3+
"users_password": "x6Bt0VDy5",
4+
"port": 5223,
5+
"socket_timeout": 300,
6+
"keep_alive": true,
7+
"use_tls": true,
8+
"auto_join": false,
9+
"auto_mark_delivered": true,
10+
"reconnection_allowed": true,
11+
"allow_listen_network": true
12+
}

sample-chat/src/main/java/com/quickblox/sample/chat/App.java

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.quickblox.sample.chat;
22

3+
import com.crashlytics.android.Crashlytics;
34
import com.quickblox.sample.chat.models.SampleConfigs;
45
import com.quickblox.sample.chat.utils.Consts;
56
import com.quickblox.sample.chat.utils.configs.ConfigUtils;
@@ -8,13 +9,16 @@
89

910
import java.io.IOException;
1011

12+
import io.fabric.sdk.android.Fabric;
13+
1114
public class App extends CoreApp {
1215
private static final String TAG = App.class.getSimpleName();
1316
private static SampleConfigs sampleConfigs;
1417

1518
@Override
1619
public void onCreate() {
1720
super.onCreate();
21+
initFabric();
1822
ActivityLifecycle.init(this);
1923
initSampleConfigs();
2024
}
@@ -30,4 +34,10 @@ private void initSampleConfigs() {
3034
public static SampleConfigs getSampleConfigs() {
3135
return sampleConfigs;
3236
}
37+
38+
private void initFabric() {
39+
if (!BuildConfig.DEBUG) {
40+
Fabric.with(this, new Crashlytics());
41+
}
42+
}
3343
}

0 commit comments

Comments
 (0)