Swiftpack.co - Swift Packages by codykerns

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.

Packages published by codykerns

codykerns/PurchasesHelper v1.0.1
Helpers for building paywalls with RevenueCat's Purchases SDK
⭐️ 25
🕓 1 year ago
🔖 Release Notes

Releases

The markdown parsing is broken/disabled for release notes. Sorry about that, I'm chasing the source of a crash that's been bringing this website down for the last couple of days.
1.0.1
1 year ago
## What's Changed * Fix building for Mac Catalyst by @codykerns in https://github.com/codykerns/PurchasesHelper/pull/15 **Full Changelog**: https://github.com/codykerns/PurchasesHelper/compare/v1.0.0...v1.0.1
1.0.0
1 year ago
## What's Changed * Support Purchases 4.x in https://github.com/codykerns/PurchasesHelper/pull/14 **Full Changelog**: https://github.com/codykerns/PurchasesHelper/compare/v0.2.0...v1.0.0
0.2.0
2 years ago
**🚨 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 to `syncReceiptIfNeededAndRegister` 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, pass `false` to get terms without the trial details) - Logging drastically improved, there should be no confusion about what CompatibilityAccessManager is doing
0.1.6
3 years ago
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.
0.1.5
3 years ago
Fixes yearly displayTitleRecurring value.
0.1.4
3 years ago
Adds support for iOS 9.3. Changes `.configure` to be a method on the shared instance of CompatibilityAccessManager.
0.1.3
3 years ago
Reverts minimum iOS version to 11.2
0.1.2
3 years ago
Fixes closure not being called for the `configure` method. Adds support for iOS 9/10 for consistency with Purchases SDK.
v0.1.1
3 years ago
Adds new `configure` method in CompatibilityAccessManager that automatically restores transactions if no originalApplicationVersion is available.
v0.1.0
3 years ago
iOS macOS watchOS

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics