react-native-theoplayer 3.4.0 → 3.4.2

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
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.1.0/)
6
6
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.4.2] - 23-12-22
9
+
10
+ ### Fixed
11
+
12
+ - Fixed an issue in the Expo plugin for Android where it would fail to execute when no properties are passed.
13
+
14
+ ## [3.4.1] - 23-12-21
15
+
16
+ ### Changed
17
+
18
+ - Take the Kotlin Gradle plugin version from the root project, if specified.
19
+
8
20
  ## [3.4.0] - 23-12-21
9
21
 
10
22
  ### Added
@@ -1,4 +1,8 @@
1
1
  buildscript {
2
+ ext.safeExtGet = { prop, fallback ->
3
+ rootProject.ext.has(prop) ? rootProject.ext.get(prop) : fallback
4
+ }
5
+
2
6
  repositories {
3
7
  google()
4
8
  mavenCentral()
@@ -6,7 +10,7 @@ buildscript {
6
10
 
7
11
  dependencies {
8
12
  classpath 'com.android.tools.build:gradle:7.4.2'
9
- classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.21'
13
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${safeExtGet('kotlinVersion', '1.8.21')}"
10
14
  }
11
15
  }
12
16
 
package/app.plugin.js CHANGED
@@ -37,7 +37,7 @@ const applyAndroidExtensions = (config, extensions) => {
37
37
 
38
38
  const withAndroidTHEOplayer = (config, props) => {
39
39
  // Apply Android extensions
40
- const {extensions} = props;
40
+ const {extensions} = props | {};
41
41
  config = applyAndroidExtensions(config, extensions);
42
42
 
43
43
  // Add the localMaven repo to the project's repositories
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-theoplayer",
3
- "version": "3.4.0",
3
+ "version": "3.4.2",
4
4
  "description": "A THEOplayer video component for react-native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",