mParticle / mparticle-apple-sdk

mParticle Apple SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong session tracking in background

Ded77 opened this issue · comments

We use mParticle SDK in our app to track user session. We use the automaticSessionTracking mode.

It works well except for one case : we send silent push to our app to perform technical tasks, but it is tracked as a new user session for the SDK (it's false, the user never open this app).

Is it possible to disable this wrong session tracking (without disabled automaticSessionTracking) ?
Thank you!

It seems the flag shouldBeginSession in MParticleOptions can help me :)