From d8c7af0ebe241beb9270ba597a8d2dd9ca3275e9 Mon Sep 17 00:00:00 2001
From: lipengwei <lipengwei@nianben.com>
Date: Wed, 06 May 2020 10:38:13 +0800
Subject: [PATCH] 2.1.0

---
 res/ElvaChatServiceSDK.bundle/vi-VN.lproj/Localizable.strings       |    8 
 res/ElvaChatServiceSDK.bundle/tr.lproj/Localizable.strings          |    5 
 WAAiHelpImpl_CN.podspec                                             |    7 
 res/ElvaChatServiceSDK.bundle/es.lproj/Localizable.strings          |    5 
 res/ElvaChatServiceSDK.bundle/en.lproj/Localizable.strings          |    9 +
 res/ElvaChatServiceSDK.bundle/ru.lproj/Localizable.strings          |    5 
 frameworks/MQTTFramework.framework/Headers/MQTTWebsocketTransport.h |   92 +++++++-------
 frameworks/MQTTFramework.framework/Headers/MQTTClient.h             |   25 ++++
 config/wa_sdk_impl_config_aihelp.xml                                |    2 
 res/ElvaChatServiceSDK.bundle/sv-SE.lproj/Localizable.strings       |    8 
 res/ElvaChatServiceSDK.bundle/img_arrow.png                         |    0 
 res/ElvaChatServiceSDK.bundle/it-IT.lproj/Localizable.strings       |    9 
 res/ElvaChatServiceSDK.bundle/btn_error_send.png                    |    0 
 frameworks/MQTTFramework.framework/Headers/MQTTLog.h                |   45 +++++++
 res/ElvaChatServiceSDK.bundle/fa.lproj/Localizable.strings          |   14 +-
 res/ElvaChatServiceSDK.bundle/pl-PL.lproj/Localizable.strings       |    9 
 WAAiHelpImpl_CN/2.1.0/WAAiHelpImpl_CN.podspec                       |   28 ++++
 res/ElvaChatServiceSDK.bundle/ko.lproj/Localizable.strings          |    5 
 frameworks/MQTTFramework.framework/Info.plist                       |    0 
 res/ElvaChatServiceSDK.bundle/ar.lproj/Localizable.strings          |    5 
 res/ElvaChatServiceSDK.bundle/eval_video_play_btn.png               |    0 
 frameworks/ElvaChatServiceSDK.framework/Info.plist                  |    0 
 res/ElvaChatServiceSDK.bundle/de.lproj/Localizable.strings          |    6 
 res/ElvaChatServiceSDK.bundle/fr-FR.lproj/Localizable.strings       |    7 
 res/ElvaChatServiceSDK.bundle/ja.lproj/Localizable.strings          |    6 
 frameworks/WAAIhelpImpl.framework/WAAIhelpImpl                      |    0 
 res/ElvaChatServiceSDK.bundle/img_loading.png                       |    0 
 res/ElvaChatServiceSDK.bundle/zh-Hant.lproj/Localizable.strings     |    8 +
 res/ElvaChatServiceSDK.bundle/zh-Hans.lproj/Localizable.strings     |    8 +
 res/ElvaChatServiceSDK.bundle/pt-PT.lproj/Localizable.strings       |    8 
 res/ElvaChatServiceSDK.bundle/el-GR.lproj/Localizable.strings       |    9 
 frameworks/WAAIhelpImpl.framework/Headers/WAAIhelpImpl.h            |    2 
 frameworks/MQTTFramework.framework/MQTTFramework                    |    0 
 res/ElvaChatServiceSDK.bundle/th.lproj/Localizable.strings          |    5 
 frameworks/ElvaChatServiceSDK.framework/Headers/ECServiceSdk.h      |   15 ++
 res/ElvaChatServiceSDK.bundle/id-ID.lproj/Localizable.strings       |    5 
 frameworks/ElvaChatServiceSDK.framework/ElvaChatServiceSDK          |    0 
 res/ElvaChatServiceSDK.bundle/img_net_error.png                     |    0 
 38 files changed, 276 insertions(+), 84 deletions(-)

diff --git a/WAAiHelpImpl_CN.podspec b/WAAiHelpImpl_CN.podspec
index a01aec8..712a717 100644
--- a/WAAiHelpImpl_CN.podspec
+++ b/WAAiHelpImpl_CN.podspec
@@ -9,7 +9,7 @@
 Pod::Spec.new do |s|
 
 s.name = 'WAAiHelpImpl_CN'
-s.version = '2.0.0'
+s.version = '2.1.0'
 s.summary = 'WAAfImpl framework in testing environment.'
 s.license = 'MIT'
 s.author = { "lpw" => "lipengwei@gamehollywood.com" }
