Skip to content

Commit

Permalink
Update Freshchat SDK to version 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rameshfreshworks committed Nov 12, 2019
1 parent 49ba88d commit 52259fe
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 23 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
##3.0.0(2019-11-12)

### Enhancement
* Ability to search through FAQs filtered by tags
* Increased CSAT message view maximum height to 4 lines
* Ability to handle channels deeplinks

### Build Changes
* Upgraded target version to 28
* Updated android gradle plugin to 3.2.1 and Gradle to 4.7

##2.9.0 (2019-9-25)

### Enhancement
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
classpath 'com.android.tools.build:gradle:3.2.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
12 changes: 6 additions & 6 deletions demo_app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
apply plugin: 'com.android.application'

android {
compileSdkVersion 26
buildToolsVersion "26.0.3"
compileSdkVersion 28
buildToolsVersion "28.0.3"

defaultConfig {
applicationId "com.example.chatdemo"
minSdkVersion 21
targetSdkVersion 26
targetSdkVersion 28
versionCode 1
versionName "1.0"
}
Expand All @@ -20,7 +20,7 @@ android {
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:26.1.0'
compile 'com.github.freshdesk:freshchat-android:1.0.0'
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.github.freshdesk:freshchat-android:1.0.0'
}
22 changes: 11 additions & 11 deletions freshchat_sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ def getScmBranch = {
}

android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
compileSdkVersion 28
buildToolsVersion "28.0.3"

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
Expand All @@ -27,9 +27,9 @@ android {

defaultConfig {
minSdkVersion 16
versionCode 290
versionName "2.9.0"
targetSdkVersion 26
versionCode 300
versionName "3.0.0"
targetSdkVersion 28
consumerProguardFiles 'consumer-proguard-rules.pro'
buildConfigField "long", 'BUILT_AT', System.currentTimeMillis() + 'L'
buildConfigField "String", "SCM_REV", getScmRevision()
Expand All @@ -46,13 +46,13 @@ android {
ext {
gsonVersion = '2.8.0'
picassoVersion = '2.5.2'
supportLibraryVersion = '26.1.0'
supportLibraryVersion = '28.0.0'
}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile "com.google.code.gson:gson:$gsonVersion"
compile "com.squareup.picasso:picasso:$picassoVersion"
compile "com.android.support:appcompat-v7:$supportLibraryVersion"
compile "com.android.support:recyclerview-v7:$supportLibraryVersion"
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "com.google.code.gson:gson:$gsonVersion"
implementation "com.squareup.picasso:picasso:$picassoVersion"
implementation "com.android.support:appcompat-v7:$supportLibraryVersion"
implementation "com.android.support:recyclerview-v7:$supportLibraryVersion"
}
Binary file modified freshchat_sdk/libs/freshchat.jar
Binary file not shown.
2 changes: 0 additions & 2 deletions freshchat_sdk/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<!-- Can be removed/negated if voice messaging is disabled -->
<!-- <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> -->

<uses-sdk android:minSdkVersion="16" />

<application>

<activity
Expand Down
2 changes: 1 addition & 1 deletion freshchat_sdk/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
<style name="Widget.Freshchat.ChatResolutionPromptText">
<item name="android:ellipsize">end</item>
<item name="android:gravity">center</item>
<item name="android:maxLines">2</item>
<item name="android:maxLines">4</item>
<item name="android:padding">8dp</item>
<item name="android:textAppearance">@style/TextAppearance.Freshchat.Medium</item>
<item name="android:text">@string/freshchat_chat_resolution_confirmation_prompt</item>
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.7-bin.zip

0 comments on commit 52259fe

Please sign in to comment.