Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Conversation

@andrejunges
Copy link
Contributor

@andrejunges andrejunges commented Apr 30, 2018

Related to #132

I don't have any experience with Objective C, so probably there are better ways to implement this functionality.
@davodesign84 it'd be great if you could take a look on it.

@ghost
Copy link

ghost commented Apr 30, 2018

DeepCode found the following issues:

Critical: 0
Warning: 0
Info: 0

Priority breakdown:

Security Defect API Anomaly Rename Lint Info
Critical 0 0 0 0 0 0 0
Warning 0 0 0 0 0 0 0
Info 0 0 0 0 0 0 0

Most affected files:

File Critical Warning Info

See detailed analysis.

@andrejunges
Copy link
Contributor Author

@davodesign84 any chance you get some time soon to take a look on this?

@davide-scalzo davide-scalzo merged commit 1f5837f into davide-scalzo:master Aug 9, 2018
@louismullie
Copy link

@andrejunges Any pointers as to how this method should be called?

@trickeyd
Copy link

trickeyd commented Aug 3, 2021

Yes is there any documentation for this? I am not at all hot on objective C I'm afraid.

@trickeyd
Copy link

trickeyd commented Aug 3, 2021

Ah sorry - it is just in the docs for the js API. I thought this was something I had to call from within the obj c.

For anyone else that arrives here in a similar state of confusion:

iOS is from the JS:

// Allows control of the min/max sessions 
Mixpanel.setAppSessionPropertiesIOS({
  minimumSessionDuration: 20000,
  maximumSessionDuration: 90000,
});

Android is from the AndroidManifest.xml:

<meta-data android:name="com.mixpanel.android.MPConfig.MinimumSessionDuration"
    android:value="20000" />

<meta-data android:name="com.mixpanel.android.MPConfig.SessionTimeoutDuration"
    android:value="90000" />

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants