@capgo/capacitor-stream-call 7.7.18 → 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.0'
14
+ s.ios.deployment_target = '15.0'
15
15
  s.dependency 'Capacitor'
16
16
  s.dependency 'StreamVideo', '1.34.1'
17
17
  s.dependency 'StreamVideoSwiftUI', '1.34.1'
package/Package.swift CHANGED
@@ -3,14 +3,14 @@ import PackageDescription
3
3
 
4
4
  let package = Package(
5
5
  name: "StreamCall",
6
- platforms: [.iOS(.v14)],
6
+ platforms: [.iOS(.v15)],
7
7
  products: [
8
8
  .library(
9
9
  name: "StreamCall",
10
10
  targets: ["StreamCallPlugin"])
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/GetStream/stream-video-swift.git", exact: "1.34.2")
15
15
  ],
16
16
  targets: [
@@ -1,33 +1,37 @@
1
- ext {
2
- junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
3
- androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.0'
4
- androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.2.1'
5
- androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.6.1'
6
- kotlin_version = '2.1.10'
7
- }
1
+ import org.jetbrains.kotlin.gradle.dsl.JvmTarget
8
2
 
9
3
  buildscript {
4
+ ext {
5
+ kotlin_version = project.hasProperty("kotlin_version") ? rootProject.ext.kotlin_version : '2.2.20'
6
+ }
10
7
  repositories {
11
8
  google()
12
9
  mavenCentral()
13
10
  }
14
11
  dependencies {
15
- classpath 'com.android.tools.build:gradle:8.7.2'
16
- classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.10"
12
+ classpath 'com.android.tools.build:gradle:8.13.0'
13
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
17
14
  classpath 'org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.compose.gradle.plugin:2.1.10'
18
15
  }
19
16
  }
20
17
 
18
+ ext {
19
+ junitVersion = project.hasProperty('junitVersion') ? rootProject.ext.junitVersion : '4.13.2'
20
+ androidxAppCompatVersion = project.hasProperty('androidxAppCompatVersion') ? rootProject.ext.androidxAppCompatVersion : '1.7.1'
21
+ androidxJunitVersion = project.hasProperty('androidxJunitVersion') ? rootProject.ext.androidxJunitVersion : '1.3.0'
22
+ androidxEspressoCoreVersion = project.hasProperty('androidxEspressoCoreVersion') ? rootProject.ext.androidxEspressoCoreVersion : '3.7.0'
23
+ }
24
+
21
25
  apply plugin: 'com.android.library'
22
26
  apply plugin: 'org.jetbrains.kotlin.android'
23
27
  apply plugin: 'org.jetbrains.kotlin.plugin.compose'
24
28
 
25
29
  android {
26
- namespace "ee.forgr.capacitor.streamcall"
27
- compileSdk project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 35
30
+ namespace = "ee.forgr.capacitor.streamcall"
31
+ compileSdk = project.hasProperty('compileSdkVersion') ? rootProject.ext.compileSdkVersion : 36
28
32
  defaultConfig {
29
- minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 23
30
- targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 35
33
+ minSdkVersion project.hasProperty('minSdkVersion') ? rootProject.ext.minSdkVersion : 24
34
+ targetSdkVersion project.hasProperty('targetSdkVersion') ? rootProject.ext.targetSdkVersion : 36
31
35
  versionCode 1
32
36
  versionName "1.0"
33
37
  testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
@@ -39,20 +43,23 @@ android {
39
43
  }
40
44
  }
41
45
  lintOptions {
42
- abortOnError false
46
+ abortOnError = false
43
47
  }
44
48
  compileOptions {
45
49
  sourceCompatibility JavaVersion.VERSION_21
46
50
  targetCompatibility JavaVersion.VERSION_21
47
51
  }
48
- kotlinOptions {
49
- jvmTarget = '21'
50
- }
51
52
  buildFeatures {
52
53
  compose = true
53
54
  }
54
55
  }
55
56
 
57
+ kotlin {
58
+ compilerOptions {
59
+ jvmTarget = JvmTarget.JVM_21
60
+ }
61
+ }
62
+
56
63
  repositories {
57
64
  google()
58
65
  mavenCentral()
@@ -12,7 +12,7 @@ import WebKit
12
12
  */
13
13
  @objc(StreamCallPlugin)
14
14
  public class StreamCallPlugin: CAPPlugin, CAPBridgedPlugin {
15
- private let pluginVersion: String = "7.7.18"
15
+ private let pluginVersion: String = "8.0.1"
16
16
  public let identifier = "StreamCallPlugin"
17
17
  public let jsName = "StreamCall"
18
18
  public let pluginMethods: [CAPPluginMethod] = [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capgo/capacitor-stream-call",
3
- "version": "7.7.18",
3
+ "version": "8.0.1",
4
4
  "description": "Uses the https://getstream.io/ SDK to implement calling in Capacitor",
5
5
  "main": "dist/plugin.cjs.js",
6
6
  "module": "dist/esm/index.js",
@@ -58,23 +58,25 @@
58
58
  "prepublishOnly": "npm run build"
59
59
  },
60
60
  "devDependencies": {
61
- "@capacitor/android": "^7.0.0",
62
- "@capacitor/core": "^7.0.0",
63
- "@capacitor/docgen": "^0.3.0",
64
- "@capacitor/ios": "^7.0.0",
61
+ "@capacitor/android": "^8.0.0",
62
+ "@capacitor/core": "^8.0.0",
63
+ "@capacitor/docgen": "^0.3.1",
64
+ "@capacitor/ios": "^8.0.0",
65
65
  "@ionic/eslint-config": "^0.4.0",
66
66
  "@ionic/prettier-config": "^4.0.0",
67
67
  "@ionic/swiftlint-config": "^2.0.0",
68
- "eslint": "^8.57.0",
69
- "prettier": "^3.5.0",
70
- "prettier-plugin-java": "^2.6.7",
71
- "rimraf": "^6.0.1",
72
- "rollup": "^4.34.6",
68
+ "@types/node": "^24.10.1",
69
+ "eslint": "^8.57.1",
70
+ "eslint-plugin-import": "^2.31.0",
71
+ "prettier": "^3.6.2",
72
+ "prettier-plugin-java": "^2.7.7",
73
+ "rimraf": "^6.1.0",
74
+ "rollup": "^4.53.2",
73
75
  "swiftlint": "^2.0.0",
74
- "typescript": "^5.7.3"
76
+ "typescript": "^5.9.3"
75
77
  },
76
78
  "peerDependencies": {
77
- "@capacitor/core": ">=7.0.0"
79
+ "@capacitor/core": ">=8.0.0"
78
80
  },
79
81
  "prettier": "@ionic/prettier-config",
80
82
  "swiftlint": "@ionic/swiftlint-config",