zoho / react-native-zohodesk-portal-sdk

8 stars 4 forks source link

Issues Integrating Zoho Desk SDK with React Native (Unclear Documentation and Missing Maven Dependencies) #23

Open NilabjaDas opened 2 months ago

NilabjaDas commented 2 months ago

Hi Team,

I'm currently trying to integrate the Zoho Desk SDK into my React Native project but have encountered multiple issues due to unclear documentation and missing dependencies.

My Setup: React Native Version: 0.75.1 React Version: 18.3.1 Zoho Desk SDK Package Installed: react-native-zohodesk-portal-sdk@2.0.0 Issues Faced: Unclear Documentation: The documentation provided at Zoho Desk SDK React Native Integration Guide is limited and contradictory. There are steps mentioned that don't seem to align well with actual integration steps, leading to confusion. Could you provide a more detailed and up-to-date guide for the React Native SDK?

Maven Repository Issues: The documentation suggests adding the following Maven repositories: maven { url 'https://maven.zohodl.com' } maven { url "https://downloads.zohocdn.com/wmslibrary" } However:

The link https://downloads.zohocdn.com/wmslibrary returns a 404 error. Searching the public Maven repository for com.zoho.desk yields no results. The closest available SDK is for com.zoho.crm, not desk. Build Failure: After adding the mentioned Maven URLs and running the build, I encounter the following error:

Could not find com.zoho.desk:asapsdk:4.0_BETA_01. Searched in the following locations:

This suggests the asapsdk dependency is either missing from your Maven repository or incorrectly referenced.

I have also added import under, MainApplication.kt import com.zoho.desk.asap.ZohoDeskPortalSDK;

and initilized it as well, with the org id and all.

Request for Help: Could you please:

Update the Maven repository links or confirm the correct URLs to fetch the Zoho Desk SDK dependencies. Provide updated documentation with clear steps to integrate Zoho Desk SDK into a React Native project, especially for Android.

Thanks for your support!

kdebia commented 2 months ago

I have the same problem, I'm working with react, for ios it works fine, but on Android it gives me the same error

Could not find com.zoho.desk:asapsdk:4.0_BETA-1.

I would appreciate some help with this.