Privacy
In order to protect the interests and privacy of our developers and your users, and to conduct business in compliance with relevant laws, regulations, policies, and standards, we have updated our TradPlus Privacy Policy.
1. Check Current Region
- iOS V8.1.0+
- Android V8.4.0.1+
- Call this method before requesting ads
TPSDKManager.checkCurrentArea();
Callback Listener
currentAreaSuccess: (bool isEu, bool isCn, bool isCa) {
//Region query succeeded, developers can set relevant privacy permissions based on the returned region information
if(isEu){
// Indicates European Union region, set GDPR
}
if(isCa){
// Indicates California region in the United States, set CCPA
}
},currentAreaFailed: () {
//Region query failed or unknown, developers need to handle it themselves and set relevant privacy permissions
}
2. Setting up CCPA
This section mainly introduces how to set up CCPA in the project:
The California Consumer Privacy Act (CCPA) is the first comprehensive privacy law in the United States. It was signed into law in late June 2018 and provides California consumers with a variety of privacy rights. Businesses subject to CCPA will have multiple obligations to these consumers, including information disclosure, consumer rights similar to the General Data Protection Regulation (GDPR) of the European Union, the right to "opt-out" of specific data transfers, and the right to "opt-in" for minors.
When to set up
-
Developers need to determine the region by themselves. If it is in the California region, CCPA needs to be set up.
-
You can use the
checkCurrentArea()
method to determine the region (see the previous section for details on checking the current region), and set up CCPA when the callbackisCa
returnstrue
.
//`false` means not selling data for California users; `true` means accepting data selling
TPSDKManager.setCCPADoNotSell(bool canDataCollection);
Setting up CCPA through Meta
According to Meta (Facebook) requirements, developers need to set up CCPA themselves to ensure that the application complies with Meta's CCPA specification.
3. Setting up COPPA
The Children's Online Privacy Protection Act (COPPA) in the United States primarily targets the collection of personal information from children under the age of 13 online.
This protection law stipulates that website operators must comply with privacy rules, specify the time and provide verifiable methods for obtaining parental consent, and protect children's online privacy and safety, including restricting sales to children under the age of 13.
- ⚠️ Set before the first ad request
- ⚠️ If the app is targeted at adults, you can directly pass
false
。
TPSDKManager.setCOPPAIsAgeRestrictedUser(bool isChild);
4. Setting up GDPR
The General Data Protection Regulation (GDPR) is a regulation on data protection and privacy for all citizens of the European Union (EU) and the European Economic Area (EEA). We have added privacy permission settings in the SDK. Please check the following configurations and complete the SDK integration.
After GDPR came into effect on May 25th, social networking applications such as Twitter and WhatsApp updated their user terms, stating that they will prohibit the use of these applications by individuals under the age of 16. This is because GDPR has strict regulations on the protection of personal information of children.
When to set up
-
Developers need to determine the region by themselves. If it is in the European region, call the GDPR consent dialog API.
-
You can use the
checkCurrentArea()
method to determine the region (see the previous section for details on checking the current region), and call the GDPR consent dialog API when the callbackisEu
returnstrue
.
//Determine whether it is the EU region
TPSDKManager.isEUTraffic();
//Setting GDPR Level
TPSDKManager.setGDPRDataCollection(bool canDataCollection);
//Get GDPR rating
TPSDKManager.getGDPRDataCollection();
//GDPR authorization page
TPSDKManager.showGDPRDialog();
5. Setting up LGPD
The Lei Geral de Proteção de Dados (LGPD) is a comprehensive Brazilian data protection law that came into effect on September 18, 2020. It provides individuals with broader rights over their personal data and increases organizations' compliance responsibilities. The core of LGPD is to give Brazilian residents stronger control over their personal data and empower the national regulatory authority with new powers to impose significant fines on organizations that violate the law. Its rights and protections are similar to those granted to European residents by GDPR.
- ⚠️Must be set up before requesting ads
- ⚠️Only needs to be called in Brazil, do not set it up in regions other than Brazil
Function | Method | Description |
---|---|---|
Set LGPD consent level | TPSDKManager.setLGPDDataCollection(bool); | Whether to allow data collection: true allows device data collection, false does not allow device data collection |
Get LGPD consent level | TPSDKManager.getLGPDDataCollection(); | Returns 0 for allowed collection, 1 for not allowed collection |
6. Overseas Privacy-related APIs
For more information, please refer to China Privacy Compliance Guide 。
7. Domestic Personalized Advertising Switch(China)
To comply with relevant regulations of the Personal Information Protection Law, an API is provided to disable personalized advertising.
⚠️Precautions
- The TradPlus SDK personalized recommendation advertising status is enabled by default and needs to be disabled through the API.
- The TradPlus SDK will not permanently save the personalized recommendation ad status. That is, the SDK will be reset to the enabled state each time it is started. Developers need to manage and save the personalized recommendation ad status set by the user, and call the
setOpenPersonalizedAd
method to set the personalized recommendation ad status of the current user before requesting an ad. setOpenPersonalizedAd
supports resetting at any time, that is, if the user changes the personalized recommendation ad status, he can immediately call thesetOpenPersonalizedAd
method to reset it. The cached ads will not be cleared after setting, and the reset personalized recommendation ad status will take effect the next time the ad is loaded.
Interface Description
- Turn personalized recommendations on or off
Platform | Method | Description |
---|---|---|
Flutter | TPSDKManager.setOpenPersonalizedAd(bool open) | true to enable; false to disable, default true to enable |
- Current status of TradPlus SDK personalized recommendation ads
Platform | Method | Description |
---|---|---|
Flutter | TPSDKManager.isOpenPersonalizedAd() | true turns it on; false turns it off |
- Ad sources that support personalized recommendation switches
Baidu, Kuaishou, Mintegral China, Sigmob, Tencent GDT, Toutiao China, UnityAds, Admob
8. Set Privacy Information Control Switch(China) (Android only)
- Used to set whether to obtain permission for precise location information (location, device ID, etc.)
- Supports Tencent GDT, TikTok, Kuaishou, Youkeying
Set Privacy Information Control
Platform | Method | Description |
---|---|---|
Flutter | TPSDKManager.setPrivacyUserAgree(bool privacyUserAgree) | (1) It is enabled by default, set as true. Set as false to disable. (2) Call this before requesting an ad after initializing the TP SDK. (3) Only takes effect when the application is first set. If changes are needed, the application needs to be restarted and reconfigured. |
Check if Privacy Information Control is Enabled
Platform | Method | Description |
---|---|---|
Flutter | TPSDKManager.isPrivacyUserAgree() | Returns true if enabled, false if disabled. |
9. Data privacy settings when submitting APP for review (iOS)
-
In order to increase advertising revenue and play more suitable ads for users, all three SDKs will try to obtain IDFA, which is the Device ID listed in the privacy information. In addition, if the app obtains Crash information through Bugly or Firebase, please check the relevant options.
-
Please follow the instructions in the following figure to proceed.
After saving, continue to set the purpose of obtaining privacy data, which is used for advertising playback. The final settings are as shown in the figure: