react-native-mixpanel
react-native-mixpanel copied to clipboard
Adjust session length parameters for App Session (iOS)
https://help.mixpanel.com/hc/en-us/articles/115004581763-Adjust-session-length-parameters-for-App-Session-event#objectivec-sdk
As we can see in the link above, we can customize minimumSessionDuration
and maximumSessionDuration
for the App Session event.
For Android we can already do it without any changes, cause we just need to add a meta-tag on AndroidManifest.xml
.
Though the way it works for iOS doesn't allow us today to customize it. What do you guys think about adding a new method where we would pass an object and could set those properties?
https://github.com/andrejunges/react-native-mixpanel/commit/3711c4cc39b1cd4ad5e63fd9cbdf87866614eda9
Any news on this? I am looking to do the same thing. Oh sorry - just noticed the link