Comments (13)
@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.
@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 any fix for the above issue? and apart from that i have 2 questions..
- 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?- 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, 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.
@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.
@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.
@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.
Is there are any additionaly setup which i'm missing for android?
from salesiq-mobilisten-reactnative.
@Angu-G tried it but callback is returning false.. success seems to be false
from salesiq-mobilisten-reactnative.
@Md-Mudassir Please share your screen name(portal name)
from salesiq-mobilisten-reactnative.
are you referring this? @Angu-G
from salesiq-mobilisten-reactnative.
Yes, @Md-Mudassir. Let me check and get back
from salesiq-mobilisten-reactnative.
@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.
@Angu-G any fix for the above issue? and apart from that i have 2 questions..
- 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? - How to customize the floating icon like color, position..
from salesiq-mobilisten-reactnative.
Related Issues (20)
- ZohoSalesIQ.setFAQVisibility(false) not working in android HOT 1
- Opening the chat from notification and then going back closes the app HOT 2
- `NullPointerException` in `setPageTitle` method HOT 4
- [Expo] : Invariant Violation: `new NativeEventEmitter()` requires a non-null argument HOT 19
- 1 duplicate symbol for architecture arm64 (iOS) HOT 2
- Can't determine type for tag '<macro name="m3_comp_bottom_app_bar_container_color">?attr/colorSurface</macro>' HOT 3
- startChat() is not working on Android HOT 3
- Use of undeclared identifier 'ZohoSalesIQ' HOT 1
- Terminate chats with timer HOT 1
- Android build failing after upgrading to 8.0.0 HOT 2
- [Expo] : ReferenceError: Can't find variable: Platform to import ZohoSalesIQ HOT 1
- NoClassDefFoundError DrawableWrapper HOT 1
- Unable to successfully build on Android HOT 2
- Fatal Exception: at SalesIQApplicationManager.java HOT 2
- ArrayIndexOutOfBoundsException at SalesIQApplicationManager.java HOT 2
- Could not resolve com.zoho.salesiq:mobilisten:7.0.2 HOT 5
- java.lang.NullPointerException HOT 1
- Cannot find protocol declaration for 'ZohoSalesIQChatDelegate' HOT 2
- java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.zoho.livechat.android.models.SalesIQChat.getVisitid()' on a null object reference HOT 4
- Execution failed for task ':app:generatePackageList'. > argument type mismatch HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from salesiq-mobilisten-reactnative.