Search...
Menu

SDK Preset Strategy

SDK Preset Strategy

💡Tips

To reduce the time it takes for the SDK to retrieve strategies during the first launch after app installation and to avoid scenarios where SDK strategy retrieval fails, we have introduced a feature that supports apps pre-setting strategies locally.

1. Export Preset Strategy

Export Preset Strategy

2. Import Preset Strategy

(1) Introduce the exported file into your project.

(2) Simply call the following code before initiating ad loading to set it up. Example as follows:

objective-c Copy
MCInitConfig *config = [[MCInitConfig alloc] init];
config.defaultStrategyPath = [[NSBundle mainBundle] pathForResource:@"DefaultAppSettings" ofType:nil];
[[MCAPI sharedInstance] initWithConfig:config delegate:self];
Previous
Customized Segment
Next
Customized Mediation Adapter
Last modified: 2025-07-16Powered by