expo-modules-core 1.2.0 → 1.2.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.
package/CHANGELOG.md CHANGED
@@ -10,6 +10,12 @@
10
10
 
11
11
  ### 💡 Others
12
12
 
13
+ ## 1.2.1 — 2023-02-09
14
+
15
+ ### 🐛 Bug fixes
16
+
17
+ - Fix crash when reloading app while expo-av video is playing. ([#21118](https://github.com/expo/expo/pull/21118) by [@janicduplessis](https://github.com/janicduplessis))
18
+
13
19
  ## 1.2.0 — 2023-02-03
14
20
 
15
21
  ### 🎉 New features
package/README.md CHANGED
@@ -1,4 +1,11 @@
1
- # expo-modules-core
1
+ <p>
2
+ <a href="https://docs.expo.dev/modules/">
3
+ <img
4
+ src="../../.github/resources/expo-modules-core.svg"
5
+ alt="expo-modules-core"
6
+ height="64" />
7
+ </a>
8
+ </p>
2
9
 
3
10
  The core of Expo Modules architecture.
4
11
 
@@ -4,7 +4,7 @@ class KotlinExpoModulesCorePlugin implements Plugin<Project> {
4
4
  project.ext.kotlinVersion = {
5
5
  project.rootProject.ext.has("kotlinVersion")
6
6
  ? project.rootProject.ext.get("kotlinVersion")
7
- : "1.6.10"
7
+ : "1.8.10"
8
8
  }
9
9
  }
10
10
  }
@@ -6,7 +6,7 @@ apply plugin: 'maven-publish'
6
6
  apply plugin: "de.undercouch.download"
7
7
 
8
8
  group = 'host.exp.exponent'
9
- version = '1.2.0'
9
+ version = '1.2.1'
10
10
 
11
11
  buildscript {
12
12
  def expoModulesCorePlugin = new File(project(":expo-modules-core").projectDir.absolutePath, "ExpoModulesCorePlugin.gradle")
@@ -25,7 +25,7 @@ buildscript {
25
25
  if (ext.has("kotlinVersion")) {
26
26
  ext.kotlinVersion()
27
27
  } else {
28
- ext.safeExtGet("kotlinVersion", "1.6.10")
28
+ ext.safeExtGet("kotlinVersion", "1.8.10")
29
29
  }
30
30
  }
31
31
 
@@ -173,7 +173,7 @@ android {
173
173
  targetSdkVersion safeExtGet("targetSdkVersion", 33)
174
174
  consumerProguardFiles 'proguard-rules.pro'
175
175
  versionCode 1
176
- versionName "1.2.0"
176
+ versionName "1.2.1"
177
177
  buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled.toString()
178
178
 
179
179
  testInstrumentationRunner "expo.modules.TestRunner"
@@ -76,7 +76,7 @@ private func createEventSetter(eventName: String, bridge: RCTBridge?) -> RCTProp
76
76
  installEventDispatcher(forEvent: eventName, onView: target) { [weak target] (body: [String: Any]) in
77
77
  if let target = target {
78
78
  let componentEvent = RCTComponentEvent(name: eventName, viewTag: target.reactTag, body: body)
79
- bridge?.eventDispatcher().send(componentEvent)
79
+ bridge?.eventDispatcher()?.send(componentEvent)
80
80
  }
81
81
  }
82
82
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-modules-core",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "The core of Expo Modules architecture",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -42,5 +42,5 @@
42
42
  "@testing-library/react-hooks": "^7.0.1",
43
43
  "expo-module-scripts": "^3.0.0"
44
44
  },
45
- "gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4"
45
+ "gitHead": "1f8a6a09570fd451378565ca34933018ce48454e"
46
46
  }