countly-sdk-unity icon indicating copy to clipboard operation
countly-sdk-unity copied to clipboard

Upgrading without uninstalling the previous version will not report previous events?

Open Ru7z opened this issue 3 years ago • 7 comments

I found that when I upgrade my app without uninstalling previous versions, the requests in the Queue which did not send last time will no longer be sent.

I note that the data was not lost in the local DB file(db3.box).

Is this code not work or something?

Ru7z avatar May 15 '21 11:05 Ru7z

Hello, Please share the SDK version and platform you are using.

ZahidZafar avatar May 17 '21 10:05 ZahidZafar

countly-unity-sdk.20.11.0 Both ios and android.

Ru7z avatar May 17 '21 10:05 Ru7z

Did you upgrade the SDK version too, or just upgrade the android or ios app?

ZahidZafar avatar May 17 '21 10:05 ZahidZafar

Just app.

Ru7z avatar May 17 '21 10:05 Ru7z

In fact, when the app is reinstalled, the unsent events stored locally will not be sent again.

Ru7z avatar May 17 '21 10:05 Ru7z

Events and Views stored locally will send to the server when their count will be equal to or greater than the event threshold and Views threshold respectively. You can configure Events and Views threshold values in 'Countly prefab'. After the session update call these events will send to the server.

ZahidZafar avatar May 17 '21 13:05 ZahidZafar

Yes, I know that. In general, countly works well. My problem is that when an overwrite installation occurs, countly did not resend the unsent requests previously stored in the db.

Ru7z avatar May 17 '21 14:05 Ru7z