zoho / SalesIQ-Mobilisten-ReactNative

Your mobile app's ideal live chat partner. Power up your mobile App with the SalesIQ Mobilisten SDK for React-Native.
https://mobilisten.io/
8 stars 12 forks source link

Could not resolve com.zoho.salesiq:mobilisten:7.0.2 #86

Closed shashankbhavsar1992 closed 8 months ago

shashankbhavsar1992 commented 9 months ago

Hi , after updating to react native from 0.71.2 to 0.73.4 i am getting error as Could not resolve com.zoho.salesiq:mobilisten:7.0.2 its working in older version of react native i have add maven url in my project build.gradle

bhahirathan-mb-11956 commented 9 months ago

Hi @shashankbhavsar1992 ,

Thanks for writing to us. Kindly verify if you have added Zoho's maven URL in your project-level build.gradle under allprojects - repositories as mentioned in the 2nd step of Android's Installation in README.md.

android/build.gradle

buildscript {
      // ...
}

allprojects {
    repositories {
             ....
             maven { url 'https://maven.zohodl.com' }
             ....
    }
}

If the issue persists, feel free to write back to us at support@zohosalesiq.com with the Github issue ID.

Regards, Bhahirathan M, Zoho SalesIQ.

bhahirathan-mb-11956 commented 8 months ago

Hi @shashankbhavsar1992 ,

As there is no recent activity from your side, we are closing this issue. You can reopen this again anytime. Meanwhile, please check out our latest version.

Please feel free to write back to us at (support@zohosalesiq.com) if the issue persists.

Best regards, Bhahirathan M, Zoho SalesIQ.

Akhidha00 commented 7 months ago

Could not determine the dependencies of task ':app:compileDebugJavaWithJavac'.

Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not find com.zoho.salesiq:mobilisten:7.1.1. Required by: project :app > project :react-native-zohosalesiq-mobilisten

I am using the latest version of react-native-zohosalesiq-mobilisten.I got this error while running the project.

Versions "react-native-zohosalesiq-mobilisten": "^8.1.0" "react-native": "0.73.6",

Build.gradle path- android/build.gradle buildscript { ext { pdfViewerVersion = "3.2.0-beta.1" pdfViewerRepo = "com.github.mhiew" buildToolsVersion = "34.0.0" minSdkVersion = 21 compileSdkVersion = 34 targetSdkVersion = 34 ndkVersion = "25.1.8937393" kotlinVersion = "1.8.0" }

repositories {
    google()
    mavenCentral()
    maven { url 'https://maven.zohodl.com' }
    // Other repositories if needed
}
dependencies {
    classpath("com.android.tools.build:gradle")
    classpath("com.facebook.react:react-native-gradle-plugin")
    classpath("org.jetbrains.kotlin:kotlin-gradle-plugin")
}

}

apply plugin: "com.facebook.react.rootproject" and this is my build.gradle file.

Please help me with this.

bhahirathan-mb-11956 commented 7 months ago

Hi @Akhidha00 ,

Thanks for writing to us. It seems like you have added the Maven URL under the plugin management. Please check the above comment and move the maven URL under allprojects outside buildscript as mentioned.

Best regards, Bhahirathan M, Zoho SalesIQ.

Akhidha00 commented 7 months ago

Thank you .