Skip to content

Commit d2cd178

Browse files
Merge pull request #44 from MirrorFly/release/v7.13.27
Release/v7.13.27
2 parents 4c7af26 + 5c4df4a commit d2cd178

File tree

185 files changed

+1794
-1575
lines changed

Some content is hidden

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

185 files changed

+1794
-1575
lines changed

README.md

Lines changed: 33 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ The minimum requirements to run the Sample App:
1313
```groovy
1414
- Android Lollipop 5.0 (API Level 21) or above
1515
- Java 7 or higher
16-
- Gradle 4.1.0 or higher
16+
- Gradle 8.6.0 or higher
17+
- Kotlin 20.0.20 or higher
1718
```
18-
> **Note :** If you're utilizing Chat SDK version 7.11.4 or higher, it's necessary to adjust the target SDK version to 34. This is due to the migration of Chat SDK to Android 14.
19+
> **Note :** If you're utilizing Chat SDK version 7.13.27 or higher, it's must to set the target SDK version to 35. This is due to the migration of Chat SDK to Android 15.
1920
2021
## Getting started
2122
This section explains the steps you need to take before testing the sample app.
@@ -37,21 +38,23 @@ dependencyResolutionManagement {
3738

3839
**Step 3:** Add the following dependencies in the app/build.gradle file.
3940
```gradle
40-
apply plugin: 'com.android.application'
41+
plugins {
42+
id("com.android.application")
43+
}
4144
4245
android {
4346
buildFeatures {
44-
viewBinding true
47+
viewBinding = true
4548
}
4649
4750
compileOptions {
48-
sourceCompatibility JavaVersion.VERSION_1_8
49-
targetCompatibility JavaVersion.VERSION_1_8
51+
sourceCompatibility = JavaVersion.VERSION_1_8
52+
targetCompatibility = JavaVersion.VERSION_1_8
5053
}
5154
}
5255
5356
dependencies {
54-
implementation 'com.mirrorfly.sdk:MirrorFlySDK:7.13.0'
57+
implementation 'com.mirrorfly.sdk:MirrorFlySDK:7.13.27'
5558
}
5659
```
5760

@@ -66,17 +69,30 @@ dependencies {
6669
```
6770
**Step 6:** To log in and run the app, you need to add the **LICENCSE** key in the app/build.gradle file. To generate the license key, you need to sign up in the <a href="https://console.mirrorfly.com/" target="_self">MirrorFly console</a>, and you can get it from there.
6871
```gradle
69-
debug {
70-
buildConfigField 'Boolean', 'IS_QA_BUILD', 'true'
71-
buildConfigField 'String', 'LICENSE', '"Please enter your License key"' // add your license key
72-
buildConfigField 'String', 'WEB_CHAT_LOGIN', '"https://webchat-preprod-sandbox.mirrorfly.com/"'
73-
buildConfigField "String", "SUPPORT_MAIL", '"[email protected]"'
72+
buildTypes {
73+
getByName("debug") {
74+
buildConfigField("Boolean", "IS_QA_BUILD", "true")
75+
buildConfigField("String", "LICENSE", "\"2sdgNtr3sFBSM3bYRa7RKDPEiB38Xo\"")
76+
buildConfigField("String", "WEB_CHAT_LOGIN", "\"https://webchat-preprod-sandbox.mirrorfly.com/\"")
77+
buildConfigField("String", "SUPPORT_MAIL", "\"[email protected]\"")
78+
buildConfigField("Boolean", "IS_SKIP_OTP", "true")
79+
buildConfigField("java.util.Date", "BUILD_TIME", "new java.util.Date(${System.currentTimeMillis()}L)")
80+
7481
resValue("string", "app_name", "UI Kit")
75-
shrinkResources false
76-
debuggable true
77-
minifyEnabled false
78-
signingConfig signingConfigs.config
79-
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
82+
83+
val googleTranslateKey = project.findProperty("GOOGLE_TRANSLATE_KEY") as String? ?: ""
84+
val hipaaComplianceEnabled = project.findProperty("HIPAA_COMPLIANCE_ENABLED") as String? ?: "false"
85+
val contactSyncEnabled = project.findProperty("CONTACT_SYNC_ENABLED") as String? ?: "false"
86+
val host = project.findProperty("HOST") as String? ?: "8.8.8.8"
87+
buildConfigField("String", "GOOGLE_TRANSLATE_KEY", googleTranslateKey)
88+
buildConfigField("Boolean", "HIPAA_COMPLIANCE_ENABLED", hipaaComplianceEnabled)
89+
buildConfigField("Boolean", "CONTACT_SYNC_ENABLED", contactSyncEnabled)
90+
buildConfigField("String", "HOST", host)
91+
// shrinkResources = false
92+
isDebuggable = true
93+
isMinifyEnabled = false
94+
signingConfig = signingConfigs.getByName("config")
95+
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
8096
}
8197
```
8298
After saving your build.gradle file, click the Sync button to apply all the changes.

app/build.gradle

Lines changed: 0 additions & 262 deletions
This file was deleted.

0 commit comments

Comments
 (0)