@@ -22,6 +22,7 @@
 s.libraries = 'sqlite3'
 s.resources = ['config/*.xml','res/ElvaChatServiceSDK.bundle','res/ElvaChatServiceSDK.bundle','res/Localization/*/*.strings']
 s.requires_arc = true
-s.dependency 'WASdkIntf_CN', '~> 2.0.0'   #此处添加私有库依赖
-s.dependency 'WASdkImpl_CN', '~> 2.0.0'
+s.dependency 'WASdkIntf_CN'   #此处添加私有库依赖
+s.dependency 'WASdkImpl_CN' 
+
 end
diff --git a/WAAiHelpImpl_CN/2.1.0/WAAiHelpImpl_CN.podspec b/WAAiHelpImpl_CN/2.1.0/WAAiHelpImpl_CN.podspec
new file mode 100644
index 0000000..712a717
--- /dev/null
+++ b/WAAiHelpImpl_CN/2.1.0/WAAiHelpImpl_CN.podspec
@@ -0,0 +1,28 @@
+#
+#  Be sure to run `pod spec lint WAAiHelpImpl.podspec' to ensure this is a
+#  valid spec and to remove all comments including this before submitting the spec.
+#
+#  To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html
+#  To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
+#
+
+Pod::Spec.new do |s|
+
+s.name = 'WAAiHelpImpl_CN'
+s.version = '2.1.0'
+s.summary = 'WAAfImpl framework in testing environment.'
+s.license = 'MIT'
+s.author = { "lpw" => "lipengwei@gamehollywood.com" }
+s.homepage = 'http://repo.wingsdk.cn:8082/summary/WAAiHelpImpl_CN.git'
+s.source = { :git => "http://admin@repo.wingsdk.cn:8082/r/WAAiHelpImpl_CN.git" , :tag => s.version}
+s.platform = :ios
+s.ios.deployment_target = "7.0"
+s.frameworks = "WebKit"
+s.vendored_frameworks = 'frameworks/*.framework'
+s.libraries = 'sqlite3'
+s.resources = ['config/*.xml','res/ElvaChatServiceSDK.bundle','res/ElvaChatServiceSDK.bundle','res/Localization/*/*.strings']
+s.requires_arc = true
+s.dependency 'WASdkIntf_CN'   #此处添加私有库依赖
+s.dependency 'WASdkImpl_CN' 
+
+end
diff --git a/config/wa_sdk_impl_config_aihelp.xml b/config/wa_sdk_impl_config_aihelp.xml
index 5ab7c87..a956af0 100644
--- a/config/wa_sdk_impl_config_aihelp.xml
+++ b/config/wa_sdk_impl_config_aihelp.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <config>
-	<version val="AIHELP2.0.0"/>
+	<version val="AIHELP2.1.0"/>
     <comps>
         <!-- 公共模块 -->
         <comp module="CORE" plaf="AIHELP" mandatory="YES" value="WAAIhelpCore" desc="公共模块"/>
diff --git a/frameworks/ElvaChatServiceSDK.framework/ElvaChatServiceSDK b/frameworks/ElvaChatServiceSDK.framework/ElvaChatServiceSDK
index 170214f..5ef9944 100644
--- a/frameworks/ElvaChatServiceSDK.framework/ElvaChatServiceSDK
+++ b/frameworks/ElvaChatServiceSDK.framework/ElvaChatServiceSDK
Binary files differ
diff --git a/frameworks/ElvaChatServiceSDK.framework/Headers/ECServiceSdk.h b/frameworks/ElvaChatServiceSDK.framework/Headers/ECServiceSdk.h
index 968c6c2..2d95b9f 100644
--- a/frameworks/ElvaChatServiceSDK.framework/Headers/ECServiceSdk.h
+++ b/frameworks/ElvaChatServiceSDK.framework/Headers/ECServiceSdk.h
@@ -4,6 +4,7 @@
 //
 
 #import <Foundation/Foundation.h>
+
 /*
  * notify the application when some state changes in Elva.
  * eventCode:
@@ -12,7 +13,16 @@
  *          state (1) : all elva ui are closed
  */
 typedef void (*ElvaEventCallBack)(const int eventCode, const int state);
+typedef BOOL (*ElvaPingCallBack)(const NSString * log);
+typedef void (*ElvaAllowUploadLogMessageCallback)(void);
+
 @class UIViewController;
+typedef NS_ENUM(int,ElvaTokenPlatform) {
+    ElvaTokenPlatformAPNS               = 1,//APNS
+    ElvaTokenPlatformFirebase           = 2,//firebase-FCM
+    ElvaTokenPlatformJpush              = 3,//极光推送
+    ElvaTokenPlatformGeTui              = 4,//个推
+};
 @interface ECServiceSdk:NSObject
 #pragma mark - ------init------
 + (void) init:(NSString*) appSecret Domain:(NSString*) domain AppId:(NSString*) appId;
@@ -65,6 +75,7 @@
 
 + (void) registerUnityOnInitializedCallback:(NSString *) gameObject;
 + (void) registerUnityOnMessageArrivedCallback:(NSString *) gameObject;
++ (void) registerUnityOnSendMessageSuccessCallback:(NSString *) gameObject;
 + (void) registerDeviceToken:(NSString*) deviceToken isVIP:(Boolean) isVip;
 + (void) handlePushNotification:(NSDictionary *) table DataFromInApp:(BOOL) dataFromInApp;
 + (int) getNotificationMessageCount;
@@ -78,4 +89,8 @@
 + (void) setSDKEdgeColorWithRed:(float)red green:(float)green blue:(float)blue alpha:(float)alpha;//0~1
 
 + (void) setEventListener:(ElvaEventCallBack)callback;
++ (void) setPushToken:(NSString*)pushToken pushPlatform:(ElvaTokenPlatform)pushPlatform;//platform参考1:APNS 2:firebase 3:极光推送 4:个推
++ (void)setNetCheckInfoWithIp:(NSString*)ip callback:(ElvaPingCallBack)callback;
++ (void)setAllowUploadLogMessageCallback:(ElvaAllowUploadLogMessageCallback)callback;
++ (void)setUploadLogFileAtPath:(NSString*)path;
 @end
diff --git a/frameworks/ElvaChatServiceSDK.framework/Info.plist b/frameworks/ElvaChatServiceSDK.framework/Info.plist
index 9b136da..a4e444c 100644
--- a/frameworks/ElvaChatServiceSDK.framework/Info.plist
+++ b/frameworks/ElvaChatServiceSDK.framework/Info.plist
Binary files differ
diff --git a/frameworks/MQTTFramework.framework/Headers/MQTTClient.h b/frameworks/MQTTFramework.framework/Headers/MQTTClient.h
new file mode 100755
index 0000000..39d043b
--- /dev/null
+++ b/frameworks/MQTTFramework.framework/Headers/MQTTClient.h
@@ -0,0 +1,25 @@
+//
+//  MQTTClient.h
+//  MQTTClient
+//
+//  Created by Christoph Krey on 13.01.14.
+//  Copyright © 2013-2016 Christoph Krey. All rights reserved.
+//
+
+/**
+ Include this file to use MQTTClient classes in your application
+ 
+ @author Christoph Krey krey.christoph@gmail.com
+ @see http://mqtt.org
+ */
+
+#import <Foundation/Foundation.h>
+
+#import <MQTTClient/MQTTSession.h>
+#import <MQTTClient/MQTTSessionLegacy.h>
+#import <MQTTClient/MQTTSessionSynchron.h>
+#import <MQTTClient/MQTTMessage.h>
+#import <MQTTClient/MQTTTransport.h>
+#import <MQTTClient/MQTTCFSocketTransport.h>
+#import <MQTTClient/MQTTCoreDataPersistence.h>
+#import <MQTTClient/MQTTSSLSecurityPolicyTransport.h>
diff --git a/frameworks/MQTTFramework.framework/Headers/MQTTLog.h b/frameworks/MQTTFramework.framework/Headers/MQTTLog.h
new file mode 100755
index 0000000..887395e
--- /dev/null
+++ b/frameworks/MQTTFramework.framework/Headers/MQTTLog.h
@@ -0,0 +1,45 @@
+//
+//  MQTTLog.h
+//  MQTTClient
+//
+//  Created by Christoph Krey on 10.02.16.
+//  Copyright © 2016 Christoph Krey. All rights reserved.
+//
+
+#ifndef MQTTLog_h
+
+#define MQTTLog_h
+
+
+#ifdef LUMBERJACK
+    #define LOG_LEVEL_DEF ddLogLevel
+    #import <CocoaLumberjack/CocoaLumberjack.h>
+    #ifndef myLogLevel
+        #ifdef DEBUG
+            static const DDLogLevel ddLogLevel = DDLogLevelWarning;
+        #else
+            static const DDLogLevel ddLogLevel = DDLogLevelWarning;
+        #endif
+    #else
+        static const DDLogLevel ddLogLevel = myLogLevel;
+    #endif
+#else
+    #ifdef DEBUG
+        #define DDLogVerbose
+        #define DDLogWarn
+        #define DDLogInfo
+        #define DDLogError 
+//        #define DDLogVerbose NSLog
+//        #define DDLogWarn NSLog
+//        #define DDLogInfo NSLog
+//        #define DDLogError NSLog
+    #else
+        #define DDLogVerbose(...)
+        #define DDLogWarn(...)
+        #define DDLogInfo(...)
+        #define DDLogError(...)
+    #endif
+#endif
+
+
+#endif /* MQTTLog_h */
diff --git a/frameworks/MQTTFramework.framework/Headers/MQTTWebsocketTransport.h b/frameworks/MQTTFramework.framework/Headers/MQTTWebsocketTransport.h
index 0a77784..a80b4aa 100755
--- a/frameworks/MQTTFramework.framework/Headers/MQTTWebsocketTransport.h
+++ b/frameworks/MQTTFramework.framework/Headers/MQTTWebsocketTransport.h
@@ -1,49 +1,49 @@
+////
+////  MQTTWebsocketTransport.h
+////  MQTTClient
+////
+////  Created by Christoph Krey on 06.12.15.
+////  Copyright © 2015-2016 Christoph Krey. All rights reserved.
+////
 //
-//  MQTTWebsocketTransport.h
-//  MQTTClient
+//#import <Foundation/Foundation.h>
+//#import "MQTTTransport.h"
+//#import <SocketRocket/SRWebSocket.h>
 //
-//  Created by Christoph Krey on 06.12.15.
-//  Copyright © 2015-2016 Christoph Krey. All rights reserved.
+///** MQTTCFSocketTransport
+// * implements an MQTTTransport on top of Websockets (SocketRocket)
+// */
+//@interface MQTTWebsocketTransport : MQTTTransport <MQTTTransport, SRWebSocketDelegate>
 //
-
-#import <Foundation/Foundation.h>
-#import "MQTTTransport.h"
-#import <SocketRocket/SRWebSocket.h>
-
-/** MQTTCFSocketTransport
- * implements an MQTTTransport on top of Websockets (SocketRocket)
- */
-@interface MQTTWebsocketTransport : MQTTTransport <MQTTTransport, SRWebSocketDelegate>
-
-/** host an NSString containing the hostName or IP address of the host to connect to
- * defaults to @"localhost"
-*/
-@property (strong, nonatomic) NSString *host;
-
-/** port an unsigned 16 bit integer containing the IP port number to connect to
- * defaults to 80
- */
-@property (nonatomic) UInt16 port;
-
-/** tls a boolean indicating whether the transport should be using security 
- * defaults to NO
- */
-@property (nonatomic) BOOL tls;
-
-/** path an NSString indicating the path component of the websocket URL request
- * defaults to @"/html"
- */
-@property (strong, nonatomic) NSString *path;
-
-/** allowUntrustedCertificates a boolean indicating whether self signed or expired certificates should be accepted
- * defaults to NO
- */
-@property (nonatomic) BOOL allowUntrustedCertificates;
-
-/** pinnedCertificates an NSArray containing certificates to validate server certificates against
- * defaults to nil
- */
-@property (strong, nonatomic) NSArray *pinnedCertificates;
-
-
-@end
+///** host an NSString containing the hostName or IP address of the host to connect to
+// * defaults to @"localhost"
+//*/
+//@property (strong, nonatomic) NSString *host;
+//
+///** port an unsigned 16 bit integer containing the IP port number to connect to
+// * defaults to 80
+// */
+//@property (nonatomic) UInt16 port;
+//
+///** tls a boolean indicating whether the transport should be using security 
+// * defaults to NO
+// */
+//@property (nonatomic) BOOL tls;
+//
+///** path an NSString indicating the path component of the websocket URL request
+// * defaults to @"/html"
+// */
+//@property (strong, nonatomic) NSString *path;
+//
+///** allowUntrustedCertificates a boolean indicating whether self signed or expired certificates should be accepted
+// * defaults to NO
+// */
+//@property (nonatomic) BOOL allowUntrustedCertificates;
+//
+///** pinnedCertificates an NSArray containing certificates to validate server certificates against
+// * defaults to nil
+// */
+//@property (strong, nonatomic) NSArray *pinnedCertificates;
+//
+//
+//@end
diff --git a/frameworks/MQTTFramework.framework/Info.plist b/frameworks/MQTTFramework.framework/Info.plist
index cc28728..710af82 100644
--- a/frameworks/MQTTFramework.framework/Info.plist
+++ b/frameworks/MQTTFramework.framework/Info.plist
Binary files differ
diff --git a/frameworks/MQTTFramework.framework/MQTTFramework b/frameworks/MQTTFramework.framework/MQTTFramework
index 948823e..5d7d957 100644
--- a/frameworks/MQTTFramework.framework/MQTTFramework
+++ b/frameworks/MQTTFramework.framework/MQTTFramework
Binary files differ
diff --git a/frameworks/WAAIhelpImpl.framework/Headers/WAAIhelpImpl.h b/frameworks/WAAIhelpImpl.framework/Headers/WAAIhelpImpl.h
index cfa81be..a1fa435 100644
--- a/frameworks/WAAIhelpImpl.framework/Headers/WAAIhelpImpl.h
+++ b/frameworks/WAAIhelpImpl.framework/Headers/WAAIhelpImpl.h
@@ -16,4 +16,4 @@
 
 // In this header, you should import all the public headers of your framework using statements like #import <WAAIhelpImpl/PublicHeader.h>
 
-//time:2020/04/07 12:30 ver:2.0.0
+//time:2020/05/07 12:30 ver:2.1.0
diff --git a/frameworks/WAAIhelpImpl.framework/WAAIhelpImpl b/frameworks/WAAIhelpImpl.framework/WAAIhelpImpl
index 1ba7a31..b281b93 100644
--- a/frameworks/WAAIhelpImpl.framework/WAAIhelpImpl
+++ b/frameworks/WAAIhelpImpl.framework/WAAIhelpImpl
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/ar.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/ar.lproj/Localizable.strings
index 3516a48..5e7a442 100755
--- a/res/ElvaChatServiceSDK.bundle/ar.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/ar.lproj/Localizable.strings
@@ -20,3 +20,8 @@
 "Cancel"="إلغاء";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="حجم الملف يتجاوز الحد ، يرجى تحميل الملف أصغر من %d ميغابايت";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="ما إذا كانت ظروف الشبكة سترسل لنا  ، والتي سوف تساعدنا على تحسين جودة اتصال الشبكة الخاصة بك";
+"After checking, the network is available"="بعد التحقق ، الشبكة متاحة";
diff --git a/res/ElvaChatServiceSDK.bundle/btn_error_send.png b/res/ElvaChatServiceSDK.bundle/btn_error_send.png
new file mode 100644
index 0000000..c1c7394
--- /dev/null
+++ b/res/ElvaChatServiceSDK.bundle/btn_error_send.png
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/de.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/de.lproj/Localizable.strings
index 9a9e5a3..5b46e1b 100755
--- a/res/ElvaChatServiceSDK.bundle/de.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/de.lproj/Localizable.strings
@@ -21,4 +21,8 @@
 "Oops, no relevant results were found"="Tut mir Leid, Keine Ergebnisse gefunden.";
 "Success"="Success";
 "Failed"="Failed";
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Die Dateigröße überschreitet das Limit. Bitte laden Sie die Datei mit einer Größe von weniger als %d MB hoch";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Willst du uns den Status der Netzwerkverbindung senden damit wir die Qualität der Verbindung verbessern können?";
+"After checking, the network is available"="Nach der Überprüfung ist das Netzwerk verfügbar";
diff --git a/res/ElvaChatServiceSDK.bundle/el-GR.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/el-GR.lproj/Localizable.strings
index fe49531..6b352e6 100755
--- a/res/ElvaChatServiceSDK.bundle/el-GR.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/el-GR.lproj/Localizable.strings
@@ -19,10 +19,11 @@
 "your question"="Εισάγετε ερώτηση";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Το μέγεθος του αρχείου υπερβαίνει το όριο, μεταφορτώστε το αρχείο μικρότερο από %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Είτε θέλετε να μας στείλετε τις συνθήκες δικτύου, οι οποίες θα μας βοηθήσουν να βελτιώσουμε την ποιότητα της σύνδεσής σας στο δίκτυο";
+"After checking, the network is available"="Μετά τον έλεγχο, το δίκτυο είναι διαθέσιμο";
 
 
 
diff --git a/res/ElvaChatServiceSDK.bundle/en.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/en.lproj/Localizable.strings
index 8b286fe..1ae3092 100755
--- a/res/ElvaChatServiceSDK.bundle/en.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/en.lproj/Localizable.strings
@@ -21,3 +21,12 @@
 "Oops, no relevant results were found"="Oops, no relevant results were found";
 "Success"="Success";
 "Failed"="Failed";
