mparticle-android-sdk icon indicating copy to clipboard operation
mparticle-android-sdk copied to clipboard

feat: Identity Api response caching

Open Mansi-mParticle opened this issue 1 year ago • 0 comments

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/main/.github/workflows/pr-branch-check-name.yml

Summary

  • Adds caching of identify and login calls and Clears that cache on modify and logout calls.

Testing Plan

  • [x] Was this tested locally? If not, explain why. -Tested with sample application. And currently Executed below Test cases: 1)Login with same user on same session and on cold launch. 2)Login with two different user on same session and on cold launch. 3)Call Identity with same details as login details. 4)Call Identity with same user details on same session and on cold launch.

Reference Issue (For mParticle employees only. Ignore if you are an outside contributor)

  • Closes https://go.mparticle.com/work/SQDSDKS-6673

Mansi-mParticle avatar Sep 25 '24 15:09 Mansi-mParticle