Releases: codykerns/PurchasesHelper
Releases · codykerns/PurchasesHelper
1.0.1
1.0.0
0.2.0
🚨 Breaking Changes
Method names after been renamed, updating to 0.2.0 will require a bit of refactoring.
- ReadMe improved with a lot of clarity about versions, methods, etc.
configure
method renamed tosyncReceiptIfNeededAndRegister
for clarity about the behavior- Adds support for comparing
originalPurchaseDate
to catch most cases of older users. Set the date at which your version with subscriptions is going live, and if the user downloaded before then, CompatibilityAccessManager will grant access as expected packageTerms
now supports optional intro terms (includesIntroTerms
, e.g. if a user isn't eligible for a trial, passfalse
to get terms without the trial details)- Logging drastically improved, there should be no confusion about what CompatibilityAccessManager is doing
0.1.6
Minimum Purchases SDK version is now 3.8.0.
Fixes CompatibilityAccessManager's receipt migration.
Since Purchases' restoreTransactions method may prompt for Apple ID and password as of version 3.6.0, this changes the restore method from restoreTransactions to syncPurchases (new in SDK 3.8.0). syncPurchases is silent and won't force refresh the receipt, and is useful when wanting to sync data with RevenueCat. The side effect is that the receipt may not be up-to-date, and thus may not sync all receipt data. To get the full up-to-date receipt, call restoreTransactions from a user-initiated action.