expo-libvlc-player 7.1.4 → 7.1.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/README.md
CHANGED
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
</p>
|
|
17
17
|
|
|
18
18
|
<p align="center">
|
|
19
|
-
<i>Screenshots taken from the <a href="example
|
|
19
|
+
<i>Screenshots taken from the <a href="example">Example App</a> on Android and iOS</i>
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
### Supported versions
|
|
@@ -109,7 +109,7 @@ import LibVlcPlayerModule from "expo-libvlc-player";
|
|
|
109
109
|
LibVlcPlayerModule.isPictureInPictureSupported();
|
|
110
110
|
```
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
_See the [Example App](example) for additional usage._
|
|
113
113
|
|
|
114
114
|
### Module methods
|
|
115
115
|
|
package/android/build.gradle
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import groovy.json.JsonSlurper
|
|
2
2
|
|
|
3
3
|
plugins {
|
|
4
|
-
id
|
|
5
|
-
id
|
|
4
|
+
id "com.android.library"
|
|
5
|
+
id "expo-module-gradle-plugin"
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
def pkg = new JsonSlurper().parse(file("$projectDir/../package.json"))
|
|
9
9
|
|
|
10
|
-
group =
|
|
10
|
+
group = "expo.modules.libvlcplayer"
|
|
11
11
|
version = pkg.version
|
|
12
12
|
|
|
13
13
|
android {
|
|
14
|
-
namespace
|
|
14
|
+
namespace "expo.modules.libvlcplayer"
|
|
15
15
|
|
|
16
16
|
defaultConfig {
|
|
17
17
|
versionCode 1
|
|
18
18
|
versionName pkg.version
|
|
19
|
-
consumerProguardFiles(
|
|
19
|
+
consumerProguardFiles("proguard-rules.pro")
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
lintOptions {
|
|
@@ -29,5 +29,5 @@ repositories {
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
dependencies {
|
|
32
|
-
implementation
|
|
32
|
+
implementation "org.videolan.android:libvlc-all:3.7.5"
|
|
33
33
|
}
|
|
@@ -867,7 +867,7 @@ private fun MutableList<String>.normalizeOptions() {
|
|
|
867
867
|
val normalized =
|
|
868
868
|
map { option ->
|
|
869
869
|
if (!option.startsWith(":")) {
|
|
870
|
-
":" + option.dropWhile { character -> character ==
|
|
870
|
+
":" + option.dropWhile { character -> character == "-" }
|
|
871
871
|
} else {
|
|
872
872
|
option
|
|
873
873
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
require
|
|
1
|
+
require "json"
|
|
2
2
|
|
|
3
|
-
package = JSON.parse(File.read(File.join(__dir__,
|
|
3
|
+
package = JSON.parse(File.read(File.join(__dir__, "..", "package.json")))
|
|
4
4
|
|
|
5
5
|
Pod::Spec.new do |s|
|
|
6
|
-
s.name =
|
|
7
|
-
s.version = package[
|
|
8
|
-
s.summary = package[
|
|
9
|
-
s.description = package[
|
|
10
|
-
s.license = package[
|
|
11
|
-
s.author = package[
|
|
12
|
-
s.homepage = package[
|
|
6
|
+
s.name = "ExpoLibVlcPlayer"
|
|
7
|
+
s.version = package["version"]
|
|
8
|
+
s.summary = package["description"]
|
|
9
|
+
s.description = package["description"]
|
|
10
|
+
s.license = package["license"]
|
|
11
|
+
s.author = package["author"]
|
|
12
|
+
s.homepage = package["homepage"]
|
|
13
13
|
s.platforms = {
|
|
14
|
-
:ios =>
|
|
15
|
-
:tvos =>
|
|
14
|
+
:ios => "15.1",
|
|
15
|
+
:tvos => "15.1",
|
|
16
16
|
}
|
|
17
|
-
s.swift_version =
|
|
18
|
-
s.source = { git:
|
|
17
|
+
s.swift_version = "5.9"
|
|
18
|
+
s.source = { git: "https://github.com/cornejobarraza/expo-libvlc-player" }
|
|
19
19
|
s.static_framework = true
|
|
20
20
|
|
|
21
|
-
s.dependency
|
|
22
|
-
s.dependency
|
|
21
|
+
s.dependency "ExpoModulesCore"
|
|
22
|
+
s.dependency "VLCKit", "4.0.0a20"
|
|
23
23
|
|
|
24
24
|
# Swift/Objective-C compatibility
|
|
25
25
|
s.pod_target_xcconfig = {
|
|
26
|
-
|
|
26
|
+
"DEFINES_MODULE" => "YES",
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
s.source_files = "**/*.{h,m,mm,swift,hpp,cpp}"
|