ASCF may be supported by third-party platforms.
You can configure information in the AppScope/ext.json file. The third-party platform will automatically replace and package the configured parameters with different values, and generate the ext object into ascf/ascf_src/extConfig.json.
ASCF provides has.getExtConfigSync or has.getExtConfig (see Third-Party Platform) to obtain the configuration information.
has.getExtConfig({
success: (res) => {
console.info('getExtConfig success', res);
},
fail: (err) => {
console.error('getExtConfig fail', err);
},
complete: (res) => {
console.info('getExtConfig complete', res);
}
})