Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async setCustomProperties() {
const properties = new CustomProperties()
.set('pi', 3.14)
.clear('old')
.set('color', 'blue')
.set('optin', true)
.set('optout', false)
.set('score', 7)
.set('now', new Date());
await AppCenter.setCustomProperties(properties);
console.log('Scheduled custom properties log. Please check verbose logs.');
}
async setCustomProperties() {
const properties = new CustomProperties()
.set("pi", 3.14)
.clear("old")
.set("color", "blue")
.set("optin", true)
.set("optout", false)
.set("score", 7)
.set("now", new Date());
await AppCenter.setCustomProperties(properties);
}
async setCustomProperties() {
const properties = new CustomProperties()
.set('pi', 3.14)
.clear('old')
.set('color', 'blue')
.set('optin', true)
.set('optout', false)
.set('score', 7)
.set('now', new Date());
await AppCenter.setCustomProperties(properties);
}
async setCustomProperties() {
const properties = new CustomProperties()
.set('pi', 3.14)
.clear('old')
.set('color', 'blue')
.set('optin', true)
.set('optout', false)
.set('score', 7)
.set('now', new Date());
await AppCenter.setCustomProperties(properties);
Toast.show('Scheduled custom properties log. Please check verbose logs.');
}
async setCustomProperties() {
const properties = new CustomProperties()
.set('pi', 3.14)
.clear('old')
.set('color', 'blue')
.set('optin', true)
.set('optout', false)
.set('score', 7)
.set('now', new Date());
await AppCenter.setCustomProperties(properties);
}
async setCustomProperties() {
const properties = new CustomProperties()
.set('pi', 3.14)
.clear('old')
.set('color', 'blue')
.set('optin', true)
.set('score', 7)
.set('now', new Date());
await AppCenter.setCustomProperties(properties);
}