You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we are using AdForm on our app since 2017, so using different versions of your SDK and different versions of the Android OS.
Our customers are reporting feedbacks for an unusual increase of user data size and we started investigating about it. Now we are using your SDK version 2.5.0 , and we performed some investigations on Android 10 and 11.
We noticed that more or less at every app launch, when we call the AdformTrackingSdk.startTracking function, the SDK creates a directory called app_webview_{id} inside the dataDir and another one called webview_{id} inside the cacheDir (with the same {id} suffix).
The sum of the sizes of the two directories is about 5MB, that if multiplied for the app launches, can become a huge size in few time.
To remove them is not enought to clear the cache because the bigger of the two directories is not inside the cache dir, so is needed to clear user data, but losing also all the other useful data used by our app.
Our question is: is there a way to solve this big data leak?
Thank you.
The text was updated successfully, but these errors were encountered:
Hi, @D-Melis I had the same issue with SDK version 2.5.0, I had inserted a custom logic at startup to delete recursively all folders named webview_{id}.
I tried version 2.5.2 and it seems to fix the problem by naming the folder like this webview_{applicationId}. every time the app starts up it doesn't create a new folder but it replace content in the webview_{applicationId} folder.
Will be great to add the delete custom logic to help with the migration from version 2.5.0 to newest one.
By the way could you explain for what this files are needed? Are they important for the SDK?
Hello, we have the same problem with growing size of the app. I investigated it a bit with respect to this issue.
On the version 2.5.5, the app creates a new folder app_webview_{package_name}adform_tracking{hash}. That has been done in 2.5.4 according this comment.
I tried the version 2.5.3 and app creates just one folder app_webview_{package_name}_adform_tracking.
As far as I understand it you added this hash to folders to fix the crashes, but you caused the size growth again. Could you provide a way to mitigate both of these issues?
Hi, we are using AdForm on our app since 2017, so using different versions of your SDK and different versions of the Android OS.
Our customers are reporting feedbacks for an unusual increase of user data size and we started investigating about it. Now we are using your SDK version
2.5.0
, and we performed some investigations on Android 10 and 11.We noticed that more or less at every app launch, when we call the
AdformTrackingSdk.startTracking
function, the SDK creates a directory calledapp_webview_{id}
inside thedataDir
and another one calledwebview_{id}
inside thecacheDir
(with the same{id}
suffix).The sum of the sizes of the two directories is about 5MB, that if multiplied for the app launches, can become a huge size in few time.
To remove them is not enought to clear the cache because the bigger of the two directories is not inside the cache dir, so is needed to clear user data, but losing also all the other useful data used by our app.
Our question is: is there a way to solve this big data leak?
Thank you.
The text was updated successfully, but these errors were encountered: