nurse_lynx_pro/app/build.gradle
2025-02-20 10:49:24 +05:30

456 lines
15 KiB
Groovy

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
android {
compileSdk 34
//compileSdk 34
defaultConfig {
applicationId "com.consultantapp"
minSdkVersion 24
targetSdkVersion 34
versionCode 14
versionName "1.0.13"
multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true
renderscriptTargetApi 21
renderscriptSupportModeEnabled true
}
signingConfigs {
debug {
storeFile file("consultapp.jks")
keyAlias "consultapp"
keyPassword "codebrew"
storePassword "codebrew"
}
release {
storeFile file("consultapp.jks")
keyAlias "consultapp"
keyPassword "codebrew"
storePassword "codebrew"
}
}
/* lovenavigator creds */
// storeFile file("lovenavigator")
// keyAlias "lovenavigatoruser"
// keyPassword "lovenavigatoruser"
// storePassword "lovenavigatoruser"
flavorDimensions "app"
productFlavors {
consult {
dimension "app"
applicationId "com.lovenavigatoruser"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"a59ef14422c898df221e0f4da0ed85611\""
buildConfigField 'String', 'BASE_URL', "\"https://peercation.netsolutionindia.com/\""
}
}
flavorDimensions "app"
productFlavors {
consult {
dimension "app"
applicationId "com.consultantapp"
versionCode 6
versionName "1.0.5"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"a59ef14422c898df221e0f4da0ed85611\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
homeDoctor {
dimension "app"
applicationId "com.homeDoctor.user"
versionCode 17
versionName "1.1.7"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"cee2fff85b65c53502034e689c65001611\""
buildConfigField 'String', 'BASE_URL', "\"https://calladmin.inhomed.com/\""
}
nurseLynx {
dimension "app"
applicationId "com.nurseLynx.user"
versionCode 14
versionName "1.0.13"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"c6b484d83fb21425453dcd0af6c1f01b15\""
// buildConfigField 'String', 'BASE_URL', "\"https://nurselynx.royoconsult.com/\""
buildConfigField 'String', 'BASE_URL', "\"https://nurselynx.netsolutionindia.com/\""
}
taradoc {
dimension "app"
applicationId "com.taradoc.user"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"bb4722d01caf2daca69bde408f3829c917\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
clouddoc {
dimension "app"
applicationId "com.clouddoc.user"
versionCode 2
versionName "1.0.1"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"eee7f84ccfb6ef2223ec464ab4e9309318\""
// buildConfigField 'String', 'BASE_URL', "\"https://api.clouddoconline.com/\""
buildConfigField 'String', 'BASE_URL', "\"https://nurselynxx.dmlabs.in/\""
}
meetMd {
dimension "app"
applicationId "com.meetmd.user"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"69ad7d22541dba7a2f9e739bd117f93420\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
/*airdoc {
dimension "app"
applicationId "com.airdoc.user"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"97cbe68ed1c26aaf7ac5b64659da6b9c14\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}*/
/*heal {
dimension "app"
applicationId "com.heal.user"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"27e6f7e43e86c5d9f73ad41dab4cba2210\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}*/
/* edu {
dimension "app"
applicationId "com.edu.user"
versionCode 2
versionName "1.0.1"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"a3a6ed3c5f13b4221bb36348cee600e29\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
marketplace {
dimension "app"
applicationId "com.marketplace.user"
versionCode 2
versionName "1.0.1"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"f5f12e693a14390512c43c4664218d3a8\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
healthcare {
dimension "app"
applicationId "com.healthcare.app"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"4f0aef8585d484ec98e4e7d0d302a6205\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}*/
hexalud {
dimension "app"
applicationId "com.hexalud.user"
versionCode 1
versionName "1.0.0"
buildConfigField 'String', 'APP_UNIQUE_ID', "\"1c4c61782ee23458ee9b679e6c75d30330\""
buildConfigField 'String', 'BASE_URL', "\"https://royoconsult.com/\""
}
}
buildTypes {
release {
signingConfig signingConfigs.release
minifyEnabled false
debuggable false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
debug {
signingConfig signingConfigs.debug
debuggable true
minifyEnabled false
shrinkResources false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
configurations {
all { // You should exclude one of them not both of them
exclude group: "com.android.support", module: "support-core-ui"
exclude group: "com.android.support", module: "support-compat"
}
}
lintOptions {
checkReleaseBuilds false
abortOnError false
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
}
kotlinOptions {
jvmTarget = "11"
}
dataBinding {
enabled = true
}
bundle {
language {
// Specifies that the app bundle should not support
// configuration APKs for language resources. These
// resources are instead packaged with each base and
// dynamic feature APK.
enableSplit = false
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
exclude("META-INF/*.kotlin_module")
}
}
allprojects {
repositories {
/* maven { url "https://jcenter.bintray.com"}
maven { url 'https://jitpack.io' }*/
maven { url 'https://jitpack.io' }
maven { url "https://jcenter.bintray.com"}
maven { url "https://repo.spring.io/libs-release" }
google()
jcenter()
}
/* kapt {
generateStubs = true
correctErrorTypes = true
}*/
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10"
// implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.4.20"
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.core:core-ktx:1.6.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.0'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'androidx.navigation:navigation-fragment-ktx:2.3.5'
implementation 'androidx.navigation:navigation-ui-ktx:2.3.5'
implementation 'com.google.android.gms:play-services-maps:17.0.1'
testImplementation 'junit:junit:4.13.2'
implementation 'com.github.aabhasr1:OtpView:v1.1.2-ktx'
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
// implementation 'com.whiteelephant:monthandyearpicker:1.3.0'
// implementation 'com.github.smarteist:autoimageslider:1.3.9'
implementation "com.github.bumptech.glide:glide:4.11.0"
/*LIFECYCLE COMPONENTS*/
implementation "androidx.lifecycle:lifecycle-extensions:2.2.0"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.3.1"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.4.0"
/*COUNTRY CODE PICKER*/
implementation 'com.hbb20:ccp:2.4.7'
/*ANDROID SUPPORT*/
implementation 'androidx.recyclerview:recyclerview:1.2.1'
/*MATERIAL COMPONENTS*/
implementation 'com.google.android.material:material:1.4.0'
/*KOTLIN*/
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.8'
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
/*PIN VIEW*/
//implementation "com.chaos.view:pinview:1.4.3"
implementation 'io.github.chaosleung:pinview:1.4.4'
/*RETROFIT*/
def retrofitVersion = '2.9.0'
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-scalars:$retrofitVersion"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
/*OK HTTP*/
implementation "com.squareup.okhttp3:okhttp:4.9.0"
implementation "com.squareup.okhttp3:logging-interceptor:4.9.0"
/*DAGGER*/
implementation "com.google.dagger:dagger-android:2.37"
implementation "com.google.dagger:dagger-android-support:2.37"
kapt "com.google.dagger:dagger-android-processor:2.37"
kapt "com.google.dagger:dagger-compiler:2.37"
/*TIMBER*/
implementation "com.jakewharton.timber:timber:4.7.1"
/*Firebase*/
implementation 'com.google.firebase:firebase-messaging:22.0.0'
implementation 'com.google.firebase:firebase-core:19.0.1'
implementation 'com.google.firebase:firebase-analytics-ktx:19.0.1'
implementation 'com.google.firebase:firebase-dynamic-links-ktx:20.1.1'
// Add the Firebase crashlytics dependency.
implementation 'com.google.firebase:firebase-crashlytics-ktx:18.2.1'
/*ROUNDED IMAGE VIEW*/
implementation 'com.makeramen:roundedimageview:2.3.0'
/*FACEBOOK*/
// implementation 'com.facebook.android:facebook-android-sdk:8.1.0'
//Google sign in dependency
implementation 'com.google.android.gms:play-services-auth:19.2.0'
implementation 'com.google.firebase:firebase-auth:21.0.1'
implementation 'com.google.android.gms:play-services-location:18.0.0'
implementation 'com.google.android.libraries.places:places:2.2.0'
implementation "androidx.exifinterface:exifinterface:1.3.6"
/*Image Doc Picker*/
// implementation 'com.droidninja:filepicker:2.2.5'
/*GLIDE*/
implementation 'com.github.bumptech.glide:glide:4.12.0'
annotationProcessor 'com.github.bumptech.glide:compiler:4.11.0'
/*PERMISSION DISPATCHER*/
/* implementation "com.github.hotchemi:permissionsdispatcher:4.8.0"
kapt "com.github.hotchemi:permissionsdispatcher-processor:4.8.0"*/
implementation "com.github.permissions-dispatcher:permissionsdispatcher:4.8.0"
kapt "com.github.permissions-dispatcher:permissionsdispatcher-processor:4.8.0"
/*Socket*/
implementation('io.socket:socket.io-client:1.0.0') {
exclude group: 'org.json', module: 'json'
}
/*Compress image*/
// implementation 'id.zelory:compressor:2.1.0'
implementation 'id.zelory:compressor:3.0.1'
/*View full image*/
/*need to replace code show full image*/
// implementation 'com.github.stfalcon:frescoimageviewer:0.5.0'
// implementation 'com.facebook.fresco:fresco:2.4.0'
// Jitsi Meet
// implementation('org.jitsi.react:jitsi-meet-sdk:2.9.3') { transitive = true }
implementation('org.jitsi.react:jitsi-meet-sdk:5.1.0') { transitive = true }
/*PAGER INDICATOR*/
// implementation 'me.relex:circleindicator:2.1.4'
implementation 'me.relex:circleindicator:2.1.6'
/*Razor Pay*/
/*Crash in latest version*/
implementation 'com.razorpay:checkout:1.6.7'
/*Card Form*/
implementation 'com.braintreepayments:card-form:5.0.0'
/*Animations*/
implementation "com.airbnb.android:lottie:3.4.4"
/*Date Picker*/
// implementation 'com.github.florent37:singledateandtimepicker:2.2.6'
implementation 'com.github.florent37:singledateandtimepicker:2.2.7'
/*Read More TextView*/
//implementation 'com.borjabravo:readmoretextview:2.1.0'
/*Bmi*/
//implementation 'com.ekn.gruzer.gaugelibrary:gaugelibrary:0.1.0'
implementation 'com.github.Gruzer:simple-gauge-android:0.3.1'
// implementation 'pl.pawelkleczkowski.customgauge:CustomGauge:1.0.3'
//recordView
// implementation 'com.devlomi.record-view:record-view:2.0.1'
//for AndroidX use:
implementation 'com.github.3llomi:RecordView:3.1.3'
//Hyper Pay
implementation 'com.google.android.gms:play-services-wallet:18.1.3'
implementation 'io.card:android-sdk:5.5.1'
implementation project(path: ':alipay')
implementation project(path: ':oppwa.mobile')
//Snap-Kit
implementation([
'com.snapchat.kit.sdk:login:1.12.0',
'com.snapchat.kit.sdk:core:1.12.0'
])
/*Contact Picker*/
// implementation 'com.github.broakenmedia:MultiContactPicker:1.8.5'
// implementation 'com.l4digital.fastscroll:fastscroll:1.1.2'
// implementation "io.github.l4digital:fastscroll:2.1.0"
//Twitter
// implementation('com.twitter.sdk.android:twitter:3.3.0@aar') {
// transitive = true
// }
//AppsFlyer
implementation 'com.appsflyer:af-android-sdk:6.3.2'
//Pdf Viewer
/*comment for now*/
// implementation 'com.github.barteksc:android-pdf-viewer:2.8.2'
implementation 'de.hdodenhof:circleimageview:3.1.0'
implementation 'com.karumi:dexter:6.2.3'
implementation 'androidx.work:work-runtime-ktx:2.7.1'
//Volley
implementation 'com.android.volley:volley:1.2.1'
//Country code picker
implementation 'io.michaelrocks:libphonenumber-android:8.13.35'
// implementation "io.github.l4digital:fastscroll:1.1.2"
//implementation 'com.miguelcatalan:materialsearchview:1.3.0'
implementation 'com.facebook.soloader:soloader:0.11.0'
implementation 'com.1gravity:android-contactpicker:1.4.0'
}
apply plugin: 'com.google.gms.google-services'
apply plugin: 'com.google.firebase.crashlytics'
//api key Q4dvLX3kpCax6Qbm7iZHt6buJ
//api secret key FZZtKKLhFajOUFcDuHG869ty3f50F5JB0KHStHdGNBDde4wTfR