Skip to content

Commit e07b37d

Browse files
Initial Commit v7.3.0
1 parent 943a672 commit e07b37d

File tree

1,733 files changed

+161627
-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.

1,733 files changed

+161627
-0
lines changed

app/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/build

app/build.gradle

Lines changed: 263 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,263 @@
1+
plugins {
2+
id 'com.android.application'
3+
id 'kotlin-android'
4+
id 'kotlin-kapt'
5+
id 'kotlin-android-extensions'
6+
}
7+
apply plugin: 'com.google.firebase.crashlytics'
8+
apply plugin: 'kotlin-android'
9+
apply plugin: 'com.google.gms.google-services'
10+
11+
android {
12+
13+
signingConfigs {
14+
config {
15+
keyAlias 'UiKit'
16+
keyPassword 'contus@uikit'
17+
storeFile file('contus_internal_uikit_keystore.jks')
18+
storePassword 'contus@uikit'
19+
}
20+
aaptOptions {
21+
noCompress "tflite"
22+
}
23+
}
24+
25+
buildFeatures {
26+
viewBinding true
27+
}
28+
29+
lintOptions {
30+
abortOnError false
31+
}
32+
33+
compileSdkVersion 33
34+
buildToolsVersion "30.0.2"
35+
36+
defaultConfig {
37+
minSdkVersion 21
38+
targetSdkVersion 33
39+
versionCode 15
40+
versionName "7.3.0"
41+
multiDexEnabled true
42+
buildConfigField "java.util.Date", "BUILD_TIME", "new java.util.Date(" + System.currentTimeMillis() + "L)"
43+
vectorDrawables.useSupportLibrary = true
44+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
45+
applicationId "com.mirrorfly.uikit"
46+
}
47+
48+
buildTypes {
49+
debug {
50+
buildConfigField 'Boolean', 'IS_QA_BUILD', 'true'
51+
buildConfigField 'String', 'SDK_BASE_URL', '"https://api-preprod-sandbox.mirrorfly.com/api/v1/"'
52+
buildConfigField 'String', 'LICENSE', '"Please enter your License key"'
53+
buildConfigField 'String', 'WEB_CHAT_LOGIN', '"https://webchat-preprod-sandbox.mirrorfly.com/"'
54+
buildConfigField 'Boolean', 'IS_TRIAL_LICENSE', 'true'
55+
buildConfigField "String", "SUPPORT_MAIL", '"[email protected]"'
56+
resValue("string", "app_name", "UI Kit")
57+
shrinkResources false
58+
debuggable true
59+
minifyEnabled false
60+
signingConfig signingConfigs.config
61+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
62+
}
63+
64+
release {
65+
buildConfigField 'Boolean', 'IS_QA_BUILD', 'true'
66+
buildConfigField 'String', 'SDK_BASE_URL', '"https://api-preprod-sandbox.mirrorfly.com/api/v1/"'
67+
buildConfigField 'String', 'LICENSE', '"Please enter your License key"'
68+
buildConfigField 'String', 'WEB_CHAT_LOGIN', '"https://webchat-preprod-sandbox.mirrorfly.com/"'
69+
buildConfigField 'Boolean', 'IS_TRIAL_LICENSE', 'true'
70+
buildConfigField "String", "SUPPORT_MAIL", '"[email protected]"'
71+
resValue("string", "app_name", "UI Kit")
72+
shrinkResources false
73+
debuggable false
74+
minifyEnabled false
75+
signingConfig signingConfigs.config
76+
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
77+
}
78+
}
79+
80+
kotlinOptions {
81+
jvmTarget = '1.8'
82+
}
83+
84+
compileOptions {
85+
sourceCompatibility JavaVersion.VERSION_1_8
86+
targetCompatibility JavaVersion.VERSION_1_8
87+
}
88+
89+
dexOptions {
90+
javaMaxHeapSize "4g"
91+
}
92+
93+
94+
buildTypes.each {
95+
it.buildConfigField 'String', 'GOOGLE_TRANSLATE_KEY', GOOGLE_TRANSLATE_KEY
96+
it.buildConfigField 'Boolean', 'HIPAA_COMPLIANCE_ENABLED', HIPAA_COMPLIANCE_ENABLED
97+
}
98+
}
99+
100+
dependencies {
101+
102+
implementation 'com.google.android.gms:play-services-auth:20.3.0'
103+
configurations {
104+
all {
105+
exclude group: 'org.json', module: 'json'
106+
exclude group: 'xpp3', module: 'xpp3'
107+
}
108+
}
109+
110+
implementation 'androidx.appcompat:appcompat:1.2.0'
111+
implementation 'androidx.fragment:fragment-ktx:1.3.2'
112+
implementation 'androidx.activity:activity-ktx:1.3.0-alpha05'
113+
implementation 'com.google.android.material:material:1.3.0'
114+
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
115+
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
116+
testImplementation 'junit:junit:4.13.2'
117+
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
118+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
119+
implementation "androidx.core:core-ktx:1.3.2"
120+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
121+
122+
implementation 'com.google.firebase:firebase-messaging:23.0.8'
123+
implementation 'com.google.firebase:firebase-messaging-directboot:23.0.8'
124+
implementation 'androidx.emoji:emoji:1.1.0'
125+
implementation 'androidx.emoji:emoji-appcompat:1.1.0'
126+
implementation 'io.github.rockerhieu:emojicon:1.4.2'
127+
128+
//Glide - versions.gradle
129+
implementation deps.bumptechglide.glide
130+
kapt deps.bumptechglide.compiler
131+
implementation deps.bumptechglide.okhttp3
132+
133+
// Import the BoM for the Firebase platform
134+
implementation platform('com.google.firebase:firebase-bom:30.5.0')
135+
// Declare the KTX library instead (which automatically has a dependency on the base library)
136+
implementation 'com.google.firebase:firebase-analytics-ktx'
137+
implementation 'com.google.firebase:firebase-crashlytics-ktx'
138+
implementation 'com.google.firebase:firebase-auth-ktx'
139+
// Declare the dependencies for the Remote Config
140+
// When using the BoM, you don't specify versions in Firebase library dependencies
141+
implementation 'com.google.firebase:firebase-config-ktx'
142+
implementation 'androidx.browser:browser:1.3.0'
143+
144+
//KTX Depenedency
145+
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.0'
146+
147+
//For lifecycle listener
148+
implementation 'android.arch.lifecycle:extensions:1.1.1'
149+
//noinspection LifecycleAnnotationProcessorWithJava8
150+
kapt 'android.arch.lifecycle:compiler:1.1.1'
151+
152+
//For gson parsing
153+
implementation 'com.google.code.gson:gson:2.8.6'
154+
155+
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
156+
implementation 'androidx.multidex:multidex:2.0.1'
157+
implementation 'com.google.android.gms:play-services-location:18.0.0'
158+
implementation 'com.google.android.gms:play-services-maps:17.0.1'
159+
160+
implementation 'com.facebook.stetho:stetho:1.3.1'
161+
implementation 'com.hypertrack:hyperlog:0.0.10'
162+
//for mobile number formatting
163+
implementation 'io.michaelrocks:libphonenumber-android:8.10.1'
164+
165+
//Dagger Dependencies
166+
api 'com.google.dagger:dagger:2.40.5'
167+
kapt 'com.google.dagger:dagger-compiler:2.40.5'
168+
api 'com.google.dagger:dagger-android:2.40.5'
169+
api 'com.google.dagger:dagger-android-support:2.40.5'
170+
kapt 'com.google.dagger:dagger-android-processor:2.40.5'
171+
172+
//coroutines
173+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1'
174+
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.8'
175+
//apicalls
176+
implementation 'com.squareup.retrofit2:retrofit:2.6.1'
177+
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
178+
implementation 'com.squareup.okhttp3:okhttp:4.2.0'
179+
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
180+
//stetho interceptor
181+
implementation 'com.facebook.stetho:stetho-okhttp3:1.3.1'
182+
//okhttp interceptor
183+
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.3'
184+
185+
implementation 'io.reactivex.rxjava2:rxjava:2.2.15'
186+
implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
187+
188+
implementation 'com.jakewharton.rxbinding3:rxbinding:3.1.0'
189+
implementation 'com.jakewharton.rxbinding3:rxbinding-core:3.1.0'
190+
implementation 'com.jakewharton.rxbinding3:rxbinding-appcompat:3.1.0'
191+
implementation 'com.jakewharton.rxbinding3:rxbinding-material:3.1.0'
192+
implementation 'com.jakewharton.rxbinding3:rxbinding-recyclerview:3.1.0'
193+
194+
//Collapsing Toolbar
195+
implementation 'net.opacapp:multiline-collapsingtoolbar:27.1.1'
196+
197+
// //for webrtc
198+
implementation 'com.mirrorfly.sdk:webrtc:0.0.11'
199+
200+
implementation project(':sdk:mediapicker')
201+
implementation project(':sdk:cameraview')
202+
implementation project(':sdk:zoomimageview')
203+
implementation project(':sdk:spinnerview')
204+
implementation project(':sdk:imagecropper')
205+
implementation project(':sdk:pix')
206+
implementation project(':sdk:biometric-auth')
207+
implementation project(':sdk:googletranslation')
208+
implementation project(path: ':call')
209+
210+
implementation 'com.mirrorfly.sdk:MirrorFlySDK:7.3.0'
211+
212+
//Socket - versions.gradle
213+
implementation 'com.github.nkzawa:socket.io-client:0.6.0'
214+
//okhttp interceptor
215+
implementation 'com.squareup.okhttp3:logging-interceptor:3.14.3'
216+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
217+
//coroutines
218+
219+
implementation 'androidx.localbroadcastmanager:localbroadcastmanager:1.0.0'
220+
implementation 'androidx.media:media:1.2.1'
221+
222+
//room database
223+
implementation 'androidx.room:room-runtime:2.5.0'
224+
kapt 'androidx.room:room-compiler:2.5.0'
225+
implementation "androidx.room:room-ktx:2.5.0"
226+
227+
// Lifecycle
228+
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
229+
kapt 'androidx.lifecycle:lifecycle-compiler:2.3.0'
230+
//apicalls
231+
implementation 'com.squareup.retrofit2:retrofit:2.6.1'
232+
implementation 'com.squareup.retrofit2:converter-gson:2.6.1'
233+
implementation 'com.squareup.okhttp3:okhttp:4.2.0'
234+
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
235+
implementation 'com.google.firebase:firebase-ml-natural-language-smart-reply-model:20.0.6'
236+
//QR Code Scanner
237+
implementation 'com.journeyapps:zxing-android-embedded:3.6.0@aar'
238+
implementation 'com.google.zxing:core:3.3.2'
239+
//shortcut badger
240+
implementation "me.leolin:ShortcutBadger:1.1.22@aar"
241+
242+
implementation 'androidx.security:security-crypto:1.1.0-alpha03'
243+
244+
// Google Drive
245+
implementation 'com.google.android.gms:play-services-auth:20.3.0'
246+
implementation('com.google.api-client:google-api-client-android:1.26.0') {
247+
exclude group: 'org.apache.httpcomponents'
248+
exclude module: 'guava-jdk5'
249+
}
250+
implementation('com.google.apis:google-api-services-drive:v3-rev136-1.25.0') {
251+
exclude group: 'org.apache.httpcomponents'
252+
exclude module: 'guava-jdk5'
253+
}
254+
implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'
255+
256+
// Work Manager
257+
implementation 'androidx.work:work-runtime-ktx:2.8.1'
258+
259+
}
260+
repositories {
261+
mavenCentral()
262+
}
263+
apply plugin: 'com.google.gms.google-services'

