OnsideKit Example App
Our sample application provides a practical, hands-on demonstration of the OnsideKit SDK's core functionalities. It's the perfect starting point for understanding how to integrate our SDK into your own iOS project.
The app is designed to be simple and focused, showcasing the essential features you'll need to get up and running quickly.
What This Example Demonstrates
By exploring the code, you will learn how to implement the following key features:
User Authentication: A basic implementation of the user sign-in flow.
Fetching Products: Loading a list of available in-app purchases from the Onside backend.
Making a Purchase: Initiating and completing the purchase flow for a selected product.
Restoring Purchases: Implementing the "Restore Purchases" functionality for non-consumable items.
⚠️ Important: Required Setup
Before you can build and run the project, two essential configuration steps are required. The application will not function correctly without them.
Configure the Bundle Identifier The app's Bundle ID in Xcode must exactly match the one you registered for your application in the Onside Developer Console.
Add Your Product SKUs You must provide your product identifiers in the ProductsRepository.swift file. The app uses these SKUs to fetch the correct product information from the Onside backend.
Detailed instructions for these steps can be found in the README.md file within the repository.
Last updated
Was this helpful?