RevenueCat / RevenueCat/react-native-purchases
PurchasesStoreTransaction type missing purchaseDateMillis, revenueCatId
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 117
- Avg merge
- 14h 40m
- Merged PRs (30d)
- 40
Description
Hello!
The SDK returns purchaseDateMillis and revenueCatId in the nonSubscriptionPurchases property of the CustomerInfo object. However, these are not included in the typescript type.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/customerInfo.ts at the linked CustomerInfo nonSubscriptionPurchases type definition. Compare the SDK's returned fields with that type, then verify that purchaseDateMillis and revenueCatId are represented and that the TypeScript checks pass.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100