purchases-android
purchases-android copied to clipboard
Add cache amazon user data
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.