@capgo/capacitor-admob 7.4.9 → 8.0.2

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.0'
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(.v14)],
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: "7.0.0"),
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: [
@@ -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.6.1'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.1.5'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.5.1'
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.3.1'
17
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.23"
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 : 35
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 : 22
29
- targetSdk project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
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.VERSION_17
45
- targetCompatibility JavaVersion.VERSION_17
46
+ sourceCompatibility JavaVersion.VERSION_21
47
+ targetCompatibility JavaVersion.VERSION_21
46
48
  }
47
- kotlinOptions {
48
- jvmTarget = '17'
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 = "7.4.9"
8
+ private let pluginVersion: String = "8.0.2"
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": "7.4.9",
3
+ "version": "8.0.2",
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",
@@ -24,6 +24,7 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/Cap-go/capacitor-admob/issues"
26
26
  },
27
+ "homepage": "https://capgo.app/docs/plugins/admob/",
27
28
  "keywords": [
28
29
  "capacitor",
29
30
  "plugin",
@@ -48,24 +49,25 @@
48
49
  "prepublishOnly": "npm run build"
49
50
  },
50
51
  "devDependencies": {
51
- "@capacitor/android": "^7.0.0",
52
- "@capacitor/core": "^7.0.0",
53
- "@capacitor/docgen": "^0.3.0",
54
- "@capacitor/ios": "^7.0.0",
52
+ "@capacitor/android": "^8.0.0",
53
+ "@capacitor/core": "^8.0.0",
54
+ "@capacitor/docgen": "^0.3.1",
55
+ "@capacitor/ios": "^8.0.0",
55
56
  "@ionic/eslint-config": "^0.4.0",
56
57
  "@ionic/prettier-config": "^4.0.0",
57
58
  "@ionic/swiftlint-config": "^2.0.0",
58
- "@types/node": "^22.10.2",
59
- "eslint": "^8.57.0",
60
- "prettier": "^3.4.2",
61
- "prettier-plugin-java": "^2.6.6",
62
- "rimraf": "^6.0.1",
63
- "rollup": "^4.30.1",
59
+ "@types/node": "^24.10.1",
60
+ "eslint": "^8.57.1",
61
+ "eslint-plugin-import": "^2.31.0",
62
+ "prettier": "^3.6.2",
63
+ "prettier-plugin-java": "^2.7.7",
64
+ "rimraf": "^6.1.0",
65
+ "rollup": "^4.53.2",
64
66
  "swiftlint": "^2.0.0",
65
- "typescript": "^5.7.3"
67
+ "typescript": "^5.9.3"
66
68
  },
67
69
  "peerDependencies": {
68
- "@capacitor/core": ">=7.0.0"
70
+ "@capacitor/core": ">=8.0.0"
69
71
  },
70
72
  "prettier": "@ionic/prettier-config",
71
73
  "swiftlint": "@ionic/swiftlint-config",