Overview
As soon as your app launches, configure the SDK with your API Key. You’ll receive your public API key from the Encore team.Option A: EncoreProvider (Recommended)
Wrap your app withEncoreProvider to automatically configure the SDK and register callbacks:
EncoreProvider calls configure() and registerCallbacks() automatically on mount.
Option B: Manual Configuration
If you need more control, configure manually:Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
logLevel | string | 'none' | Logging verbosity level |
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