Skip to main content
Answer

How do I find the very first receipt using the Flutter SDK?

  • September 5, 2021
  • 1 reply
  • 157 views

Forum|alt.badge.img+3

Hi,

 

I’m using the Flutter SDK for auto-renewing subscription handling (with free trial).

I need to find the very first date the user subscribed (trial subscription).

Can I do this using the Flutter SDK?

Best answer by sundeep

Hi @Maduranga,

From the SDK, you can access the original purchase date of an entitlement through the `EntitlementInfo` object in `PurchaserInfo`. You can see the exact key from our Flutter SDK here.

Here’s a list of everything in `EntitlementInfo` to give you a better idea: https://docs.revenuecat.com/docs/purchaserinfo#get-entitlement-information 

Let me know if you have any other questions!

This post has been closed for comments

1 reply

sundeep
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • Answer
  • September 8, 2021

Hi @Maduranga,

From the SDK, you can access the original purchase date of an entitlement through the `EntitlementInfo` object in `PurchaserInfo`. You can see the exact key from our Flutter SDK here.

Here’s a list of everything in `EntitlementInfo` to give you a better idea: https://docs.revenuecat.com/docs/purchaserinfo#get-entitlement-information 

Let me know if you have any other questions!