Comments (3)
Hi @waseemViwell ,
Thank you for reaching out to us. Please be advised that the setThemeColorForAndroid() API has been deprecated. Instead, you can modify the colors of the elements for the Android SDK by adding the style with the appropriate attribute and value in styles.xml. Specifically, the "colorAccent" attribute can be utilized to change the theme color of our SDK. For further clarification, please refer to the sample snippet provided below.
<resources>
<!-- This works, if syncThemeWithOsForAndroid is set as false for both light and dark mode -->
<style name="Theme.SalesIQ.Base" parent="Theme.SalesIQ.Base.DarkActionBar" >
<item name="colorAccent">#ff0000</item>
<item name="siq_toolbar_backgroundcolor">#ff0000</item>
<item name="siq_forms_toolbar_backgroundcolor">#ff0000</item>
</style>
<!-- This works, if syncThemeWithOsForAndroid is set as true when the device is in dark mode -->
<style name="Theme.SalesIQ.Base.Dark" parent="Theme.SalesIQ.Dark" >
<item name="colorAccent">#0000ff</item>
<item name="siq_toolbar_backgroundcolor">#0000ff</item>
<item name="siq_forms_toolbar_backgroundcolor">#0000ff</item>
</style>
<!-- This works, if syncThemeWithOsForAndroid is set as true when the device is in light mode -->
<style name="Theme.SalesIQ.Base.DarkActionBar" parent="Theme.SalesIQ.Light" >
<item name="colorAccent">#00ff00</item>
<item name="siq_toolbar_backgroundcolor">#00ff00</item>
<item name="siq_forms_toolbar_backgroundcolor">#00ff00</item>
</style>
</resources>
For iOS, the .setThemeColorforiOS() API is functional, and also the screenshot you have attached shows that the theme color is changed.
If you have any specific issue, please write back to us at [email protected] if the issue persists, we’ll be happy to assist you.
from salesiq-mobilisten-reactnative.
from salesiq-mobilisten-reactnative.
As of now, we do not have support for customizing background colors. However, we have plans to add UI customization support in the future, though we do not have a confirmed timeline at the moment. Rest assured, you will be notified when this feature becomes available for use and when the new version is released. Thank you for your understanding.
Regards,
Venkatesh
Zoho SalesIQ.
from salesiq-mobilisten-reactnative.
Related Issues (20)
- [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
- Application is not run after i have added required things..please resolve HOT 2
- Please reslove the issue ASAP HOT 1
- Preconditions.outOfBounds Exception HOT 2
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.