mirror of
https://github.com/samsonjs/media.git
synced 2026-06-29 05:39:31 +00:00
Update IMA SDK and Play Services Ads versions
Since version 17.0 play-services-ads requires specifying AD_MANAGER_APP=true in AndroidManifest.xml, so add this in the IMA extension's manifest. See also https://developers.google.com/ad-manager/mobile-ads-sdk/android/quick-start. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=222087771
This commit is contained in:
parent
ec43ed7e59
commit
269615e62f
2 changed files with 9 additions and 5 deletions
|
|
@ -31,13 +31,13 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
api 'com.google.ads.interactivemedia.v3:interactivemedia:3.9.4'
|
||||
api 'com.google.ads.interactivemedia.v3:interactivemedia:3.10.2'
|
||||
implementation project(modulePrefix + 'library-core')
|
||||
implementation 'com.google.android.gms:play-services-ads:15.0.1'
|
||||
implementation 'com.google.android.gms:play-services-ads:17.1.1'
|
||||
// These dependencies are necessary to force the supportLibraryVersion of
|
||||
// com.android.support:support-v4 and com.android.support:customtabs to be
|
||||
// used. Else older versions are used, for example via:
|
||||
// com.google.android.gms:play-services-ads:15.0.1
|
||||
// com.google.android.gms:play-services-ads:17.1.1
|
||||
// |-- com.android.support:customtabs:26.1.0
|
||||
implementation 'com.android.support:support-v4:' + supportLibraryVersion
|
||||
implementation 'com.android.support:customtabs:' + supportLibraryVersion
|
||||
|
|
|
|||
|
|
@ -15,6 +15,10 @@
|
|||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.google.android.exoplayer2.ext.ima">
|
||||
<meta-data android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>
|
||||
<application>
|
||||
<meta-data android:name="com.google.android.gms.ads.AD_MANAGER_APP"
|
||||
android:value="true"/>
|
||||
<meta-data android:name="com.google.android.gms.version"
|
||||
android:value="@integer/google_play_services_version"/>
|
||||
</application>
|
||||
</manifest>
|
||||
|
|
|
|||
Loading…
Reference in a new issue