react-native-firework-sdk 1.10.0 → 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 +1 -1
- package/ios/Models/NativeToRN/FireworkSDK+Json.swift +6 -2
- package/lib/typescript/models/FeedItemDetails.d.ts +8 -0
- package/package.json +1 -1
- 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
|
|
@@ -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
|
@@ -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
|
}
|