Privacy Regulations
In order to protect the interests and privacy of our developers and your users, and conduct business in compliance with relevant laws, regulations, policies and standards。
Step 1 、Check the current region
- Android V8.4.0.1 began to support
- Call this method before initializing the SDK
TradPlusSdk.checkCurrentArea(this,new TPPrivacyManager.OnPrivacyRegionListener() {
@Override
public void onSuccess(boolean isEu, boolean isCn, boolean isCalifornia) {
// After obtaining the relevant regional configuration, set the relevant privacy API, and then initialize the SDK
if(isEu) {
// Indicates that it is the European region, set GDPR
}
if(isCalifornia){
// Indicates that it is the California region of the United States, set CCPA
}
}
@Override
public void onFailed() {
// Generally, the query fails due to network problems. Developers need to judge the region by themselves, and then set the privacy
}
});
Step 2、CCPA
It mainly introduces how to set CCPA in the Android project: :
The California Consumer Privacy Act (CCPA) is the first comprehensive privacy law in the United States. Signed into law in late June 2018, it provides California consumers with a variety of privacy rights. Businesses subject to the CCPA will have several obligations to these consumers, including disclosure of information, consumer rights similar to the European Union's General Data Protection Regulation (GDPR), the right to "opt out" of certain data transfers, and the right to "opt-in" not The Rights of Adults.
When to set
-
Developers below V8.4.0.1 have to judge the region by themselves,If they are in the California region of the United States, they need to set CCPA and then initialize the SDK.
-
V8.4.0.1 and above, you can call the
checkCurrentArea()
method to determine the region(see above to view the current area introduction), set CCPA when the monitor callback isCalifornia returns true, and then initialize the SDK.
TP API
Platform | Method | Note |
---|---|---|
Android | TradPlusSdk.setCCPADoNotSell(context, boolean); | false California users do not report data ;true accept reported data |
Unity3dAndroid | TradPlus.setCCPADoNotSell(boolean); | false California users do not report data ;true accept reported data |
Meta Settings CCPA
-
Starting from V6.9.4 API, according to the requirements of Meta (Facebook), developers need to set CCPA by themselves.
-
If you need to integrate Meta, make sure to comply with Meta CCPA regulations 。
-
Please refer to data-processing-options
-
Please note that you need to set Facebook's Limited Data Use flag before initializing the TradPlus SDK.
Sample code :
import com.facebook.ads.AdSettings;
...
// If you do not want to enable Limited Data Use (LDU) mode, pass SetDataProcessingOptions() an empty string array:
AdSettings.setDataProcessingOptions( new String[] {} );
// To enable LDU for users and specify user geography, call SetDataProcessingOptions() in a form like this:
AdSettings.setDataProcessingOptions( new String[] {"LDU"}, 0, 0 );
Step 3、COPPA
It mainly introduces how to set COPPA in the Android project:
The Children's Online Privacy Protection Act mainly targets the online collection of personal information of children under the age of 13.
The protection law stipulates that website administrators should abide by privacy rules, must explain when to ask for consent from children's parents and provide verifiable methods, and website administrators must protect children's online privacy and safety, including restricting sales to children under the age of 13.
- Must be called before initializing TradPlus SDK
- If the application is for adults, you can upload it directly false
API
Platform | Method | Note |
---|---|---|
Android | TradPlusSdk.setCOPPAIsAgeRestrictedUser(context, boolean); | false show that it is not a child ;true show that it is a child |
Unity3dAndroid | TradPlus.setCOPPAIsAgeRestrictedUser(boolean); | false show that it is not a child ;true show that it is a child |
Start.io
-
TPV9.3.0.1 and above versions support Start.io to configure Coppa in the AndroidManifest.xml file
-
The app is aimed at a mixed audience (that is, for everyone, including children and families), is a mixed user profile
true
, is not a mixed user profilefalse
<meta-data
android:name="com.startapp.sdk.MIXED_AUDIENCE"
android:value="true"/>
- Indicates whether a particular end user is a child, is a child user pass
true
, is not a child user passfalse
<meta-data
android:name="com.startapp.sdk.CHILD_DIRECTED"
android:value="true"/>
Step 4、GDPR
It mainly introduces how to set GDPR in the Android project:
The General Data Protection Regulation (GDPR) is a regulation of data protection and privacy law for all citizens of the European Union (EU) and European Economic Area (EEA). We have added a privacy permission setting in the SDK. Please check the configuration below and complete the SDK integration.
On May 25, 2018, after the GDPR came into effect, Twitter, WhatsApp and other social apps updated their user terms, saying that they would prohibit teenagers under the age of 16 from using these apps. This is because there are strict regulations on the protection of children's personal information in the GDPR.
Android platform settings GDPR
Android Access Reference Google UMP set UMP
APIs
Note | method | Remark |
---|---|---|
Are you in the EU | TradPlusSdk.isEUTraffic(context); | Need to be called in setting GDPR Listener success callback |
Set GDPR level | TradPlusSdk.setGDPRDataCollection(context,level); | Parameter two: PERSONALIZED device data is allowed to be reported; NONPERSONALIZED device data is not allowed to be reported |
Get the GDPR rating | TradPlusSdk.getGDPRDataCollection(context); | Return value 0 means agree, 1 means disagree |
Is it the first time the user selects | TradPlusSdk.isFirstShowGDPR(context); | By default, false no selection has been made; true indicates that the user has selected |
Set up GDPR children | TradPlusSdk.setGDPRChild(context,boolean); | true Indicates that the user is a child |
Unity3DAndroid platform settings GDPR
Unity3DAndroid Access Reference Google Unity UMP set UMP
APIs
- Other version API
Note | Method | Remark |
---|---|---|
Are you in the EU | `TradPlus.isEUTraffic(); | Need to be called in setting GDPR Listener success callback |
Set GDPR level | TradPlus.setGDPRDataCollection(int); | 0 The device data is allowed to be reported; 1 The device data is not allowed to be reported |
Get the GDPR rating | TradPlus.getGDPRDataCollection(); | Return value 0 means agree, 1 means disagree |
Is it the first time the user selects | TradPlus.isFirstShow(); | By default, false no selection has been made; true indicates that the user has selected |
Set up GDPR children | TradPlus.setGDPRChild(boolean); | true |