@capgo/capacitor-admob 7.4.8 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -11,7 +11,7 @@ Pod::Spec.new do |s|
|
|
|
11
11
|
s.author = package['author']
|
|
12
12
|
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
|
|
13
13
|
s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
|
|
14
|
-
s.ios.deployment_target = '
|
|
14
|
+
s.ios.deployment_target = '15.0'
|
|
15
15
|
s.dependency 'Capacitor'
|
|
16
16
|
s.dependency 'Google-Mobile-Ads-SDK', '~> 11.0'
|
|
17
17
|
s.swift_version = '5.1'
|
package/Package.swift
CHANGED
|
@@ -3,14 +3,14 @@ import PackageDescription
|
|
|
3
3
|
|
|
4
4
|
let package = Package(
|
|
5
5
|
name: "CapgoCapacitorAdmob",
|
|
6
|
-
platforms: [.iOS(.
|
|
6
|
+
platforms: [.iOS(.v15)],
|
|
7
7
|
products: [
|
|
8
8
|
.library(
|
|
9
9
|
name: "CapgoCapacitorAdmob",
|
|
10
10
|
targets: ["AdmobPlusPlugin"])
|
|
11
11
|
],
|
|
12
12
|
dependencies: [
|
|
13
|
-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "
|
|
13
|
+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
|
|
14
14
|
.package(url: "https://github.com/googleads/swift-package-manager-google-mobile-ads.git", from: "11.0.0")
|
|
15
15
|
],
|
|
16
16
|
targets: [
|
package/android/build.gradle
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
|
2
|
+
|
|
1
3
|
ext {
|
|
2
4
|
junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
|
|
3
|
-
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.
|
|
4
|
-
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.
|
|
5
|
-
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.
|
|
5
|
+
androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
|
|
6
|
+
androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
|
|
7
|
+
androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
|
|
6
8
|
googlePlayServicesAdsVersion = project.hasProperty('googlePlayServicesAdsVersion') ? rootProject.ext.googlePlayServicesAdsVersion : '23.0.0'
|
|
7
9
|
}
|
|
8
10
|
|
|
@@ -13,8 +15,8 @@ buildscript {
|
|
|
13
15
|
mavenCentral()
|
|
14
16
|
}
|
|
15
17
|
dependencies {
|
|
16
|
-
classpath 'com.android.tools.build:gradle:8.
|
|
17
|
-
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:
|
|
18
|
+
classpath 'com.android.tools.build:gradle:8.13.0'
|
|
19
|
+
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.20"
|
|
18
20
|
}
|
|
19
21
|
}
|
|
20
22
|
|
|
@@ -22,11 +24,11 @@ apply plugin: 'com.android.library'
|
|
|
22
24
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
23
25
|
|
|
24
26
|
android {
|
|
25
|
-
namespace "admob.plus.capacitor"
|
|
26
|
-
compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion :
|
|
27
|
+
namespace = "admob.plus.capacitor"
|
|
28
|
+
compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
|
|
27
29
|
defaultConfig {
|
|
28
|
-
minSdk project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion :
|
|
29
|
-
targetSdk project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion :
|
|
30
|
+
minSdk project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
|
|
31
|
+
targetSdk project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
|
|
30
32
|
versionCode 1
|
|
31
33
|
versionName "1.0"
|
|
32
34
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
@@ -38,14 +40,17 @@ android {
|
|
|
38
40
|
}
|
|
39
41
|
}
|
|
40
42
|
lintOptions {
|
|
41
|
-
abortOnError false
|
|
43
|
+
abortOnError = false
|
|
42
44
|
}
|
|
43
45
|
compileOptions {
|
|
44
|
-
sourceCompatibility JavaVersion.
|
|
45
|
-
targetCompatibility JavaVersion.
|
|
46
|
+
sourceCompatibility JavaVersion.VERSION_21
|
|
47
|
+
targetCompatibility JavaVersion.VERSION_21
|
|
46
48
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
kotlin {
|
|
52
|
+
compilerOptions {
|
|
53
|
+
jvmTarget = JvmTarget.JVM_21
|
|
49
54
|
}
|
|
50
55
|
}
|
|
51
56
|
|
|
@@ -5,7 +5,7 @@ import AppTrackingTransparency
|
|
|
5
5
|
|
|
6
6
|
@objc(AdmobPlusPlugin)
|
|
7
7
|
public class AdmobPlusPlugin: CAPPlugin, CAPBridgedPlugin {
|
|
8
|
-
private let pluginVersion: String = "
|
|
8
|
+
private let pluginVersion: String = "8.0.1"
|
|
9
9
|
public let identifier = "AdmobPlusPlugin"
|
|
10
10
|
public let jsName = "AdMobPlus"
|
|
11
11
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capgo/capacitor-admob",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"description": "Capacitor plugin to bridge AdMob SDKs for iOS and Android",
|
|
5
5
|
"main": "dist/plugin.cjs.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -48,24 +48,24 @@
|
|
|
48
48
|
"prepublishOnly": "npm run build"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@capacitor/android": "^
|
|
52
|
-
"@capacitor/core": "^
|
|
53
|
-
"@capacitor/docgen": "^0.3.
|
|
54
|
-
"@capacitor/ios": "^
|
|
51
|
+
"@capacitor/android": "^8.0.0",
|
|
52
|
+
"@capacitor/core": "^8.0.0",
|
|
53
|
+
"@capacitor/docgen": "^0.3.1",
|
|
54
|
+
"@capacitor/ios": "^8.0.0",
|
|
55
55
|
"@ionic/eslint-config": "^0.4.0",
|
|
56
56
|
"@ionic/prettier-config": "^4.0.0",
|
|
57
57
|
"@ionic/swiftlint-config": "^2.0.0",
|
|
58
|
-
"@types/node": "^
|
|
59
|
-
"eslint": "^8.57.
|
|
60
|
-
"prettier": "^3.
|
|
61
|
-
"prettier-plugin-java": "^2.
|
|
62
|
-
"rimraf": "^6.0
|
|
63
|
-
"rollup": "^4.
|
|
58
|
+
"@types/node": "^24.10.1",
|
|
59
|
+
"eslint": "^8.57.1",
|
|
60
|
+
"prettier": "^3.6.2",
|
|
61
|
+
"prettier-plugin-java": "^2.7.7",
|
|
62
|
+
"rimraf": "^6.1.0",
|
|
63
|
+
"rollup": "^4.53.2",
|
|
64
64
|
"swiftlint": "^2.0.0",
|
|
65
|
-
"typescript": "^5.
|
|
65
|
+
"typescript": "^5.9.3"
|
|
66
66
|
},
|
|
67
67
|
"peerDependencies": {
|
|
68
|
-
"@capacitor/core": ">=
|
|
68
|
+
"@capacitor/core": ">=8.0.0"
|
|
69
69
|
},
|
|
70
70
|
"prettier": "@ionic/prettier-config",
|
|
71
71
|
"swiftlint": "@ionic/swiftlint-config",
|