purchases-android icon indicating copy to clipboard operation
purchases-android copied to clipboard

Add cache amazon user data

Open tonidero opened this issue 3 years ago • 0 comments

Description

https://revenuecats.atlassian.net/browse/CSDK-486

This PR adds a cache for the user data we get from Amazon. We get user data from the Amazon SDK very frequently on different operations and this request can be slow. This will cache this user data for up to 5 minutes. Currently, Amazon's user data includes Amazon's user id and the marketplace for the user, neither of which should change often.

tonidero avatar Oct 12 '22 08:10 tonidero