diff --git a/uikit/build.gradle b/uikit/build.gradle index 872de184..bc705ad1 100644 --- a/uikit/build.gradle +++ b/uikit/build.gradle @@ -6,7 +6,7 @@ android { minSdkVersion 21 targetSdkVersion 32 versionCode 1 - versionName "3.0.9-3" + versionName "3.0.9-4" multiDexEnabled true vectorDrawables.useSupportLibrary = true renderscriptSupportModeEnabled true diff --git a/uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/Collaborative/CometChatWebViewActivity.java b/uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/Collaborative/CometChatWebViewActivity.java index 7bc087db..5079b715 100644 --- a/uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/Collaborative/CometChatWebViewActivity.java +++ b/uikit/src/main/java/com/cometchat/pro/uikit/ui_components/messages/extensions/Collaborative/CometChatWebViewActivity.java @@ -44,7 +44,7 @@ public void onClick(View v) { if (url!=null) { WebSettings webSettings = webView.getSettings(); webSettings.setJavaScriptEnabled(true); - webSettings.setAppCacheEnabled(true); + webSettings.setCacheMode(WebSettings.LOAD_DEFAULT); webView.setWebViewClient(new WebViewClient() { @Override