GithubHelp home page GithubHelp logo

Comments (13)

Angu-G avatar Angu-G commented on July 28, 2024 1

@Md-Mudassir, Can you please try the following code block as a replacement of the ZohoSalesIQ.init() API and let us know that the issue persists?

ZohoSalesIQ.initWithCallback("your appKey","your accessKey", (success) => {
      if(success){
          ZohoSalesIQ.setLauncherVisibility(true);
      }
      else{
          // your code
      }
});

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024 1

@Md-Mudassir Thank you for your patience. We have identified the issue. Our server team is checking for the mismatch in the key. We will revert back once the fix is live.

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024 1

@Angu-G any fix for the above issue? and apart from that i have 2 questions..

  1. The floating icon is by default set globally in almost all of the components.. ideally it should only appear in one component where I am defining ZohoSalesIQ.setLauncherVisibility(true); right? is there a way to control it to appear only in specified component?
  2. How to customize the floating icon like color, position..

@Md-Mudassir Customization is not possible as of now. You can disable our default launcher and have your own custom launcher and call the openChat() to open the SDK.

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024 1

@Md-Mudassir, Can you please try the following code block as a replacement of the ZohoSalesIQ.init() API and let us know that the issue persists?

ZohoSalesIQ.initWithCallback("your appKey","your accessKey", (success) => {
      if(success){
          ZohoSalesIQ.setLauncherVisibility(true);
      }
      else{
          // your code
      }
});

Thanks for the fix @Angu-G
using the above API inside useEffect fixed the problem & for customisation I turned ZohoSalesIQ.setLauncherVisibility(false); to false & made use of openChat() API and added my own floating icon in which i had the full control over it.

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024 1

@Md-Mudassir, Thank you for your time over the screen-sharing session. SDK should always be initialized at the Application level. In React-Native case, we recommend initializing the SDK in useEffect or componentDidMount method.

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024

@Md-Mudassir, Can you please let us know is this always reproducible and also whether you have used the following API?

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024

@Angu-G I followed this setup docs. & i'm calling only these 2 API's in one of my component.

ZohoSalesIQ.init("android_app_key","android_access_key"); ZohoSalesIQ.setLauncherVisibility(true);

Error in Android Emulator and i get the same error in a real device as well in debug mode. it shows for few seconds and then closes the app automatically.

error

Is there are any additionaly setup which i'm missing for android?

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024

@Angu-G tried it but callback is returning false.. success seems to be false

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024

@Md-Mudassir Please share your screen name(portal name)

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024

are you referring this? @Angu-G
portal name

from salesiq-mobilisten-reactnative.

Angu-G avatar Angu-G commented on July 28, 2024

Yes, @Md-Mudassir. Let me check and get back

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024

@Md-Mudassir, Can you please try the following code block as a replacement of the ZohoSalesIQ.init() API and let us know that the issue persists?

ZohoSalesIQ.initWithCallback("your appKey","your accessKey", (success) => {
      if(success){
          ZohoSalesIQ.setLauncherVisibility(true);
      }
      else{
          // your code
      }
});

Even in iOS its returning false.. where as ZohoSalesIQ.init() works (iOS)

from salesiq-mobilisten-reactnative.

Md-Mudassir avatar Md-Mudassir commented on July 28, 2024

@Angu-G any fix for the above issue? and apart from that i have 2 questions..

  1. The floating icon is by default set globally in almost all of the components.. ideally it should only appear in one component where I am defining ZohoSalesIQ.setLauncherVisibility(true); right? is there a way to control it to appear only in specified component?
  2. How to customize the floating icon like color, position..

from salesiq-mobilisten-reactnative.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.