expo-video 2.0.3 → 2.0.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/CHANGELOG.md CHANGED
@@ -10,6 +10,16 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 2.0.5 — 2025-01-10
14
+
15
+ _This version does not introduce any user-facing changes._
16
+
17
+ ## 2.0.4 — 2025-01-08
18
+
19
+ ### 🐛 Bug fixes
20
+
21
+ - [iOS] Fix `AVPlayer` not deallocating when the player is unmounted. ([#33922](https://github.com/expo/expo/pull/33922) by [@behenate](https://github.com/behenate))
22
+
13
23
  ## 2.0.3 — 2024-12-19
14
24
 
15
25
  ### 🐛 Bug fixes
@@ -1,7 +1,7 @@
1
1
  apply plugin: 'com.android.library'
2
2
 
3
3
  group = 'host.exp.exponent'
4
- version = '2.0.3'
4
+ version = '2.0.5'
5
5
 
6
6
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
7
7
  apply from: expoModulesCorePlugin
@@ -14,7 +14,7 @@ android {
14
14
  namespace "expo.modules.video"
15
15
  defaultConfig {
16
16
  versionCode 1
17
- versionName '2.0.3'
17
+ versionName '2.0.5'
18
18
  }
19
19
  }
20
20
 
@@ -143,8 +143,8 @@ internal final class VideoPlayer: SharedRef<AVPlayer>, Hashable, VideoPlayerObse
143
143
  let videoSource = videoSource,
144
144
  let url = videoSource.uri
145
145
  else {
146
- DispatchQueue.main.async { [weak self] in
147
- self?.pointer.replaceCurrentItem(with: nil)
146
+ DispatchQueue.main.async { [pointer] in
147
+ pointer.replaceCurrentItem(with: nil)
148
148
  }
149
149
  return
150
150
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "expo-video",
3
3
  "title": "Expo Video",
4
- "version": "2.0.3",
4
+ "version": "2.0.5",
5
5
  "description": "A cross-platform, performant video component for React Native and Expo with Web support",
6
6
  "main": "build/index.js",
7
7
  "types": "build/index.d.ts",
@@ -31,12 +31,12 @@
31
31
  "license": "MIT",
32
32
  "dependencies": {},
33
33
  "devDependencies": {
34
- "expo-module-scripts": "^4.0.0"
34
+ "expo-module-scripts": "^4.0.3"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "expo": "*",
38
38
  "react": "*",
39
39
  "react-native": "*"
40
40
  },
41
- "gitHead": "a246df22c427d8c6c905de0915ed50f721fdf062"
41
+ "gitHead": "986a4689b91f3efc527f7178a320b987c0005842"
42
42
  }