Remote Configuration
Support
bridge.remoteConfig.isSupportedLoad Values
let options = { }
switch (bridge.platform.id) {
case 'yandex':
options = {
clientFeatures: [ // optional parameter
{ name: 'levels', value: '5' }
]
}
break
}
bridge.remoteConfig.get(options)
.then(data => {
// your custom data, example: { showFullscreenAdOnStart: 'no', difficult: 'hard' }
console.log(data)
})
.catch(error => {
// error
})Last updated