# IONIC APP local storage cleared when zoom meeting is ended by host or left by user

**URL:** <https://devforum.zoom.us/t/ionic-app-local-storage-cleared-when-zoom-meeting-is-ended-by-host-or-left-by-user/79281>\
**Category:** Ionic\
**Created:** [November 24, 2022, 1:13pm UTC](https://devforum.zoom.us/t/ionic-app-local-storage-cleared-when-zoom-meeting-is-ended-by-host-or-left-by-user/79281 "2022-11-24T13:13:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sairamrsr33](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/sairamrsr33/32/27523_2.png) [@sairamrsr33](https://devforum.zoom.us/u/sairamrsr33)\
**Post date:** [November 24, 2022, 1:13pm UTC](https://devforum.zoom.us/t/ionic-app-local-storage-cleared-when-zoom-meeting-is-ended-by-host-or-left-by-user/79281/1 "2022-11-24T13:13:25Z")

</div>

We have implemented few changes in ionic wrapper with the help of Jon related to not clearing local storage / cache, but the given solution is not working as expected.

Changes suggested by Jon are as follows

**For android :**

Implementing clear cache method in Zoom. Java file and zoom.js files of ionic wrapper of android

Zoom.js

clearDisableCache:function(value){

callNativeFunction(‘clearDisableCache’,[value],success,error)

},

Zoom.java

in execute

**case**  **“clearDisableCache”** :

**this**.clearDisableCache(args.getBoolean(0));

**Break** ;

**public void** clearDisableCache( **boolean** value){

**mZoomSDK**.getMeetingSettingsHelper().disableClearWebKitCache(value);

}

**For IOS:**

Zoom.h

-( **void** )clearDisableCache:( **BOOL** )value{

[[[MobileRTC sharedRTC] getMeetingSettings] disableClearWebKitCache:value];

}

Zoom.M

-( **void** )clearDisableCache:( **BOOL** )value;

We have done all the suggested changes, still we are unable to resolve the clear cache/local storage issue issue

Let us know if we are missing any steps or changes related to this.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [December 24, 2022, 11:13pm UTC](https://devforum.zoom.us/t/ionic-app-local-storage-cleared-when-zoom-meeting-is-ended-by-host-or-left-by-user/79281/2 "2022-12-24T23:13:54Z")

</div>

Closed on December 24, 2022, 11:13pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
