react-native-purchases icon indicating copy to clipboard operation
react-native-purchases copied to clipboard

PurchasesEntitlementInfo type doesn't reflect all properties from actual data

Open yaroslavnikiforov opened this issue 2 years ago • 2 comments

The following properties are not present in the PurchasesEntitlementInfo type, and you get a TypeScript error when trying to access them:

expirationDateMillis
unsubscribeDetectedAtMillis
latestPurchaseDateMillis
ownershipType
billingIssueDetectedAtMillis
originalPurchaseDateMillis
  1. Environment
    1. Platform:
    2. SDK version: 6.6.0
    3. OS version:
    4. Xcode/Android Studio version:
    5. React Native version:
    6. SDK installation (CocoaPods + version or manual):
    7. How widespread is the issue. Percentage of devices affected.
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)

Additional context Add any other context about the problem here.

yaroslavnikiforov avatar Aug 08 '23 09:08 yaroslavnikiforov

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

RCGitBot avatar Aug 08 '23 09:08 RCGitBot

Thank you for the feedback @yaroslavnikiforov! We will add those fields to the Typescript interface.

MarkVillacampa avatar Aug 08 '23 11:08 MarkVillacampa