+"Please tell us more details"="Please tell us more details";
+"Network Error, Please check your network"="Network Error, Please check your network";
+"Retry"="Retry";
+"Loading......"="Loading......";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="The file size exceeds the limit, please upload the file smaller than %dM";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Send us the network diagnostics? It'll help us improve connection quality.";
+"After checking, the network is available"="After checking, the network is available";
diff --git a/res/ElvaChatServiceSDK.bundle/es.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/es.lproj/Localizable.strings
index 2d92ad9..0891d16 100755
--- a/res/ElvaChatServiceSDK.bundle/es.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/es.lproj/Localizable.strings
@@ -21,3 +21,8 @@
 "Oops, no relevant results were found"="Lo sentimos mucho que no se puede encontrar ningún dato.";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="El tamaño del archivo excede el límite, cargue el archivo de menos de %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Envíenos los diagnósticos de red por favor. Nos ayudará a mejorar la calidad de la conexión.";
+"After checking, the network is available"="Después de verificar, la red está disponible";
diff --git a/res/ElvaChatServiceSDK.bundle/eval_video_play_btn.png b/res/ElvaChatServiceSDK.bundle/eval_video_play_btn.png
new file mode 100644
index 0000000..726cc3a
--- /dev/null
+++ b/res/ElvaChatServiceSDK.bundle/eval_video_play_btn.png
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/fa.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/fa.lproj/Localizable.strings
index 595c028..f2dfd11 100755
--- a/res/ElvaChatServiceSDK.bundle/fa.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/fa.lproj/Localizable.strings
@@ -1,4 +1,4 @@
-//法斯语fa,fa-IR
+//波斯语fa,fa-IR
 "content_too_long"="نباید از %ld حروف بیشتر باشد.";
 "ContactCustomerService" = "با ما تماس بگیرید";
 "self_service_interface" = "پشتیبانی";
@@ -20,14 +20,12 @@
 "Cancel"="لغو";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="اندازه پرونده فراتر از حد است ، لطفا پرونده را کوچکتر از %dM بارگذاری کنید";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
 
-
-
-
-
-
-
-
+"Send us the network diagnostics? It'll help us improve connection quality."="این که آیا شرایط شبکه را برای ما ارسال کنیم ، که به ما در بهبود کیفیت اتصال شبکه شما کمک خواهد کرد";
+"After checking, the network is available"="پس از بررسی ، شبکه موجود است";
 
 
 
diff --git a/res/ElvaChatServiceSDK.bundle/fr-FR.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/fr-FR.lproj/Localizable.strings
index 92c7b14..e2e62df 100755
--- a/res/ElvaChatServiceSDK.bundle/fr-FR.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/fr-FR.lproj/Localizable.strings
@@ -20,5 +20,8 @@
 "Cancel"="Annuler";
 "Success"="Success";
 "Failed"="Failed";
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="La taille du fichier dépasse la limite, veuillez télécharger le fichier de moins de %d Mo";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Nous envoyer le diagnostique réseau? Cela nous aidera à améliorer la qualité de la connexion.";
+"After checking, the network is available"="Après vérification, le réseau est disponible";
diff --git a/res/ElvaChatServiceSDK.bundle/id-ID.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/id-ID.lproj/Localizable.strings
index 0224003..d5eb00a 100755
--- a/res/ElvaChatServiceSDK.bundle/id-ID.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/id-ID.lproj/Localizable.strings
@@ -20,3 +20,8 @@
 "Cancel"="membatalkan";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Ukuran file melebihi batas, harap unggah file lebih kecil dari %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Kirimkan diagnostik jaringan kepada kami? Ini akan membantu kami untuk memperbaiki kualitas jaringan.";
+"After checking, the network is available"="Setelah memeriksa, jaringan tersedia";
diff --git a/res/ElvaChatServiceSDK.bundle/img_arrow.png b/res/ElvaChatServiceSDK.bundle/img_arrow.png
new file mode 100644
index 0000000..e6118f7
--- /dev/null
+++ b/res/ElvaChatServiceSDK.bundle/img_arrow.png
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/img_loading.png b/res/ElvaChatServiceSDK.bundle/img_loading.png
new file mode 100644
index 0000000..6f8ce5c
--- /dev/null
+++ b/res/ElvaChatServiceSDK.bundle/img_loading.png
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/img_net_error.png b/res/ElvaChatServiceSDK.bundle/img_net_error.png
new file mode 100644
index 0000000..93fdb64
--- /dev/null
+++ b/res/ElvaChatServiceSDK.bundle/img_net_error.png
Binary files differ
diff --git a/res/ElvaChatServiceSDK.bundle/it-IT.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/it-IT.lproj/Localizable.strings
index 012f872..cd27809 100755
--- a/res/ElvaChatServiceSDK.bundle/it-IT.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/it-IT.lproj/Localizable.strings
@@ -20,10 +20,11 @@
 "Cancel"="Annulla";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="La dimensione del file supera il limite, carica il file più piccolo di %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Mandare il rapporto della condizione di rete? Ci aiuterà a migliorare le qualità della connessione.";
+"After checking, the network is available"="Dopo il controllo, la rete è disponibile";
 
 
 
diff --git a/res/ElvaChatServiceSDK.bundle/ja.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/ja.lproj/Localizable.strings
index c82bbb2..1d5b33b 100755
--- a/res/ElvaChatServiceSDK.bundle/ja.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/ja.lproj/Localizable.strings
@@ -22,4 +22,8 @@
 "Success"="成功";
 "Failed"="失敗";
 "Please tell us more details"="原因を具体的に書いてください。";
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="ファイルサイズが制限を超えています。%dMB未満のファイルをアップロードしてください";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="ネットワークの接続情報を送信していただけませんか。安定したインターネット接続を維持することに役立ちます。";
+"After checking, the network is available"="確認後、ネットワークは利用可能です";
diff --git a/res/ElvaChatServiceSDK.bundle/ko.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/ko.lproj/Localizable.strings
index 07dee98..afa750a 100755
--- a/res/ElvaChatServiceSDK.bundle/ko.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/ko.lproj/Localizable.strings
@@ -21,3 +21,8 @@
 "Oops, no relevant results were found"="해당 검색 결과가 없습니다.";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="파일 크기가 한도를 초과합니다. %dMB보다 작은 파일을 업로드하십시오.";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="네트워크 연결 정보를 보내시겠습니까? 안정적인 인터넷 연결을 유지하는데 도움이 됩니다.";
+"After checking, the network is available"="확인 후 네트워크를 사용할 수 있습니다";
diff --git a/res/ElvaChatServiceSDK.bundle/pl-PL.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/pl-PL.lproj/Localizable.strings
index 3b4fbdb..39b16ac 100755
--- a/res/ElvaChatServiceSDK.bundle/pl-PL.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/pl-PL.lproj/Localizable.strings
@@ -20,10 +20,11 @@
 "Cancel"="Anuluj";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Rozmiar pliku przekracza limit, prześlij plik mniejszy niż %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Czy wysłać nam warunki sieciowe, które pomogą nam poprawić jakość twojego połączenia sieciowego";
+"After checking, the network is available"="Po sprawdzeniu sieć jest dostępna";
 
 
 
diff --git a/res/ElvaChatServiceSDK.bundle/pt-PT.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/pt-PT.lproj/Localizable.strings
index cd4b844..a2230f7 100755
--- a/res/ElvaChatServiceSDK.bundle/pt-PT.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/pt-PT.lproj/Localizable.strings
@@ -20,6 +20,8 @@
 "Cancel"="cancelar";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="O tamanho do arquivo excede o limite, faça o upload do arquivo com menos de %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Mandare il rapporto della condizione di rete? Ci aiuterà a migliorare le qualità della connessione.";
+"After checking, the network is available"="Após a verificação, a rede está disponível";
diff --git a/res/ElvaChatServiceSDK.bundle/ru.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/ru.lproj/Localizable.strings
index 66e4252..5250883 100755
--- a/res/ElvaChatServiceSDK.bundle/ru.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/ru.lproj/Localizable.strings
@@ -21,3 +21,8 @@
 "Oops, no relevant results were found"="Извините, по вашему запросу ничего не найдено.";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Размер файла превышает лимит, загрузите файл размером менее %d МБ";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Отправьте нам данные диагностики сети, чтобы мы могли улучшить качество соединения.";
+"After checking, the network is available"="После проверки сеть доступна";
diff --git a/res/ElvaChatServiceSDK.bundle/sv-SE.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/sv-SE.lproj/Localizable.strings
index 78aa273..4ef5337 100755
--- a/res/ElvaChatServiceSDK.bundle/sv-SE.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/sv-SE.lproj/Localizable.strings
@@ -20,6 +20,8 @@
 "Cancel"="annullera";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Filstorleken överskrider gränsen, ladda upp filen mindre än %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Huruvida vi ska skicka nätverksvillkor, vilket hjälper oss att förbättra kvaliteten på din nätverksanslutning";
+"After checking, the network is available"="Efter kontroll är nätverket tillgängligt";
diff --git a/res/ElvaChatServiceSDK.bundle/th.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/th.lproj/Localizable.strings
index 37fd040..501b1f5 100755
--- a/res/ElvaChatServiceSDK.bundle/th.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/th.lproj/Localizable.strings
@@ -20,3 +20,8 @@
 "Cancel"="ยกเลิก";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="ขนาดไฟล์เกินขีด จำกัด โปรดอัปโหลดไฟล์ที่มีขนาดเล็กกว่า %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="จะส่งสถานการณ์อินเตอร์เน็ตมาให้เรา นี่จะช่วยเราแก้ไขคุณภาพอินเตอร์เน็ตของคุณได้มาก";
