{"id":19809502,"url":"https://github.com/space-code/flare","last_synced_at":"2025-05-01T08:30:50.713Z","repository":{"id":79213909,"uuid":"586472806","full_name":"space-code/flare","owner":"space-code","description":"In-app purchases and subscriptions made easy. Support for iOS, iPadOS, watchOS, and macOS.","archived":false,"fork":false,"pushed_at":"2025-04-06T17:20:25.000Z","size":31000,"stargazers_count":44,"open_issues_count":8,"forks_count":6,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2025-04-18T01:36:55.865Z","etag":null,"topics":["appstore","hacktoberfest","iap","in-app-purchase","in-app-purchases","inapp","ios","macos","payment","purchases","receipt","sdk","storekit","subscription","subscriptions","swift","swift-package-manager","tvos","visionos","watchos"],"latest_commit_sha":null,"homepage":"https://space-code.github.io/flare/","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/space-code.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-08T09:10:39.000Z","updated_at":"2025-04-16T09:37:44.000Z","dependencies_parsed_at":"2024-06-15T10:27:12.831Z","dependency_job_id":"b32b9dbf-cc89-4c2f-8c73-9eb3ddfa34f1","html_url":"https://github.com/space-code/flare","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fflare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fflare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fflare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/space-code%2Fflare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/space-code","download_url":"https://codeload.github.com/space-code/flare/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847519,"owners_count":21653544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["appstore","hacktoberfest","iap","in-app-purchase","in-app-purchases","inapp","ios","macos","payment","purchases","receipt","sdk","storekit","subscription","subscriptions","swift","swift-package-manager","tvos","visionos","watchos"],"created_at":"2024-11-12T09:17:12.324Z","updated_at":"2025-05-01T08:30:50.707Z","avatar_url":"https://github.com/space-code.png","language":"Swift","readme":"![Flare: In-app purchases and subscriptions made easy](https://raw.githubusercontent.com/space-code/flare/dev/Resources/flare.png)\n\n\u003ch1 align=\"center\" style=\"margin-top: 0px;\"\u003eflare\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://github.com/space-code/flare/blob/main/LICENSE\"\u003e\u003cimg alt=\"Licence\" src=\"https://img.shields.io/cocoapods/l/service-core.svg?style=flat\"\u003e\u003c/a\u003e \n\u003ca href=\"https://swiftpackageindex.com/space-code/flare\"\u003e\u003cimg alt=\"Swift Compatibility\" src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Fflare%2Fbadge%3Ftype%3Dswift-versions\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://swiftpackageindex.com/space-code/flare\"\u003e\u003cimg alt=\"Platform Compatibility\" src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fspace-code%2Fflare%2Fbadge%3Ftype%3Dplatforms\"/\u003e\u003c/a\u003e \n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"CI\" src=\"https://github.com/space-code/flare/actions/workflows/flare.yml/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"CI\" src=\"https://github.com/space-code/flare/actions/workflows/flare_ui.yml/badge.svg?branch=main\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/space-code/flare\"\u003e\u003cimg alt=\"CodeCov\" src=\"https://codecov.io/gh/space-code/flare/graph/badge.svg?token=WUWUSKQZWY\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/apple/swift-package-manager\" alt=\"Flare on Swift Package Manager\" title=\"Flare on Swift Package Manager\"\u003e\u003cimg src=\"https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg\" /\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/space-code/flare\"\u003e\u003cimg alt=\"GitHub release; latest by date\" src=\"https://img.shields.io/github/v/release/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://codecov.io/gh/space-code/flare\"\u003e\u003cimg alt=\"GitHub commit activity\" src=\"https://img.shields.io/github/commit-activity/m/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"Number of GitHub contributors\" src=\"https://img.shields.io/github/issues/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"Number of GitHub closed issues\" src=\"https://img.shields.io/github/issues-closed/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"Number of GitHub stars\" src=\"https://img.shields.io/github/contributors/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"Number of GitHub pull requests that are open\" src=\"https://img.shields.io/github/issues-pr-raw/space-code/flare\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/space-code/flare\"\u003e\u003cimg alt=\"Number of GitHub issues that are open\" src=\"https://img.shields.io/github/stars/space-code/flare\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## Description\nFlare is a framework written in Swift that makes it easy for you to work with in-app purchases and subscriptions.\n\n- [Features](#features)\n- [Usage](#usage)\n- [Documentation](#documentation)\n- [Requirements](#requirements)\n- [Installation](#installation)\n- [Communication](#communication)\n- [Contributing](#contributing)\n- [Have a Question](#have-a-question)\n- [Author](#author)\n- [License](#license)\n\n## Features\n- [x] Support Consumable \u0026 Non-Consumable Purchases\n- [x] Support Subscription Purchase\n- [x] Support Promotional \u0026 Introductory Offers\n- [x] Support StoreKit and StoreKit 2\n- [x] iOS, tvOS, watchOS, macOS, and visionOS compatible\n- [x] Complete Unit, Integration \u0026 Snapshot Test Coverage\n- [x] Offer a UI for building in-app purchase stores in SwiftUI and UIKit\n\n## Usage\n\n### Quick Start\n```swift\nimport Flare\n\n/// Fetch a product with the given id\nguard let product = try await Flare.shared.products(productIDs: [\"product_identifier\"]) else { return }\n\n/// Purchase a product\nlet transaction = try await Flare.shared.purchase(product: product)\n\n/// Finish a transaction\nFlare.shared.finish(transaction: transaction, completion: nil)\n```\n\n## Documentation\nCheck out the [documentation](https://space-code.github.io/flare/).\n\n- [**Flare Docs**](https://space-code.github.io/flare/flare/documentation/flare/) describe how to integrate the main framework\n- [**FlareUI Docs**](https://space-code.github.io/flare/flareui/documentation/flareui/) contains information about integrating the UI framework, displaying products and subscriptions, and customizing them.\n\n## Requirements\n\n| Package       | Supported Platforms                                                   | XCode | Minimum Swift Version |\n| ------------- | --------------------------------------------------------------------- | ----- | --------------------- |\n| Flare         | iOS 13.0+ / macOS 10.15+ / tvOS 13.0+ / watchOS 7.0+ / visionOS 1.0+  | 14.2  | 5.7                   |\n| FlareUI       | iOS 13.0+ / macOS 10.15+ / tvOS 13.0+                                 | 14.2  | 5.7                   |\n\n## Installation\n### Swift Package Manager\n\nThe [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but `flare` does support its use on supported platforms.\n\nOnce you have your Swift package set up, adding `flare` as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/space-code/flare.git\", .upToNextMajor(from: \"3.1.0\"))\n]\n```\n\n## Communication\n- If you **found a bug**, open an issue.\n- If you **have a feature request**, open an issue.\n- If you **want to contribute**, submit a pull request.\n\n## Contributing\nBootstrapping development environment\n\n```\nmake bootstrap\n```\n\nPlease feel free to help out with this project! If you see something that could be made better or want a new feature, open up an issue or send a Pull Request!\n\n## Have a Question?\n\nContact us via [issues on GitHub](https://github.com/space-code/flare/issues).\n\n## Author\nNikita Vasilev, nv3212@gmail.com\n\n## License\nflare is available under the MIT license. See the LICENSE file for more info.\n","funding_links":[],"categories":["Libs","Payments","Libraries"],"sub_categories":["App Store","Other Parsing","IAP"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Fflare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspace-code%2Fflare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspace-code%2Fflare/lists"}