๐กTips
Using local preset strategies allows you to:
- ๐ Reduce the time taken to fetch strategies on the first launch
- ๐ Avoid strategy fetch failures caused by network issues

โ Android
1. Create the specified directory
โโ /Assets/Plugins/Android/mcRes.androidlib/assets/localStrategy
2. Place the strategy file
โโ Put the exported JSON file into the directory above
โ iOS
localStrategy.json and place it in the Xcode project as shown in the figure
Call McSdk#SetLocalStrategyAssetPath(string path) before SDK initialization to set it up. Example:
McSdk.SetLocalStrategyAssetPath("localStrategy");