+"After checking, the network is available"="หลังจากตรวจสอบเครือข่ายจะพร้อมใช้งาน";
diff --git a/res/ElvaChatServiceSDK.bundle/tr.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/tr.lproj/Localizable.strings
index cc7f4f6..b0ecdab 100644
--- a/res/ElvaChatServiceSDK.bundle/tr.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/tr.lproj/Localizable.strings
@@ -20,3 +20,8 @@
 "Cancel"="iptal etmek";
 "Success"="Success";
 "Failed"="Failed";
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Dosya boyutu sınırı aşıyor, lütfen dosyayı %d MB'tan küçük yükleyin";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="ağ koşullarının bize gönderilip gönderilmeyeceği Ağ bağlantınızın kalitesini artırmamıza yardımcı olacak";
+"After checking, the network is available"="Kontrol ettikten sonra ağ kullanılabilir";
diff --git a/res/ElvaChatServiceSDK.bundle/vi-VN.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/vi-VN.lproj/Localizable.strings
index b14f521..3e181df 100755
--- a/res/ElvaChatServiceSDK.bundle/vi-VN.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/vi-VN.lproj/Localizable.strings
@@ -20,6 +20,8 @@
 "Cancel"="hủy bỏ";
 "Success"="Success";
 "Failed"="Failed";
-
-
-
+"media_upload_err_format"="Unsupported files. Currently, only 'mp4, 3gp, png, jpg, jpeg, gif' available when uploading.";
+"media_upload_err_size"="Kích thước tệp vượt quá giới hạn, vui lòng tải lên tệp nhỏ hơn %d MB";
+"media_upload_err_net"="Transmission timed out, file uploading failed.";
+"Send us the network diagnostics? It'll help us improve connection quality."="Có gửi cho chúng tôi các điều kiện mạng hay không, điều này sẽ giúp chúng tôi cải thiện chất lượng kết nối mạng của bạn";
+"After checking, the network is available"="Sau khi kiểm tra, mạng có sẵn";
diff --git a/res/ElvaChatServiceSDK.bundle/zh-Hans.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/zh-Hans.lproj/Localizable.strings
index 58f65a5..fcc61f9 100755
--- a/res/ElvaChatServiceSDK.bundle/zh-Hans.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/zh-Hans.lproj/Localizable.strings
@@ -22,3 +22,11 @@
 "Success"="成功";
 "Failed"="失败";
 "Please tell us more details"="请告知我们具体原因";
+"Network Error, Please check your network"="网络请求失败,请检查您的网络";
+"Retry"="重试";
+"Loading......"="正在全力加载";
+"media_upload_err_format"="文件格式不支持,目前只能上传 mp4, 3gp, mov, png, jpg, jpeg, gif 格式的文件";
+"media_upload_err_size"="文件大小超过限制,请上传小于%dM的文件";
+"media_upload_err_net"="网络传输超时,文件上传失败";
+"Send us the network diagnostics? It'll help us improve connection quality."="是否将网络状况发送给我们,这将帮助我们改善与您的网络连接质量";
+"After checking, the network is available"="经检测,网络是正常的";
diff --git a/res/ElvaChatServiceSDK.bundle/zh-Hant.lproj/Localizable.strings b/res/ElvaChatServiceSDK.bundle/zh-Hant.lproj/Localizable.strings
index 6cc6b37..467ec82 100755
--- a/res/ElvaChatServiceSDK.bundle/zh-Hant.lproj/Localizable.strings
+++ b/res/ElvaChatServiceSDK.bundle/zh-Hant.lproj/Localizable.strings
@@ -22,3 +22,11 @@
 "Success"="成功";
 "Failed"="失敗";
 "Please tell us more details"="請告知我們具體原因";
+"Network Error, Please check your network"="網絡請求失敗,請檢查您的網絡";
+"Retry"="重試";
+"Loading......"="正在全力加載";
+"media_upload_err_format"="文件格式不支持,目前只能上傳 mp4, 3gp, mov, png, jpg, jpeg, gif 格式的文件";
+"media_upload_err_size"="文件大小超過限制,請上傳小於%dM的文件";
+"media_upload_err_net"="網絡傳輸超時,文件上傳失敗";
+"Send us the network diagnostics? It'll help us improve connection quality."="是否將網絡狀況發送給我們,這將幫助我們改善與您的網絡連接質量";
+"After checking, the network is available"="經檢測,網絡是正常的";

--
Gitblit v1.8.0