Solved

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

  • 5 September 2021
  • 1 reply
  • 80 views

Badge +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?

icon

Best answer by sundeep 8 September 2021, 04:13

View original

1 reply

Userlevel 3
Badge +8

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!

Reply