Contents
Display Legacy Contents

 Print
    AppCenter Set Enabled State    
Enabled or Disables a Microsoft AppCenter module.

Parameters

Module
The AppCenter module to enable.
The currently supported modules are Analytics and Crashes.

State
The new state for the specified module. It can be Enabled or Disabled.

     
  • For this to work, you need to Enable the AppCenter in Project Properties and enter the App Secret for each of the O.S..
  • When you Enable AppCenter in the project properties and enter the App Secret, by default both modules, Analytics and Crashes, are enabled, but you should not rely on this, and you should Enable or Disable each of the modules by calling this action, normally in the Open Form event of the First Form.
  • This state is persisted, so when you restart the App, this setting will be applied.
  • If you disable a module, cached log events or crashes that have not yet been sent to the server may be lost.
  • When a crash occurs, normally that data is stored locally and is sent to the server when the App is restared.

See also
Samples

 
 
Updated : 1/11/2021 12:43 PM