Show HN: Flare – A Swift IAP Wrapper for StoreKit and StoreKit 2

Wait 5 sec.

Flare is an open-source Swift package designed to simplify in-app purchases (IAP) across Apple platforms. Supporting both StoreKit and StoreKit 2, Flare streamlines the implementation of IAP with minimal code. It also features a UI library that integrates purchase flows into your app with just a single line—similar to StoreKit 2 in iOS 17.Key Features:Dual StoreKit Support: Works seamlessly with StoreKit and StoreKit 2, providing flexibility and future-proofing your app.Cross-Platform Compatibility: Fully compatible with iOS, watchOS, macOS, and tvOS.Minimal Integration: Reduce boilerplate code with Flare’s straightforward APIs.UI Library: Easily embed purchase interfaces with one line of code—bringing the simplicity of StoreKit 2’s native UI to all platforms.Open Source: Licensed under MIT, free for both personal and commercial use.Implementing in-app purchases can be time-consuming and error-prone. Flare abstracts the complexity, letting developers focus on building great user experiences. With support for both StoreKit and StoreKit 2, Flare ensures compatibility with older systems while leveraging the latest advancements on newer platforms.Explore the full documentation, examples, and source code on GitHub. Contributions and stars are welcome!Comments URL: https://news.ycombinator.com/item?id=43147715Points: 1# Comments: 0