@capgo/capacitor-stream-call 7.7.7 → 7.7.9
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: "7.0.0"),
|
|
14
|
-
.package(url: "https://github.com/GetStream/stream-video-swift.git", exact: "1.34.
|
|
14
|
+
.package(url: "https://github.com/GetStream/stream-video-swift.git", exact: "1.34.2")
|
|
15
15
|
],
|
|
16
16
|
targets: [
|
|
17
17
|
.target(
|
|
@@ -104,7 +104,7 @@ import io.getstream.video.android.model.StreamCallId
|
|
|
104
104
|
import kotlinx.coroutines.flow.collectLatest
|
|
105
105
|
|
|
106
106
|
// I am not a religious pearson, but at this point, I am not sure even god himself would understand this code
|
|
107
|
-
// It's a spaghetti-like, tangled, unreadable mess and frankly, I am deeply sorry for the code crimes
|
|
107
|
+
// It's a spaghetti-like, tangled, unreadable mess and frankly, I am deeply sorry for the code crimes committed in the Android impl
|
|
108
108
|
@CapacitorPlugin(name = "StreamCall")
|
|
109
109
|
class StreamCallPlugin : Plugin() {
|
|
110
110
|
private val pluginVersion = "7.7.4"
|
|
@@ -1443,7 +1443,7 @@ class StreamCallPlugin : Plugin() {
|
|
|
1443
1443
|
private fun registerActivityEventListener(application: Application) {
|
|
1444
1444
|
Log.i("StreamCallPlugin", "Registering activity event listener")
|
|
1445
1445
|
application.registerActivityLifecycleCallbacks(object: ActivityLifecycleCallbacks() {
|
|
1446
|
-
override fun onActivityCreated(activity: Activity,
|
|
1446
|
+
override fun onActivityCreated(activity: Activity, bundle: Bundle?) {
|
|
1447
1447
|
Log.d("StreamCallPlugin", "onActivityCreated called")
|
|
1448
1448
|
savedContext?.let {
|
|
1449
1449
|
if (this@StreamCallPlugin.savedActivity != null && activity is BridgeActivity) {
|
|
@@ -1468,7 +1468,7 @@ class StreamCallPlugin : Plugin() {
|
|
|
1468
1468
|
this@StreamCallPlugin.savedActivity = activity
|
|
1469
1469
|
}
|
|
1470
1470
|
}
|
|
1471
|
-
super.onActivityCreated(activity,
|
|
1471
|
+
super.onActivityCreated(activity, bundle)
|
|
1472
1472
|
}
|
|
1473
1473
|
|
|
1474
1474
|
override fun onActivityPaused(activity: Activity) {
|
|
@@ -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.
|
|
15
|
+
private let pluginVersion: String = "7.7.9"
|
|
16
16
|
public let identifier = "StreamCallPlugin"
|
|
17
17
|
public let jsName = "StreamCall"
|
|
18
18
|
public let pluginMethods: [CAPPluginMethod] = [
|
package/package.json
CHANGED