Skip to content

Commit

Permalink
Release v4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
valliammai-sv committed Mar 10, 2023
1 parent 8c345f1 commit 83bca8b
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![SupportedLanguages](https://img.shields.io/badge/Platforms-iOS%20%7C%20%20Android-green.svg)](https://www.zoho.com/salesiq/help/developer-section/cordova-ionic-installation.html) [![Version](https://img.shields.io/badge/version-4.0.0-blue.svg)](https://mobilisten.io/) [![Mobilisten NPM CD](https://github.com/zoho/SalesIQ-Mobilisten-Cordova/workflows/Mobilisten%20NPM%20CD/badge.svg)](https://github.com/zoho/SalesIQ-Mobilisten-Cordova/actions?query=workflow%3A%22Mobilisten+NPM+CD%22)
[![SupportedLanguages](https://img.shields.io/badge/Platforms-iOS%20%7C%20%20Android-green.svg)](https://www.zoho.com/salesiq/help/developer-section/cordova-ionic-installation.html) [![Version](https://img.shields.io/badge/version-4.1.0-blue.svg)](https://mobilisten.io/) [![Mobilisten NPM CD](https://github.com/zoho/SalesIQ-Mobilisten-Cordova/workflows/Mobilisten%20NPM%20CD/badge.svg)](https://github.com/zoho/SalesIQ-Mobilisten-Cordova/actions?query=workflow%3A%22Mobilisten+NPM+CD%22)

# SalesIQ Mobilisten SDK - Cordova Plugin

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cordova-zohosalesiq-mobilisten",
"version": "4.0.0",
"version": "4.1.0",
"description": "A Cordova plugin for the Zoho SalesIQ Mobilisten SDK",
"cordova": {
"id": "cordova-zohosalesiq-mobilisten",
Expand Down
4 changes: 2 additions & 2 deletions plugin.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='utf-8'?>
<plugin id="cordova-zohosalesiq-mobilisten" version="4.0.0"
<plugin id="cordova-zohosalesiq-mobilisten" version="4.1.0"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>ZohoSalesIQ</name>
Expand All @@ -12,7 +12,7 @@
<source url="https://github.com/CocoaPods/Specs.git"/>
</config>
<pods use-frameworks="true">
<pod name="Mobilisten" spec="5.0.0" />
<pod name="Mobilisten" spec="5.3.0" />
</pods>
</podspec>
<config-file parent="/*" target="config.xml">
Expand Down
2 changes: 1 addition & 1 deletion src/android/zohosalesIQ.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ repositories {
}

dependencies {
implementation "com.zoho.salesiq:mobilisten:4.3.3"
implementation "com.zoho.salesiq:mobilisten:4.4.0"
implementation 'com.google.code.gson:gson:2.8.6'
}
8 changes: 7 additions & 1 deletion src/ios/ZohoSalesIQPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,12 @@ - (void)setLanguage:(CDVInvokedUrlCommand*)command{
[[ZohoSalesIQ Chat] setLanguage:LanguageBulgarian];
}else if([language_code isEqualToString:@"in"] || [language_code isEqualToString:@"id"]){
[[ZohoSalesIQ Chat] setLanguage:LanguageIndonesian];
}else if([language_code isEqualToString:@"ka"]){
[[ZohoSalesIQ Chat] setLanguage:LanguageGeorgian];
}else if([language_code isEqualToString:@"hy"]){
[[ZohoSalesIQ Chat] setLanguage:LanguageArmenian];
}else if([language_code isEqualToString:@"fa"]){
[[ZohoSalesIQ Chat] setLanguage:LanguagePersian];
}else{
[[ZohoSalesIQ Chat] setLanguage:LanguageEnglish];
}
Expand Down Expand Up @@ -448,7 +454,7 @@ - (void)writeLogForiOS:(CDVInvokedUrlCommand*)command {
}else if ([level isEqual: ERROR_LOG]){
debugLogLevel = SIQDebugLogLevelError;
}
[[ZohoSalesIQ Logger] write: log logLevel: debugLogLevel success:^(BOOL success) {
[[ZohoSalesIQ Logger] write: log logLevel: debugLogLevel file:nil line:nil function:nil fileID:nil filePath:nil column:nil success:^(BOOL success) {
CDVPluginResult* pluginResult = nil;
if(success == true){
pluginResult = [CDVPluginResult resultWithStatus:CDVCommandStatus_OK messageAsBool:YES];
Expand Down

0 comments on commit 83bca8b

Please sign in to comment.