react-native-theoplayer 3.0.1 → 3.0.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,12 @@ 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.0.2] - 23-10-17
9
+
10
+ ### Fixed
11
+
12
+ - Fixed an issue on Android where compilation would fail when depending on player SDK 6.2.0.
13
+
8
14
  ## [3.0.1] - 23-10-12
9
15
 
10
16
  ### Fixed
@@ -33,8 +33,8 @@ class QualityListAdapter<Q : Quality> : QualityList<Q> {
33
33
  return qualities.size
34
34
  }
35
35
 
36
- override fun getItem(i: Int): Q? {
37
- return if (i >= 0 && i < length()) qualities[i] else null
36
+ override fun getItem(i: Int): Q {
37
+ return qualities[i]
38
38
  }
39
39
 
40
40
  override fun iterator(): MutableIterator<Q?> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-theoplayer",
3
- "version": "3.0.1",
3
+ "version": "3.0.2",
4
4
  "description": "A THEOplayer video component for react-native.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",