@revenuecat/purchases-capacitor-ui 13.2.3 → 13.2.5

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.
package/Package.swift CHANGED
@@ -11,7 +11,7 @@ let package = Package(
11
11
  ],
12
12
  dependencies: [
13
13
  .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", from: "8.0.0"),
14
- .package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "18.21.0")
14
+ .package(url: "https://github.com/RevenueCat/purchases-hybrid-common.git", exact: "18.26.0")
15
15
  ],
16
16
  targets: [
17
17
  .target(
@@ -13,6 +13,6 @@ Pod::Spec.new do |s|
13
13
  s.source_files = 'ios/Sources/**/*.{swift,h,m,c,cc,mm,cpp}'
14
14
  s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
- s.dependency 'PurchasesHybridCommonUI', '18.21.0'
16
+ s.dependency 'PurchasesHybridCommonUI', '18.26.0'
17
17
  s.swift_version = '5.1'
18
18
  end
@@ -1,3 +1,5 @@
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2
+
1
3
  ext {
2
4
  androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
3
5
  }
@@ -14,32 +16,32 @@ buildscript {
14
16
  }
15
17
 
16
18
  apply plugin: 'com.android.library'
17
- apply plugin: 'org.jetbrains.kotlin.android'
19
+ // AGP 9+ registers the `kotlin` extension itself (android.builtInKotlin) and errors out if the
20
+ // Kotlin plugin is also applied. Must stay below `com.android.library`, since that apply is what
21
+ // registers the extension. The kotlin-gradle-plugin classpath entry above is still required even
22
+ // when this branch is skipped: the JvmTarget import needs it on older AGP.
23
+ if (project.extensions.findByName('kotlin') == null) {
24
+ apply plugin: 'org.jetbrains.kotlin.android'
25
+ }
18
26
 
19
27
  android {
20
28
  namespace = "com.revenuecat.purchases.capacitor.ui"
21
29
  compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
22
30
  defaultConfig {
23
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
24
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
25
- versionCode 1
26
- versionName "1.0"
27
- }
28
- buildTypes {
29
- release {
30
- minifyEnabled false
31
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
32
- }
31
+ minSdk = project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
33
32
  }
34
- lintOptions {
33
+ lint {
35
34
  abortOnError = false
36
35
  }
37
36
  compileOptions {
38
- sourceCompatibility JavaVersion.VERSION_1_8
39
- targetCompatibility JavaVersion.VERSION_1_8
37
+ sourceCompatibility = JavaVersion.VERSION_1_8
38
+ targetCompatibility = JavaVersion.VERSION_1_8
40
39
  }
41
- kotlinOptions {
42
- jvmTarget = '1.8'
40
+ }
41
+
42
+ kotlin {
43
+ compilerOptions {
44
+ jvmTarget = JvmTarget.JVM_1_8
43
45
  }
44
46
  }
45
47
 
@@ -51,6 +53,6 @@ repositories {
51
53
  dependencies {
52
54
  implementation project(':capacitor-android')
53
55
  implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
54
- implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:18.21.0'
56
+ implementation 'com.revenuecat.purchases:purchases-hybrid-common-ui:18.26.0'
55
57
  implementation "org.jetbrains.kotlin:kotlin-stdlib:2.2.20"
56
58
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@revenuecat/purchases-capacitor-ui",
3
- "version": "13.2.3",
3
+ "version": "13.2.5",
4
4
  "packageManager": "yarn@1.22.22",
5
5
  "description": "UI components for RevenueCat Capacitor SDK",
6
6
  "main": "dist/esm/index.js",
@@ -66,11 +66,11 @@
66
66
  },
67
67
  "dependencies": {
68
68
  "@capacitor/core": "^8.0.0",
69
- "@revenuecat/purchases-typescript-internal-esm": "18.21.0"
69
+ "@revenuecat/purchases-typescript-internal-esm": "18.26.0"
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@capacitor/core": ">=8.0.0",
73
- "@revenuecat/purchases-capacitor": "13.2.3"
73
+ "@revenuecat/purchases-capacitor": "13.2.5"
74
74
  },
75
75
  "lint-staged": {
76
76
  "*.{ts,js,java,html,css}": [