Menu

GDPR

  1. Considering the restrictions of privacy policies in the European Union (EU) region, the SolarEngine SDK provides an API during initialization to control whether sensitive parameters are collected and reported. By default, GDPR is set to false.
  2. If developers set the current user as a GDPR region user, the SolarEngine SDK will no longer collect sensitive information such as IDFA (Identifier for Advertisers) and IDFV (Identifier for Vendors).
  3. GDPR can be set during initialization or through APIs after initialization. Please refer to the examples below for more details.
  4. For users outside of the EU region, there is no need to call this API during initialization. Misusing them may result in the loss of critical data. Therefore, please set with caution.

Set GDPR during initialization

SEConfig *config = [[SEConfig alloc] init];
config.isGDPRArea = YES;
[[SolarEngineSDK sharedInstance] startWithAppKey:your_appKey config:config];

Set GDPR through API

       Developers can use API to modify the regional restrictions of GDPR after initializing the SDK.

 - (void)setGDPRArea:(BOOL)isGDPRArea;
Parameter NameParameter MeaningParameter TypeMandatory
isGDPRAreaWhether it is a GDPR region user (Default False)BOOL YES

Sample Code

[[SolarEngineSDK sharedInstance] setGDPRArea:YES];


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