'Is this possible to get Paid app purchase receipt from Google Play store?
We are working on a Xamarin project that needs to get the date of purchase of a Paid App that was posted in Android Playstore. I can see iOS providing the direct API for validating the receipt. FYI, I'm not looking for an In-app purchase receipt. I'm looking for an initial paid app purchase/download receipt.
Is there any default API to get app purchase details?
Solution 1:[1]
This code will return the first install (purchased time)
context.getPackageManager()
.getPackageInfo("com.some.package.name", 0)
.firstInstallTime;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jabbar |
