Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added extendSession() method to Browser Client #425

Merged

Conversation

justin-fiedler
Copy link
Contributor

@justin-fiedler justin-fiedler commented Jun 9, 2023

Summary

** Add extendSession() method to Browser SDK to allow customers to extend the current session without sending events / using quota.

amplitude.extendSession();

Checklist

  • Does your PR title have the correct title format?
  • Does your PR have a breaking change?: No

@justin-fiedler justin-fiedler merged commit c6c82ba into v1.x Jun 12, 2023
@justin-fiedler justin-fiedler deleted the AMP-77777-add-extend-session-method-to-browser-sdk branch June 12, 2023 22:48
@kevinpagtakhan
Copy link
Collaborator

we should also update the snippet loader to include the new public facing method

kevinpagtakhan pushed a commit that referenced this pull request Jun 14, 2023
* feat: added extendSession() method to Browser Client

* fix: implement extendSession() method for RN Client and Browser Client factory

* chore: code clean up

* chore: fix mocks

* chore: handle deferred config

* chore: fix comment in test

* chore: add snippet proxy test for extendSession()
kevinpagtakhan added a commit that referenced this pull request Jun 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants