RevenueCat / RevenueCat/react-native-purchases

PurchasesStoreTransaction type missing purchaseDateMillis, revenueCatId

Open
#674 3 comments 0 reactions 0 assignees View on GitHub

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.

https://github.com/RevenueCat/react-native-purchases/blob/fd8f869d91f99858da58b8e98c45e31add01ba7c/src/customerInfo.ts#L143-L156

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.