Overview
As soon as your app launches, you need to configure the SDK with your API Key. You’ll receive your public API key from the Encore team to configure and identify your app.Initialize Encore in Your App
Edit your mainApp struct to configure Encore at launch:
Encore, the primary class for interacting with the SDK’s API. Make sure to replace pk_your_api_key_here with your public API key.
If you don’t have access to your API key, please contact your Encore representative.
Next Steps
Now that Encore is configured, you’re ready to:- User Management - Identify users for entitlement tracking
- Present Offers - Show promotional offers and handle purchase results