diff --git a/README.md b/README.md index a88d4f4..9808351 100644 --- a/README.md +++ b/README.md @@ -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/react-native-sdk-installation.html) [![Version](https://img.shields.io/badge/version-8.0.1-blue.svg)](https://mobilisten.io/) [![Mobilisten NPM CD](https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/workflows/Mobilisten%20NPM%20CD/badge.svg)](https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/actions) +[![SupportedLanguages](https://img.shields.io/badge/Platforms-iOS%20%7C%20%20Android-green.svg)](https://www.zoho.com/salesiq/help/developer-section/react-native-sdk-installation.html) [![Version](https://img.shields.io/badge/version-8.0.2-blue.svg)](https://mobilisten.io/) [![Mobilisten NPM CD](https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/workflows/Mobilisten%20NPM%20CD/badge.svg)](https://github.com/zoho/SalesIQ-Mobilisten-ReactNative/actions) # React Native module for SalesIQ Mobilisten SDK diff --git a/android/build.gradle b/android/build.gradle index f86aeb3..fe91557 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -45,5 +45,5 @@ repositories { dependencies { implementation 'com.facebook.react:react-native:+' implementation 'com.squareup.retrofit2:converter-gson:2.9.0' - implementation 'com.zoho.salesiq:mobilisten:7.0.0' + implementation 'com.zoho.salesiq:mobilisten:7.0.1' } diff --git a/android/src/main/java/com/zohosalesiq/reactlibrary/RNZohoSalesIQ.java b/android/src/main/java/com/zohosalesiq/reactlibrary/RNZohoSalesIQ.java index 7bc56d1..d150470 100644 --- a/android/src/main/java/com/zohosalesiq/reactlibrary/RNZohoSalesIQ.java +++ b/android/src/main/java/com/zohosalesiq/reactlibrary/RNZohoSalesIQ.java @@ -947,6 +947,11 @@ public static void refreshLauncherPropertiesForAndroid() { }); } + @ReactMethod + public static void refreshLauncher() { + + } + @ReactMethod public void addListener(String eventName) { // Keep: Required for RN built in Event Emitter Calls. diff --git a/components/zohosalesiqJSWrapper.js b/components/zohosalesiqJSWrapper.js index b5080a4..5cc4131 100644 --- a/components/zohosalesiqJSWrapper.js +++ b/components/zohosalesiqJSWrapper.js @@ -260,6 +260,9 @@ module.exports = { setThemeForAndroid: function (value) { RNZohoSalesIQ.setThemeForAndroid(value) }, + refreshLauncher: function () { + RNZohoSalesIQ.refreshLauncher(); + }, Chat: { shouldOpenUrl: function (value) { diff --git a/ios/RNZohoSalesIQ.m b/ios/RNZohoSalesIQ.m index e66244c..a85196e 100644 --- a/ios/RNZohoSalesIQ.m +++ b/ios/RNZohoSalesIQ.m @@ -1643,6 +1643,10 @@ + (void)handleNotificationAction: (NSDictionary *) info response:(NSString *) re } } +RCT_EXPORT_METHOD(refreshLauncher) { + [ZohoSalesIQ refreshLauncher]; +} + //MARK:- DELEGATE METHODS - EVENTS - (void)agentsOffline { if (hasListeners) diff --git a/ios/RNZohoSalesIQ.podspec b/ios/RNZohoSalesIQ.podspec index 14a7e0c..6632759 100644 --- a/ios/RNZohoSalesIQ.podspec +++ b/ios/RNZohoSalesIQ.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "RNZohoSalesIQ" - s.version = "8.0.0" + s.version = "8.0.1" s.summary = "A React-Native module for the SalesIQ Mobilisten SDK" s.description = "A React-Native module for the SalesIQ Mobilisten SDK" s.homepage = "https://zoho.com" diff --git a/package.json b/package.json index 014d3a6..71ed501 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-zohosalesiq-mobilisten", - "version": "8.0.1", + "version": "8.0.2", "description": "A React Native module for the ZohoSalesIQ Mobilisten SDK", "bugs": { "email": "support@zohosalesiq.com"