@overrideFuture<void> onMiniProgramStateChange(String appId, MiniProgramState state) async {print("app state change: appid=$appId, state=$state");}
{// Other configurations...// Custom configurations"customConfig": {"vodLicenseUrl": "https://1304609156.trtcube-license.cn/license/v2/1304609156_1/v_cube.license","vodLicenseKey": "59d8c5e1203bc124a652304ff541a33b","customPhotoDirName": "Superapp","customDomain": "Superapp.flutter","customUserAgent": "Superapp flutter","fileCacheSize": "10000000","userDataSize": "10000000"}}
Field | Type | Description |
vodLicenseUrl | string | LicenseUrl required for Player Mobile Premium Version and live streaming features |
vodLicenseKey | string | LicenseKey required for Player Mobile Premium Version and live streaming features |
Field | Type | Description |
customPhotoDirName | string | Specifies the folder name for the directory where mini program images are saved |

Field | Type | Description |
customDomain | string | Virtual domain path |
Field | Type | Description |
customUserAgent | string | Additional UserAgent info appended to network requests |
Field | Type | Description |
fileCacheSize | string | Local cache file size in bytes |
userDataSize | string | Local user file size in bytes |
Was this page helpful?
You can also Contact sales or Submit a Ticket for help.
Help us improve! Rate your documentation experience in 5 mins.
Feedback