Partner Configuration
Override default SDK settings with a custom encrypted partner configuration string. This allows custom API endpoints, branding, and feature flags per partner.
Overview
The SDK supports custom partner configurations that override default settings such as environment API endpoints and branding assets. This is designed for partners who require a fully white-labeled or custom-backend integration.
Must be called BEFORE initiate()
setPartnerConfig() must be called before EdfaPayPlugin.initiate(). Calling it after initialization will have no effect.
Obtaining Your Config String
Partner configuration strings are encrypted and individually issued by EdfaPay. Contact your EdfaPay representative to obtain a custom configuration string for your integration.
API Reference
The partner configuration method applies custom settings before SDK initialization.
| Method | Parameter | Description |
|---|---|---|
| setPartnerConfig(config: String) | config — encrypted config string | Applies a partner-specific configuration to override SDK defaults. |
Loading...Obtaining Your Config String
Call setPartnerConfig() with your encrypted configuration string before SDK initialization.
Loading...Configuration Options
The encrypted partner config string may contain the following settings:
| Setting | Description |
|---|---|
| Environment URLs | Override default API endpoints for custom backend integration |
| Powered By Logo | Custom "Powered by" branding logo displayed in SDK UI screens |
| Feature Flags | Partner-specific feature toggles and settings |
Complete Example
A full example showing setPartnerConfig() called in the correct order, before the SDK is initialized:
Loading...On this page
Downloads
Coming SoonSample apps, release bundles, and more content will be available here soon.