This demo SwiftUI app and Xcode target provides a testing environment and example usage for the LemonSqueezy library.
You will need to provide your API credentials before you can build and run the app.
- Create a
.env
file in the Demo App folder (or copy.env.example
to.env
) - Populate the
.env
file withLS_API_KEY
value (see.env.example
for an example) - Build the Lemon_SqueezyApp target to create the
Secrets.swift
file which provides your client credentials for the app. You may need to clean the build folder to prevent errors aboutSecrets.swift
being missing and then manually re-build.