Menu

Debug Mode

  1. Enable the SDK debugging mode and add debugging devices in the SolarEngine background. Then you'll be able to query the verification results of the reported data in real time.
  2. Data reported in Debug Mode will not be stored in the database.
  3. Make sure to turn off the Debug Mode before publishing the app. To be safe, only when the device is not in the debugging device list, the data will be reported to the database normally.
  4. Debug Mode is disabled by default.


Example: Enable debug mode

#import <SolarEngineSDK/SolarEngineSDK.h>

 SEConfig *config = [[SEConfig alloc] init];
 config.isDebugModel = YES; // Enable debug mode
 [[SolarEngineSDK sharedInstance] startWithAppKey:your_appKey config:config];


Previous
Integration Testing
Next
Policy Compliance
Last modified: 2024-05-27Powered by