react-native-spalla-player 0.3.0 → 0.5.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/README.md CHANGED
@@ -8,6 +8,21 @@ Spalla SDK for RN
8
8
  npm install react-native-spalla-player
9
9
  ```
10
10
 
11
+ On Android, also add the THEOplayer repository to the list of repositories
12
+
13
+ ```sh
14
+ maven { url 'https://maven.theoplayer.com/releases' }
15
+ ```
16
+
17
+ For example:
18
+ ```sh
19
+ repositories {
20
+ mavenCentral()
21
+ google()
22
+ maven { url 'https://maven.theoplayer.com/releases' }
23
+ }
24
+ ```
25
+
11
26
  ## Usage
12
27
 
13
28
  ```js
@@ -5,6 +5,7 @@ buildscript {
5
5
  repositories {
6
6
  google()
7
7
  mavenCentral()
8
+ maven { url 'https://maven.theoplayer.com/releases' }
8
9
  }
9
10
 
10
11
  dependencies {
@@ -85,6 +86,7 @@ android {
85
86
  repositories {
86
87
  mavenCentral()
87
88
  google()
89
+ maven { url 'https://maven.theoplayer.com/releases' }
88
90
  }
89
91
 
90
92
  def kotlin_version = getExtOrDefault("kotlinVersion")
@@ -95,6 +97,7 @@ dependencies {
95
97
  //noinspection GradleDynamicVersion
96
98
  implementation "com.facebook.react:react-native:+"
97
99
  implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
98
- implementation("stream.spalla:spalla-android-sdk:1.2.2")
100
+ implementation("stream.spalla:spalla-android-sdk:1.4.2")
99
101
  }
100
102
 
103
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-spalla-player",
3
- "version": "0.3.0",
3
+ "version": "0.5.1",
4
4
  "description": "Spalla SDK for RN",
5
5
  "source": "./src/index.tsx",
6
6
  "main": "./lib/commonjs/index.js",