In-App Purchase
Setup SKUs in Store
Before implementing IAP in your game, you need to set up your products in the respective app stores.
Note
You can skip this step if you are using the default SKUs provided by Noctua Team.
App Store (iOS)
- Log in to your Apple Developer account
- Navigate to App Store Connect
- Select your app and go to the "In-App Purchases" section
- Create new IAP products, ensuring the Product ID matches what you'll use in the SDK
Play Store (Android)
- Access your Google Play Console
- Select your app and go to "Monetize" > "Products"
- Add new in-app products, making sure the Product ID is consistent with your SDK implementation
Consistent Product IDs
Use the same Product ID across both stores for easier management in your code. For example, if you create a product with the ID noctua.100coins
, you should use the same ID for both App Store and Play Store.
This consistency allows you to manage your products in a single location and ensures that your users have a seamless experience regardless of the store they are in.
Single SKU for Multiple Items
Noctua SDK supports using a single SKU (Stock Keeping Unit) for multiple in-game items, simplifying your store management.
Example
ID | Name | Description | Price | Currency |
---|---|---|---|---|
noctua.100coins | 100 Coins | 100 coins for your game | 0.99 | USD |
In this example, the Product ID noctua.100coins
is used for both App Store and Play Store. This consistency simplifies your product management and ensures a unified experience for your users.