subscriptionsByProductIdentifier is empty on Android for user with active subscriptions
- [x] I have updated Purchases SDK to the latest version
- [x] I have read the Contribution Guidelines
- [x] I have searched the Community
- [x] I have read docs.revenuecat.com
- [x] I have searched for existing Github issues
Describe the bug
The variable subscriptionsByProductIdentifier on the CustomerInfo object is empty on Android (built with React Native). On iOS it works though. In the CustomerInfo I get activeSubscriptions and entitlements including all the metadata like expiration and purchase dates, but the subscriptionsByProductIdentifier is just empty while it SHOULD contain all my subscriptions keyed by their ID.
- Environment
- Platform: Android
- SDK version: 8.17.0
- OS version: Any
- Android Studio version: Any
- How widespread is the issue. 10%
- Steps to reproduce, with a description of expected vs. actual behavior
CustomerInfo with
Purchases.sharedInstance.getCustomerInfofor a user with an active subscription and checkout the value ofcustomerInfo.subscriptionsByProductIdentifier
Additional context This issue also happens on the React Native SDK on Android, see here: https://github.com/RevenueCat/react-native-purchases/issues/1248#issuecomment-2827823503
👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!
Reopening issue. It was closed due to a failing automation. Sorry about that.
We deployed https://github.com/RevenueCat/purchases-android/pull/2377 in version 8.17.1. Closing this issue since it's been fixed.
This issue has been automatically locked due to no recent activity after it was closed. Please open a new issue for related reports.