Android Pie SDK
If you would like to access the documentation for the Smaato NextGen SDK, please click here.
Important Note: Please make sure to call
banner.asyncLoadNewBanner();
on the main thread.Updates Regarding Android Pie Support
- We have updated the demo applications to target API level 28 (Android 9.0) and added
android:usesCleartextTraffic="true”
to its AndroidManifest.xml file. - If your application is targeting API level 28 (Android 9.0) or above, please add
android:usesCleartextTraffic="true”
to the applications AndroidManifest.xml file if you want to enable cleartext network traffic, such as cleartext HTTP.- For above API level 28 usesCleartextTraffic is false by default.
- For below API level 28 it is true by default.
- If your app is targeting API level 28 (Android 9.0) or above and you’re using MoPub via adapters or CSM, please add the following details to your applications AndroidManifest.xml file to avoid unexpected behavior.
<uses-library
android:name="org.apache.http.legacy"
android:required="false" />
The merged manifest file might already contain this because this was added in the latest version of MoPub SDK. For more information about this, please visit the Google project configuration page.
In case you have set the httpsOnly flag
to false via adSettings.setHttpsOnly(false)
even if the cleartextTraffic
is disabled in your application, we will set httpsOnly
to true.
Important Highlights
If the following mediation adapter is used, please update to the latest version:
SomaMopubNativeCustomEvent // What was changed: Added logic to enable Clicktracking
Important Note: Please also make sure to call
asyncLoadNewBanner();
on the main thread.- Improved click tracking support
- MRAID-related improvements
- Support for Android Pie
- Minor bugs fixes
Last Modified: September 24, 2019 at 7:46 pm
© 2005-2020 Smaato, Inc. All Rights Reserved. Smaato® is a registered trademark of Smaato, Inc.