Configures the shared Encore instance for use throughout your app. This must be called once, typically at app startup, before using any other SDK methods.
Call configure() before using any other SDK methods.
Signature
Parameters
Options
API keys
Use the test key (pk_test_...) during development to test offers from any location without geo-filtering restrictions.
Always use your live key (pk_live_...) in production builds.
Usage
EncoreProvider (Recommended)
Manual Configuration
With Debug Logging
Use logLevel: 'debug' during development to see detailed SDK logs, then use 'none' for production builds.