jumar
(Jumar)
January 19, 2021, 8:59am
1
Description
MobileRTC initialization seems to be deleting /library/caches/data directory(upon calling [[MobileRTC sharedRTC] initialize:context])
Which version?
5.0.24433.0616
To Reproduce(If applicable)
Steps to reproduce the behavior:
initialize MobileRTC with the following context:
domain = kSDKDomain;
enableLog = YES;
locale = MobileRTC_ZoomLocale_Default;
Smartphone (please complete the following information):
Device Model: iPad7,5
iOS Version: 12.3.1
Additional context
Please note that this only happens on fresh install of our app.
Hey @jumar
Thanks for using the dev forum!
Would you be able to record a video of this happening?
Thanks!
Michael
jumar
(Jumar)
January 20, 2021, 7:40am
3
Hi @Michael_Condon
Attached GIF is the deletion of the /data folder (as I can’t seem to upload a video file)
Please note that this seems to be replicable on version 5.4.54520.1229
Thanks!
Jumar
Hey @jumar ,
What version of OSX are you on? I can’t seem to find that folder.
Thanks!
Michael
jumar
(Jumar)
January 21, 2021, 3:01am
5
Hi @Michael_Condon
This was replicated via iOS simulator.
Directory should be the one provided by the OS via NSCachesDirectory
jumar
(Jumar)
January 21, 2021, 4:06am
6
Hi @Michael_Condon
as an update. This seems to be replicable even if our app is not freshly installed. /data from NSCachesDirectory seems to be deleted on first use of MobileRTC
Hey @jumar
Are you seeing this happen in the sample application as well?
Thanks!
Michael
jumar
(Jumar)
January 22, 2021, 2:58am
8
Hi @Michael_Condon
Upon replication, yes this is happening on the sample application as well.
However, please note that I added /data folder inside the Caches folder before MobileRTC initialization to simulate what is happening on our side.
thank you
Hey @jumar ,
Ok sounds good. I will talk to the team about this.
Thanks!
Michael
jumar
(Jumar)
January 26, 2021, 9:35am
11
Hi @Michael_Condon
Is the cause of the side effect found from the sample app?
So we can counter check if we’re doing the same on our app as well.
Thank you!
Hey @jumar ,
I have not seen this happen in the sample app on my end.
Thanks!
Michael