Skip to content

Add AmoreStore target to fetch products including prices#4

Merged
lucasfischer merged 6 commits into
mainfrom
feat/AmoreStore
Jun 1, 2026
Merged

Add AmoreStore target to fetch products including prices#4
lucasfischer merged 6 commits into
mainfrom
feat/AmoreStore

Conversation

@lucasfischer
Copy link
Copy Markdown
Contributor

Introduces AmoreStore, a new library target for fetching the products and prices configured for an Amore-licensed app, so apps can build paywalls and product pickers that link out to a checkout.

It includes:

  • AmoreStore: A client with products() async throws(StoreError) -> [Product] to fetch products
  • Models: Product (id, name, license duration, device limit, optional Price, checkoutURL), Price (minor-unit amount, currency, optional recurring interval, with decimalAmount/displayPrice formatting), and RecurringInterval (day/week/month/year).

@lucasfischer lucasfischer merged commit c32b8b8 into main Jun 1, 2026
1 check passed
@lucasfischer lucasfischer deleted the feat/AmoreStore branch June 1, 2026 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant