TP-35937 | Upgrade Firebase BOM (#7454)
This commit is contained in:
@@ -258,10 +258,6 @@ dependencies {
|
||||
implementation "androidx.work:work-runtime-ktx:$work_version"
|
||||
implementation 'com.otaliastudios:cameraview:2.7.2'
|
||||
|
||||
// Firebase SDK for Performance Monitoring
|
||||
implementation 'com.google.firebase:firebase-appindexing:19.1.0'
|
||||
|
||||
|
||||
implementation 'com.android.installreferrer:installreferrer:2.2'
|
||||
|
||||
// Auto fetch phone number
|
||||
|
||||
@@ -35,6 +35,18 @@ android {
|
||||
dependencies {
|
||||
implementation project(":pulse")
|
||||
implementation project(":navi-base")
|
||||
|
||||
api platform('com.google.firebase:firebase-bom:32.2.2')
|
||||
api 'com.google.firebase:firebase-analytics-ktx'
|
||||
api 'com.google.firebase:firebase-auth-ktx'
|
||||
api 'com.google.firebase:firebase-config-ktx'
|
||||
api 'com.google.firebase:firebase-crashlytics-ktx'
|
||||
api 'com.google.firebase:firebase-database-ktx'
|
||||
api 'com.google.firebase:firebase-dynamic-links-ktx'
|
||||
api 'com.google.firebase:firebase-firestore-ktx'
|
||||
api 'com.google.firebase:firebase-messaging-ktx'
|
||||
api 'com.google.firebase:firebase-perf-ktx'
|
||||
|
||||
implementation "androidx.core:core-ktx:$core_version"
|
||||
//Appsflyer sdk integration
|
||||
implementation 'com.appsflyer:af-android-sdk:6.3.2'
|
||||
@@ -43,12 +55,6 @@ dependencies {
|
||||
implementation 'com.moengage:rich-notification:4.3.2'
|
||||
api 'com.moengage:push-amp-plus:6.2.1'
|
||||
implementation 'com.moengage:inapp:6.5.0'
|
||||
// Firebase SDK for Push Notification
|
||||
api 'com.google.firebase:firebase-analytics-ktx'
|
||||
// Firebase SDK for Google Analytics (Kotlin)
|
||||
api 'com.google.firebase:firebase-crashlytics:17.3.0'
|
||||
// Import the BoM for the Firebase platform
|
||||
api platform('com.google.firebase:firebase-bom:30.1.0')
|
||||
implementation "androidx.room:room-runtime:$room_version"
|
||||
// Kotlin + coroutines
|
||||
implementation "androidx.work:work-runtime-ktx:$work_version"
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2021-2022 by Navi Technologies Limited
|
||||
* * Copyright © 2021-2023 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
|
||||
package com.navi.analytics.utils
|
||||
|
||||
import android.content.Context
|
||||
import com.google.firebase.crashlytics.FirebaseCrashlytics
|
||||
import com.google.firebase.crashlytics.internal.common.CommonUtils
|
||||
import com.google.gson.Gson
|
||||
@@ -20,8 +19,8 @@ object NaviAnalyticsHelper {
|
||||
return gson.toJson(PulseRequest())
|
||||
}
|
||||
|
||||
fun checkRootedDeviceUsingFirebase(applicationContext: Context): Boolean {
|
||||
return CommonUtils.isRooted(applicationContext)
|
||||
fun checkRootedDeviceUsingFirebase(): Boolean {
|
||||
return CommonUtils.isRooted()
|
||||
}
|
||||
|
||||
fun recordException(e: Throwable) {
|
||||
|
||||
@@ -53,7 +53,6 @@ dependencies {
|
||||
implementation "androidx.core:core-ktx:$core_version"
|
||||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||
implementation "com.google.android.material:material:$material_version"
|
||||
api 'com.google.firebase:firebase-config-ktx'
|
||||
implementation "androidx.constraintlayout:constraintlayout:$constraint_layout_version"
|
||||
debugApi 'com.github.chuckerteam.chucker:library:3.5.2'
|
||||
releaseApi 'com.github.chuckerteam.chucker:library-no-op:3.5.2'
|
||||
@@ -114,8 +113,6 @@ dependencies {
|
||||
//ANR-WatchDog
|
||||
api 'com.github.anrwatchdog:anrwatchdog:1.4.0'
|
||||
|
||||
// Firebase SDK for Auth
|
||||
api 'com.google.firebase:firebase-auth-ktx'
|
||||
api "com.google.android.gms:play-services-location:21.0.1"
|
||||
|
||||
//Digio: common for esign and kyc
|
||||
@@ -128,8 +125,6 @@ dependencies {
|
||||
|
||||
// Digitap for Aadhaar kyc
|
||||
api 'com.digitap.sdk:okyc:1.3.7'
|
||||
api 'com.google.firebase:firebase-perf-ktx'
|
||||
api 'com.google.firebase:firebase-messaging-ktx'
|
||||
|
||||
// Hyperverge
|
||||
api('co.hyperverge:hypersnapsdk:4.12.1@aar', {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
*
|
||||
* * Copyright © 2020-2022 by Navi Technologies Limited
|
||||
* * Copyright © 2020-2023 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
@@ -10,7 +10,6 @@ package com.navi.common.utils
|
||||
import android.os.Build
|
||||
import com.navi.analytics.utils.NaviAnalyticsHelper
|
||||
import com.navi.base.utils.orFalse
|
||||
import com.navi.common.CommonLibManager
|
||||
import java.io.BufferedReader
|
||||
import java.io.File
|
||||
import java.io.InputStreamReader
|
||||
@@ -66,10 +65,8 @@ class CommonRootDeviceUtil {
|
||||
|
||||
fun rootedDeviceUsingFirebase(): Boolean {
|
||||
try {
|
||||
return NaviAnalyticsHelper.checkRootedDeviceUsingFirebase(
|
||||
CommonLibManager.application.applicationContext
|
||||
)
|
||||
} catch (e: Exception) {}
|
||||
return NaviAnalyticsHelper.checkRootedDeviceUsingFirebase()
|
||||
} catch (_: Exception) {}
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
@@ -82,11 +82,6 @@ dependencies {
|
||||
implementation "androidx.core:core-ktx:$core_version"
|
||||
implementation "androidx.appcompat:appcompat:$appcompat_version"
|
||||
|
||||
// Declare the dependencies for the Firebase Cloud Messaging and Analytics libraries
|
||||
// When using the BoM, you don't specify versions in Firebase library dependencies
|
||||
implementation 'com.google.firebase:firebase-crashlytics-ktx'
|
||||
implementation 'com.google.firebase:firebase-dynamic-links-ktx'
|
||||
|
||||
implementation 'com.google.android.gms:play-services-auth:19.0.0'
|
||||
implementation 'com.google.android.gms:play-services-auth-api-phone:17.5.0'
|
||||
implementation 'com.google.android.libraries.places:places:2.6.0'
|
||||
|
||||
@@ -1,14 +1,13 @@
|
||||
/*
|
||||
* *
|
||||
* * Copyright (c) 2020 . All rights reserved @Navi
|
||||
*
|
||||
* * Copyright © 2020-2023 by Navi Technologies Limited
|
||||
* * All rights reserved. Strictly confidential
|
||||
*
|
||||
*/
|
||||
|
||||
package com.navi.insurance.util
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Build
|
||||
import com.google.firebase.crashlytics.internal.common.CommonUtils
|
||||
import com.navi.base.utils.orFalse
|
||||
import java.io.BufferedReader
|
||||
import java.io.File
|
||||
@@ -64,15 +63,6 @@ class RootDeviceUtil {
|
||||
return false
|
||||
}
|
||||
|
||||
|
||||
fun rootedDeviceUsingFirebase(context: Context): Boolean {
|
||||
try {
|
||||
return CommonUtils.isRooted(context)
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
companion object {
|
||||
val instance: RootDeviceUtil by lazy { Holder.INSTANCE }
|
||||
}
|
||||
|
||||
@@ -75,10 +75,6 @@ dependencies {
|
||||
api 'androidx.paging:paging-runtime-ktx:3.1.0-alpha03'
|
||||
// Easing interpolator
|
||||
api 'com.github.MasayukiSuda:EasingInterpolator:v1.3.2'
|
||||
// Firestore
|
||||
api 'com.google.firebase:firebase-firestore-ktx'
|
||||
// Firebase SDK for Database
|
||||
api 'com.google.firebase:firebase-database-ktx'
|
||||
|
||||
implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
|
||||
testImplementation "io.mockk:mockk:$mockk_version"
|
||||
|
||||
Reference in New Issue
Block a user