Example App
A sample app showcasing OnsideKit features: login, fetching products, making purchases, and restoring purchases — as a reference implementation.
Last updated
Was this helpful?
A sample app showcasing OnsideKit features: login, fetching products, making purchases, and restoring purchases — as a reference implementation.
The sample app is a small, focused project that demonstrates the core OnsideKit flows end to end. It's a good starting point for seeing how the pieces fit together in a real project.
User authentication
Onside.requestLogin / on-demand login
Fetching products
Making a purchase
Restoring purchases
The app won't run correctly until you complete two steps:
Bundle Identifier — the app's Bundle ID in Xcode must match the one you registered in the Onside Developer Console.
Product identifiers — add your product identifiers in ProductsRepository.swift, so the app can fetch your products.
The app also calls Onside.initialize() at launch, as every integration must — see Initializing the SDK. It integrates the full OnsideKit product; see OnsideKit vs OnsideKitLite if you need the PassKit-free build.
Full instructions are in the Example README.
Last updated
Was this helpful?
Was this helpful?