How To Check If The Dependency Is Installed Or Not?


How To Check If The Dependency Is Installed Or Not?

Table Of Contents:

  1. Add The Dependancy First.

(1) Add Dependancy First

  • Add dependency in path: android\app\build.gradle
dependencies {
    // The version of react-native is set by the React Native Gradle Plugin
    implementation("com.facebook.react:react-android")

    if (hermesEnabled.toBoolean()) {
        implementation("com.facebook.react:hermes-android")
    } else {
        implementation jscFlavor
    }
    // Add Firebase BoM (Bill of Materials)
    implementation platform('com.google.firebase:firebase-bom:33.9.0')

    // Add Firebase Analytics (or other Firebase services)
    implementation 'com.google.firebase:firebase-analytics' 

    // If using Firebase Authentication (for OTP)
    implementation 'com.google.firebase:firebase-auth'

    // For Trucaller Authentication
    implementation "com.truecaller.android.sdk:truecaller-sdk:3.0.0"

    //implementation files('libs/truecaller-sdk-3.0.0.aar')
}

(2) Command To Check The Dependency Is Installed Or Not.

cd android
./gradlew app:dependencies | findstr truecaller

Leave a Reply

Your email address will not be published. Required fields are marked *