Skip to content

Conversation

@qbasso
Copy link
Contributor

@qbasso qbasso commented Feb 6, 2019

No description provided.

@qbasso qbasso requested a review from rubikzube February 6, 2019 10:01
set(value) = preferences.edit().putLong(SESSION_LAST_ACCESS, value).apply()

fun getSessionId(sessionIncrementAction: ((String) -> Unit)? = null): Int {
fun getSessionId(sessionIncrementAction: ((String) -> Unit)? = null, forceIncrement: Boolean = false): Int {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this force an increment even if the time threshold has not passed?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, calling app foreground forces it, thats why i added this param

@rubikzube rubikzube merged commit 5689e52 into develop Feb 21, 2019
rubikzube added a commit that referenced this pull request Feb 21, 2019
* Update README.md
* Ch2950/documentation (#19)
* added sections number of results config parameters (#20)
* rename api_key (#22)
* added config object (#21)
* ch3426 add uid parameter (#23)
* ch4501 added purchase track event (#25)
* ch3226 match tracking calls singatures to iOS calls (#26)
* ch3225 foreground method added (#27)
@rubikzube rubikzube deleted the ch3225/foreground-method-call branch February 21, 2019 05:41
rubikzube added a commit that referenced this pull request Mar 5, 2019
* Update README.md
* ch4501 added purchase track event (#25)
* ch3226 match tracking calls singatures to iOS calls (#26)
* ch3225 foreground method added (#27)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants