react-native-firework-sdk 1.10.0-beta.2 → 1.10.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/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/FireworkVideoUI +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64/FireworkVideoUI.framework/Info.plist +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/FireworkVideoUI +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist +0 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +5 -5
- package/README.md +1 -1
- package/ios/FireworkVideoUI/FireworkVideoUI.xcodeproj/project.pbxproj +12 -10
- package/ios/FireworkVideoUI/Podfile +2 -2
- package/ios/FireworkVideoUI/Podfile.lock +1 -1
- package/ios/Models/NativeToRN/FireworkSDK+Json.swift +6 -2
- package/lib/typescript/models/FeedItemDetails.d.ts +8 -0
- package/package.json +3 -2
- package/src/models/FeedItemDetails.ts +8 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
4AcEQBLxgELQnQFQ2xSXPFO2NVE=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
GstdOocn005n9Y9BSuCOjaZ/KBo=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
</data>
|
|
55
55
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule</key>
|
|
56
56
|
<data>
|
|
57
|
-
|
|
57
|
+
ufdIb2xdE4Uk5fET7rrUGlF8CFY=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
<dict>
|
|
110
110
|
<key>hash2</key>
|
|
111
111
|
<data>
|
|
112
|
-
|
|
112
|
+
gHcFcwcr1aAv9W0SVThpQzKZ4iwioor9z8/+tAL9+5Q=
|
|
113
113
|
</data>
|
|
114
114
|
</dict>
|
|
115
115
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<dict>
|
|
145
145
|
<key>hash2</key>
|
|
146
146
|
<data>
|
|
147
|
-
|
|
147
|
+
3LgfAp0SD5Qb24w+Jt+yH3P1gvMKdtH25ZZQHYt25Os=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/module.modulemap</key>
|
package/README.md
CHANGED
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
89DF336929F813F600A8B124 /* FireworkVideoUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 89DF335E29F813F600A8B124 /* FireworkVideoUI.framework */; };
|
|
33
33
|
89DF336E29F813F600A8B124 /* FireworkVideoUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 89DF336D29F813F600A8B124 /* FireworkVideoUITests.swift */; };
|
|
34
34
|
89DF336F29F813F600A8B124 /* FireworkVideoUI.h in Headers */ = {isa = PBXBuildFile; fileRef = 89DF336129F813F600A8B124 /* FireworkVideoUI.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
AED4A4262153F7316704EE62 /* Pods_FireworkVideoUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FC24AE10C629C46DB3051A00 /* Pods_FireworkVideoUI.framework */; };
|
|
36
|
+
C680202B9D76DB8DCCBAAFD6 /* Pods_FireworkVideoUI_FireworkVideoUITests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDC72495DF0F7D2E7307137B /* Pods_FireworkVideoUI_FireworkVideoUITests.framework */; };
|
|
37
37
|
/* End PBXBuildFile section */
|
|
38
38
|
|
|
39
39
|
/* Begin PBXContainerItemProxy section */
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
89DF336829F813F600A8B124 /* FireworkVideoUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FireworkVideoUITests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
78
78
|
89DF336D29F813F600A8B124 /* FireworkVideoUITests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FireworkVideoUITests.swift; sourceTree = "<group>"; };
|
|
79
79
|
9CB1172B21699595C412032C /* Pods-FireworkVideoUI-FireworkVideoUITests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-FireworkVideoUI-FireworkVideoUITests.release.xcconfig"; path = "Target Support Files/Pods-FireworkVideoUI-FireworkVideoUITests/Pods-FireworkVideoUI-FireworkVideoUITests.release.xcconfig"; sourceTree = "<group>"; };
|
|
80
|
-
|
|
81
|
-
|
|
80
|
+
FC24AE10C629C46DB3051A00 /* Pods_FireworkVideoUI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FireworkVideoUI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
81
|
+
FDC72495DF0F7D2E7307137B /* Pods_FireworkVideoUI_FireworkVideoUITests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_FireworkVideoUI_FireworkVideoUITests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
82
82
|
/* End PBXFileReference section */
|
|
83
83
|
|
|
84
84
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
isa = PBXFrameworksBuildPhase;
|
|
87
87
|
buildActionMask = 2147483647;
|
|
88
88
|
files = (
|
|
89
|
-
|
|
89
|
+
AED4A4262153F7316704EE62 /* Pods_FireworkVideoUI.framework in Frameworks */,
|
|
90
90
|
);
|
|
91
91
|
runOnlyForDeploymentPostprocessing = 0;
|
|
92
92
|
};
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
buildActionMask = 2147483647;
|
|
96
96
|
files = (
|
|
97
97
|
89DF336929F813F600A8B124 /* FireworkVideoUI.framework in Frameworks */,
|
|
98
|
-
|
|
98
|
+
C680202B9D76DB8DCCBAAFD6 /* Pods_FireworkVideoUI_FireworkVideoUITests.framework in Frameworks */,
|
|
99
99
|
);
|
|
100
100
|
runOnlyForDeploymentPostprocessing = 0;
|
|
101
101
|
};
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
10002CD714337348ABB5EF18 /* Frameworks */ = {
|
|
106
106
|
isa = PBXGroup;
|
|
107
107
|
children = (
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
FC24AE10C629C46DB3051A00 /* Pods_FireworkVideoUI.framework */,
|
|
109
|
+
FDC72495DF0F7D2E7307137B /* Pods_FireworkVideoUI_FireworkVideoUITests.framework */,
|
|
110
110
|
);
|
|
111
111
|
name = Frameworks;
|
|
112
112
|
sourceTree = "<group>";
|
|
@@ -628,6 +628,7 @@
|
|
|
628
628
|
isa = XCBuildConfiguration;
|
|
629
629
|
baseConfigurationReference = 43E9D4C021993E1D1128C09C /* Pods-FireworkVideoUI.debug.xcconfig */;
|
|
630
630
|
buildSettings = {
|
|
631
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
631
632
|
CODE_SIGN_STYLE = Automatic;
|
|
632
633
|
CURRENT_PROJECT_VERSION = 1;
|
|
633
634
|
DEFINES_MODULE = YES;
|
|
@@ -661,6 +662,7 @@
|
|
|
661
662
|
isa = XCBuildConfiguration;
|
|
662
663
|
baseConfigurationReference = 0295D432D8B9320FECFD2EF0 /* Pods-FireworkVideoUI.release.xcconfig */;
|
|
663
664
|
buildSettings = {
|
|
665
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
664
666
|
CODE_SIGN_STYLE = Automatic;
|
|
665
667
|
CURRENT_PROJECT_VERSION = 1;
|
|
666
668
|
DEFINES_MODULE = YES;
|
|
@@ -694,7 +696,7 @@
|
|
|
694
696
|
isa = XCBuildConfiguration;
|
|
695
697
|
baseConfigurationReference = 0526674B3FA99B5D289F8B04 /* Pods-FireworkVideoUI-FireworkVideoUITests.debug.xcconfig */;
|
|
696
698
|
buildSettings = {
|
|
697
|
-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES =
|
|
699
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
698
700
|
CODE_SIGN_STYLE = Automatic;
|
|
699
701
|
CURRENT_PROJECT_VERSION = 1;
|
|
700
702
|
DEVELOPMENT_TEAM = Z24TE4EN73;
|
|
@@ -713,7 +715,7 @@
|
|
|
713
715
|
isa = XCBuildConfiguration;
|
|
714
716
|
baseConfigurationReference = 9CB1172B21699595C412032C /* Pods-FireworkVideoUI-FireworkVideoUITests.release.xcconfig */;
|
|
715
717
|
buildSettings = {
|
|
716
|
-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES =
|
|
718
|
+
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = "$(inherited)";
|
|
717
719
|
CODE_SIGN_STYLE = Automatic;
|
|
718
720
|
CURRENT_PROJECT_VERSION = 1;
|
|
719
721
|
DEVELOPMENT_TEAM = Z24TE4EN73;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# Uncomment the next line to define a global platform for your project
|
|
2
|
-
|
|
2
|
+
platform :ios, '12.1'
|
|
3
3
|
|
|
4
4
|
target 'FireworkVideoUI' do
|
|
5
5
|
# Comment the next line if you don't want to use dynamic frameworks
|
|
6
|
-
|
|
6
|
+
use_frameworks!
|
|
7
7
|
|
|
8
8
|
# Pods for FireworkVideoUI
|
|
9
9
|
pod 'FireworkVideo', '1.9.0'
|
|
@@ -28,8 +28,8 @@ extension VideoPlaybackDetails {
|
|
|
28
28
|
[
|
|
29
29
|
"videoId": videoID,
|
|
30
30
|
"duration": duration,
|
|
31
|
-
"caption": caption,
|
|
32
|
-
"badge": badge,
|
|
31
|
+
"caption": caption ?? "",
|
|
32
|
+
"badge": badge ?? "",
|
|
33
33
|
"playerSize": [
|
|
34
34
|
"width": playerSize.width,
|
|
35
35
|
"height": playerSize.height
|
|
@@ -92,6 +92,10 @@ extension FeedEventDetails {
|
|
|
92
92
|
sourceStr = "dynamicContent"
|
|
93
93
|
result["channel"] = channelID
|
|
94
94
|
result["dynamicContentParameters"] = parameters
|
|
95
|
+
case .hashtagPlaylist(let channelID, let hashtagFilterExpression):
|
|
96
|
+
sourceStr = "hashtagPlaylist"
|
|
97
|
+
result["channel"] = channelID
|
|
98
|
+
result["hashtagFilterExpression"] = hashtagFilterExpression
|
|
95
99
|
default:
|
|
96
100
|
break
|
|
97
101
|
}
|
|
@@ -44,4 +44,12 @@ export default interface FeedItemDetails {
|
|
|
44
44
|
dynamicContentParameters?: {
|
|
45
45
|
[key: string]: string[];
|
|
46
46
|
} | null;
|
|
47
|
+
/**
|
|
48
|
+
* Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
|
|
49
|
+
* Queries are specified with boolean predicates on what hashtags are there on the video.
|
|
50
|
+
* For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
|
|
51
|
+
* Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
|
|
52
|
+
* Only supported on iOS.
|
|
53
|
+
*/
|
|
54
|
+
hashtagFilterExpression?: string;
|
|
47
55
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-firework-sdk",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.1",
|
|
4
4
|
"description": "Firework React Native SDK",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"!**/__tests__",
|
|
24
24
|
"!**/__fixtures__",
|
|
25
25
|
"!**/__mocks__",
|
|
26
|
-
"!docs/"
|
|
26
|
+
"!docs/",
|
|
27
|
+
"!README_PUBLIC_REPO.md"
|
|
27
28
|
],
|
|
28
29
|
"scripts": {
|
|
29
30
|
"test": "jest",
|
|
@@ -43,4 +43,12 @@ export default interface FeedItemDetails {
|
|
|
43
43
|
* The dynamic content parameters of the feed. The property has value when the source is dynamicContent.
|
|
44
44
|
*/
|
|
45
45
|
dynamicContentParameters?: { [key: string]: string[] } | null;
|
|
46
|
+
/**
|
|
47
|
+
* Hashtag filter expression is an s-expression used to provide feeds filtered by hashtags with specified criteria.
|
|
48
|
+
* Queries are specified with boolean predicates on what hashtags are there on the video.
|
|
49
|
+
* For instance, (and sport food) (or sport food) (and sport (or food comedy)) sport are all valid expressions.
|
|
50
|
+
* Non-UTF-8 characters are not allowed. If using boolean predicates, the expression needs to be wrapped with parenthesis.
|
|
51
|
+
* Only supported on iOS.
|
|
52
|
+
*/
|
|
53
|
+
hashtagFilterExpression?: string;
|
|
46
54
|
}
|