How to use the appcenter.CustomProperties function in appcenter

To help you get started, we’ve selected a few appcenter examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github microsoft / appcenter-sdk-react-native / TestApp / app / screens / AppCenterScreen.js View on Github external
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.');
  }
github microsoft / appcenter-sdk-react-native / DemoApp / AppCenterScreen.js View on Github external
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);
  }
github microsoft / appcenter-sdk-react-native / TestApp / MobileCenterScreen.js View on Github external
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);
  }
github microsoft / appcenter-sdk-react-native / TestApp34 / AppCenterScreen.js View on Github external
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);
  }
github microsoft / appcenter-sdk-react-native / TestAppTypescript / src / AppCenterScreen.tsx View on Github external
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);
  }
github microsoft / appcenter-sdk-react-native / DemoApp / app / screens / AppCenterScreen.js View on Github external
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.');
  }