app/google-services.json

Lines changed: 126 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,126 @@
1+
{
2+
"project_info": {
3+
"project_number": "719522206274",
4+
"project_id": "mirrorfly-uikit",
5+
"storage_bucket": "mirrorfly-uikit.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:719522206274:android:df54ba1969d80aeba2d3db",
11+
"android_client_info": {
12+
"package_name": "com.mirrorfly.uikit"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "719522206274-02m46muuhlm5mhsrsk195lnn5hbjhnvb.apps.googleusercontent.com",
18+
"client_type": 1,
19+
"android_info": {
20+
"package_name": "com.mirrorfly.uikit",
21+
"certificate_hash": "f2e6cce5db55425b8fb5e6da0db05cd82bd76a48"
22+
}
23+
},
24+
{
25+
"client_id": "719522206274-66ac86djehicmdp84d16gtnagdqg6rh3.apps.googleusercontent.com",
26+
"client_type": 1,
27+
"android_info": {
28+
"package_name": "com.mirrorfly.uikit",
29+
"certificate_hash": "f31bed22c544b5ccb71f4b366e3bb85236f82548"
30+
}
31+
},
32+
{
33+
"client_id": "719522206274-6mrsl8u9t517i368jvk9h9pjl8oeff7i.apps.googleusercontent.com",
34+
"client_type": 1,
35+
"android_info": {
36+
"package_name": "com.mirrorfly.uikit",
37+
"certificate_hash": "be037b8a41f0de559b56e0d2efbb6f4605a415a4"
38+
}
39+
},
40+
{
41+
"client_id": "719522206274-dltltlss04rl634v6hbrcva9lt4sh6na.apps.googleusercontent.com",
42+
"client_type": 1,
43+
"android_info": {
44+
"package_name": "com.mirrorfly.uikit",
45+
"certificate_hash": "c96cdf893d6f4e261a40de8fcbb72c941d1b9d5f"
46+
}
47+
},
48+
{
49+
"client_id": "719522206274-h3bjb2tssuvob7jqdbr2ljh83n0ia95o.apps.googleusercontent.com",
50+
"client_type": 1,
51+
"android_info": {
52+
"package_name": "com.mirrorfly.uikit",
53+
"certificate_hash": "157f705e923c9438e4f37e8f4395c3fe175a226b"
54+
}
55+
},
56+
{
57+
"client_id": "719522206274-jnajvj8h0dihbj53u9lpb69915ptuk11.apps.googleusercontent.com",
58+
"client_type": 1,
59+
"android_info": {
60+
"package_name": "com.mirrorfly.uikit",
61+
"certificate_hash": "aa51308db6f291a737a75ba30e9e30ee2c3af94f"
62+
}
63+
},
64+
{
65+
"client_id": "719522206274-lf38u1it7lnoi832u2d1ts5hm8pvmsak.apps.googleusercontent.com",
66+
"client_type": 1,
67+
"android_info": {
68+
"package_name": "com.mirrorfly.uikit",
69+
"certificate_hash": "ecc03419cd9441fa8a886e1a473c4d3fcd3b3396"
70+
}
71+
},
72+
{
73+
"client_id": "719522206274-lo2h8kh3uq4eov0ouu1dv15e2055bbev.apps.googleusercontent.com",
74+
"client_type": 1,
75+
"android_info": {
76+
"package_name": "com.mirrorfly.uikit",
77+
"certificate_hash": "be081c4ac9a99e4f3df9f41bfd80634ec50b309b"
78+
}
79+
},
80+
{
81+
"client_id": "719522206274-r7o9etj59m0lcnceo1grpn47gkihto9i.apps.googleusercontent.com",
82+
"client_type": 1,
83+
"android_info": {
84+
"package_name": "com.mirrorfly.uikit",
85+
"certificate_hash": "da6b5443ca203b98095c59c3e2aaf8709f23865b"
86+
}
87+
},
88+
{
89+
"client_id": "719522206274-v4rtfg20du3vq7ttcnq5i5or10gll8nf.apps.googleusercontent.com",
90+
"client_type": 1,
91+
"android_info": {
92+
"package_name": "com.mirrorfly.uikit",
93+
"certificate_hash": "8c2da227ebf0eba1a66a1d0283e15d6259e760d2"
94+
}
95+
},
96+
{
97+
"client_id": "719522206274-9vomc8pihmd5trrrq9bn1u36s237h888.apps.googleusercontent.com",
98+
"client_type": 3
99+
}
100+
],
101+
"api_key": [
102+
{
103+
"current_key": "AIzaSyBsDgqVCPQkReMH5BlmXGxRirPYzKgSdE0"
104+
}
105+
],
106+
"services": {
107+
"appinvite_service": {
108+
"other_platform_oauth_client": [
109+
{
110+
"client_id": "719522206274-9vomc8pihmd5trrrq9bn1u36s237h888.apps.googleusercontent.com",
111+
"client_type": 3
112+
},
113+
{
114+
"client_id": "719522206274-ha6u1m9frvtap20j75edg5e1cnssmnne.apps.googleusercontent.com",
115+
"client_type": 2,
116+
"ios_info": {
117+
"bundle_id": "com.mirrorfly.uikit"
118+
}
119+
}
120+
]
121+
}
122+
}
123+
}
124+
],
125+
"configuration_version": "1"
126+
}

0 commit comments

Comments
 (0)