Import and configure
- If you are using the TradPlus SDK for the first time, we recommend that you use the Demo to understand the use of the SDK.
#
1、Add the SDK to the projectTradPlus supports adding SDK to the project through gradle, and developers can obtain Gradle references through the TradPlusSDK download platform.
#
2、Update AndroidManifest.xmlTo update your AndroidManifest.xml, please complete the following steps::
- In the res/xml/network_security_config.xml file, you can add localhost to the permitted cleartext traffic domain by adding::
#
3、Proguard configuration- If you are using ProGuard with the TradPlus SDK, you must add the following code to your ProGuard file
#
4、Initialize the SDK- Initialize the SDK when an Application create:
#
5、Resource optimizationIf you introduce any third-party framework optimization resource, you need to add all the resources prefixed to the whitelist.
#
TradPlus#
Integrated the cross-promotion#
Integrated the Klevin#
Integrated the Pangle- In addition, Pangle also needs to perform clear single resource configuration according to the connected Pangle version
- DownLoad whiteList.txt 。
#
Integrated the GDT#
Integrated the Mintegral#
6、PrecautionsWhen testing the app,make sure you use test ads rather than live, production ads.