A thin wrapper around the Google Play Services Android SDK for use on Heyzap's mediation.
The latest release can be found in Releases.
Pull requests and issues are welcome.
- Play Services Ads: 11.0.4
- Android Support v4: 25.3.1 ( with all related libraries )
-
Add the
GooglePlayServices.ane
to your project. -
Follow the integration instructions on Heyzap or add the following permissions and activities to your Android Manifest in your application descriptor:
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
-
If not done automatically, add the follow extension context to your application descriptor:
<extensions> <extensionID>com.heyzap.sdk.extensions.googleplayservices</extensionID> </extensions>
Make sure your Android SDK is updated to latest. This will always use the latest version available in your local SDK repository.
- Mac OS X
- XCode
- Apache Ant
- Apache Maven
- AIR SDK
- Make a
build.config
by copyingbuild.config.dist
(your local config file) - Change the path to the AIR SDK in
build.config
(namedair.sdk
) - Change the path to the Android SDK in
build.config
(namedandroid.sdk
) - From the root of the repository, run
ant
.
After build completes, the native extension will be in bin/GooglePlayServices.ane
.