Просмотр исходного кода

【广告组件】 1.0.4版本

liuxiaolong 1 месяц назад
Родитель
Сommit
ac685c1e90

+ 1 - 1
app/build.gradle

@@ -128,7 +128,7 @@ dependencies {
     implementation project(':lib_ad_gromore')
     implementation project(':lib_ad_gromore_adn')
 
-    implementation "com.pangle.cn:mediation-sdk:5.8.0.7"
+    implementation "com.pangle.cn:mediation-sdk:5.8.1.8"
     implementation "com.pangle.cn:mediation-gdt-adapter:4.550.1420.2"
     implementation "com.pangle.cn:mediation-baidu-adapter:9.324.0"
     implementation "com.pangle.cn:mediation-klevin-adapter:2.11.0.3.14"//游可赢 adapter

+ 2 - 2
lib_ad_admob/build.gradle

@@ -3,7 +3,7 @@ plugins {
     id 'org.jetbrains.kotlin.android'
 }
 
-def version = '1.0.3'
+def version = '1.0.4'
 def releaseTime() {
     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
 }
@@ -58,5 +58,5 @@ android {
 dependencies {
     implementation project(':lib_ad_core')
 
-    api 'com.google.android.gms:play-services-ads:22.5.0'
+    api 'com.google.android.gms:play-services-ads:22.6.0'
 }

+ 2 - 2
lib_ad_applovinmax/build.gradle

@@ -4,7 +4,7 @@ plugins {
 }
 
 
-def version = '1.0.3'
+def version = '1.0.4'
 def releaseTime() {
     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
 }
@@ -41,6 +41,6 @@ android {
 dependencies {
     implementation project(':lib_ad_core')
 
-    api 'com.applovin:applovin-sdk:12.0.0'
+    api 'com.applovin:applovin-sdk:12.1.0'
     api "com.google.android.gms:play-services-ads-identifier:18.0.1"
 }

+ 1 - 1
lib_ad_core/build.gradle

@@ -3,7 +3,7 @@ plugins {
     id 'org.jetbrains.kotlin.android'
 }
 apply from: '../ad-core-mavencentral.gradle'
-def version = '1.0.3'
+def version = '1.0.4'
 
 def releaseTime() {
     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))

+ 2 - 2
lib_ad_gromore/build.gradle

@@ -2,7 +2,7 @@ plugins {
     id 'com.android.library'
     id 'org.jetbrains.kotlin.android'
 }
-def version = '1.0.3'
+def version = '1.0.4'
 
 def releaseTime() {
     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
@@ -62,6 +62,6 @@ dependencies {
     api project(':lib_ad_core')
 
     /*GroMore*/
-    api 'com.pangle.cn:mediation-sdk:5.8.0.7'
+    api 'com.pangle.cn:mediation-sdk:5.8.1.8'
 
 }

+ 1 - 1
lib_ad_gromore_adn/build.gradle

@@ -3,7 +3,7 @@ plugins {
     id 'org.jetbrains.kotlin.android'
 }
 
-def version = '1.0.3'
+def version = '1.0.4'
 
 def releaseTime() {
     return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))

BIN
lib_ad_repository/admob/ad_admob_1.0.4_2024-01-08-release.aar


BIN
lib_ad_repository/app_lovin_max/ad_app_lovin_max_1.0.4_2024-01-08-release.aar


BIN
lib_ad_repository/core/ad_core_1.0.4_2024-01-08-release.aar


BIN
lib_ad_repository/gro_more/ad_gromore_1.0.4_2024-01-08-release.aar


BIN
lib_ad_repository/gro_more_adn/ad_gromore_adn_1.0.4_2024-01-08-release.aar


+ 0 - 1
lib_ad_scope/.gitignore

@@ -1 +0,0 @@
-/build

+ 0 - 63
lib_ad_scope/build.gradle

@@ -1,63 +0,0 @@
-plugins {
-    id 'com.android.library'
-    id 'org.jetbrains.kotlin.android'
-}
-
-def version = '1.0.0'
-
-def releaseTime() {
-    return new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
-}
-
-android {
-    compileSdk = rootProject.ext.compileSdkVersion
-    buildToolsVersion rootProject.ext.buildToolsVersion
-
-    defaultConfig {
-        minSdkVersion rootProject.ext.minSdkVersion
-        targetSdkVersion rootProject.ext.targetSdkVersion
-
-        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
-        consumerProguardFiles "consumer-rules.pro"
-    }
-
-    buildTypes {
-        debug {
-            libraryVariants.all { variant ->
-                variant.outputs.all { output ->
-                    if (outputFile != null && outputFileName.endsWith('.aar')) {
-                        outputFileName = "ad_scope_${version}_${releaseTime()}_debug.aar"
-                    }
-                }
-            }
-        }
-
-        release {
-            minifyEnabled false
-            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
-
-            libraryVariants.all { variant ->
-                variant.outputs.all { output ->
-                    if (outputFile != null && outputFileName.endsWith('.aar')) {
-                        outputFileName = "ad_scope_${version}_${releaseTime()}_release.aar"
-                    }
-                }
-            }
-        }
-    }
-    compileOptions {
-        sourceCompatibility JavaVersion.VERSION_1_8
-        targetCompatibility JavaVersion.VERSION_1_8
-    }
-    kotlinOptions {
-        jvmTarget = '1.8'
-    }
-}
-
-dependencies {
-    api fileTree(include: ['*.jar', '*.aar'], dir: 'libs')
-    implementation project(':lib_ad_core')
-
-//    implementation(name: 'beizi_fusion_sdk_4.90.2.27', ext: 'aar')
-//    implementation(name: 'beizi_ad_sdk_3.4.20.23', ext: 'aar')
-}

+ 0 - 0
lib_ad_scope/consumer-rules.pro


+ 0 - 21
lib_ad_scope/proguard-rules.pro

@@ -1,21 +0,0 @@
-# Add project specific ProGuard rules here.
-# You can control the set of applied configuration files using the
-# proguardFiles setting in build.gradle.
-#
-# For more details, see
-#   http://developer.android.com/guide/developing/tools/proguard.html
-
-# If your project uses WebView with JS, uncomment the following
-# and specify the fully qualified class name to the JavaScript interface
-# class:
-#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
-#   public *;
-#}
-
-# Uncomment this to preserve the line number information for
-# debugging stack traces.
-#-keepattributes SourceFile,LineNumberTable
-
-# If you keep the line number information, uncomment this to
-# hide the original source file name.
-#-renamesourcefileattribute SourceFile

+ 0 - 24
lib_ad_scope/src/androidTest/java/com/ad/scope/ExampleInstrumentedTest.kt

@@ -1,24 +0,0 @@
-package com.ad.scope
-
-import androidx.test.platform.app.InstrumentationRegistry
-import androidx.test.ext.junit.runners.AndroidJUnit4
-
-import org.junit.Test
-import org.junit.runner.RunWith
-
-import org.junit.Assert.*
-
-/**
- * Instrumented test, which will execute on an Android device.
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-@RunWith(AndroidJUnit4::class)
-class ExampleInstrumentedTest {
-    @Test
-    fun useAppContext() {
-        // Context of the app under test.
-        val appContext = InstrumentationRegistry.getInstrumentation().targetContext
-        assertEquals("com.ruike.lib_ad_scope.test", appContext.packageName)
-    }
-}

+ 0 - 32
lib_ad_scope/src/main/AndroidManifest.xml

@@ -1,32 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    xmlns:tools="http://schemas.android.com/tools"
-    package="com.ad.scope">
-
-    <!--获取应用安装列表的权限属于个人信息,由渠道引入,媒体可以通过以下配置,主动移除这个权限-->
-    <uses-permission
-        android:name="android.permission.QUERY_ALL_PACKAGES"
-        tools:node="remove"
-        tools:ignore="QueryAllPackagesPermission" />
-
-    <!--获取手机状态的权限可能涉及到获取个人信息,由渠道引入,媒体可以通过以下配置,主动移除这个权限-->
-    <uses-permission
-        android:name="android.permission.READ_PHONE_STATE"
-        tools:node="remove" />
-
-    <!--必要权限-->
-    <uses-permission android:name="android.permission.INTERNET" />
-    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
-    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
-    <uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES" />
-    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-
-    <!--可选权限-->
-    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
-    <uses-permission android:name="android.permission.READ_PHONE_STATE" /><!--主动移除此权限后,此处不能再添加此权限,否则移除不成功-->
-    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
-    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
-    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
-    <!-- 如果有视频相关的广告且使用textureView播放,请务必添加,否则黑屏 -->
-    <uses-permission android:name="android.permission.WAKE_LOCK" />
-</manifest>

+ 0 - 8
lib_ad_scope/src/main/res/xml/beizi_file_path.xml

@@ -1,8 +0,0 @@
-<paths xmlns:android="http://schemas.android.com/apk/res/android">
-    <external-path
-        name="external"
-        path="Beizi" />
-
-    <external-path name="external_files" path="." />
-
-</paths>

+ 0 - 17
lib_ad_scope/src/test/java/com/ad/scope/ExampleUnitTest.kt

@@ -1,17 +0,0 @@
-package com.ad.scope
-
-import org.junit.Test
-
-import org.junit.Assert.*
-
-/**
- * Example local unit test, which will execute on the development machine (host).
- *
- * See [testing documentation](http://d.android.com/tools/testing).
- */
-class ExampleUnitTest {
-    @Test
-    fun addition_isCorrect() {
-        assertEquals(4, 2 + 2)
-    }
-}