react-native-firework-sdk 2.4.2-beta.3 → 2.4.3-beta.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/Info.plist +5 -5
- 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/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios.abi.json +7 -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/Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json +7 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +7 -0
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +9 -9
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/Foundation/URLSession+AppLanguage.swift +18 -1
- package/package.json +1 -1
|
@@ -6,30 +6,30 @@
|
|
|
6
6
|
<array>
|
|
7
7
|
<dict>
|
|
8
8
|
<key>LibraryIdentifier</key>
|
|
9
|
-
<string>ios-
|
|
9
|
+
<string>ios-arm64</string>
|
|
10
10
|
<key>LibraryPath</key>
|
|
11
11
|
<string>FireworkVideoUI.framework</string>
|
|
12
12
|
<key>SupportedArchitectures</key>
|
|
13
13
|
<array>
|
|
14
14
|
<string>arm64</string>
|
|
15
|
-
<string>x86_64</string>
|
|
16
15
|
</array>
|
|
17
16
|
<key>SupportedPlatform</key>
|
|
18
17
|
<string>ios</string>
|
|
19
|
-
<key>SupportedPlatformVariant</key>
|
|
20
|
-
<string>simulator</string>
|
|
21
18
|
</dict>
|
|
22
19
|
<dict>
|
|
23
20
|
<key>LibraryIdentifier</key>
|
|
24
|
-
<string>ios-
|
|
21
|
+
<string>ios-arm64_x86_64-simulator</string>
|
|
25
22
|
<key>LibraryPath</key>
|
|
26
23
|
<string>FireworkVideoUI.framework</string>
|
|
27
24
|
<key>SupportedArchitectures</key>
|
|
28
25
|
<array>
|
|
29
26
|
<string>arm64</string>
|
|
27
|
+
<string>x86_64</string>
|
|
30
28
|
</array>
|
|
31
29
|
<key>SupportedPlatform</key>
|
|
32
30
|
<string>ios</string>
|
|
31
|
+
<key>SupportedPlatformVariant</key>
|
|
32
|
+
<string>simulator</string>
|
|
33
33
|
</dict>
|
|
34
34
|
</array>
|
|
35
35
|
<key>CFBundlePackageType</key>
|
|
Binary file
|
|
Binary file
|
|
@@ -1015,6 +1015,13 @@
|
|
|
1015
1015
|
"json_format_version": 8
|
|
1016
1016
|
},
|
|
1017
1017
|
"ConstValues": [
|
|
1018
|
+
{
|
|
1019
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/Foundation\/URLSession+AppLanguage.swift",
|
|
1020
|
+
"kind": "Array",
|
|
1021
|
+
"offset": 141,
|
|
1022
|
+
"length": 47,
|
|
1023
|
+
"value": "[\"api.firework.tv\", \"p2.fwpixel.com\"]"
|
|
1024
|
+
},
|
|
1018
1025
|
{
|
|
1019
1026
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/LayoutFlipManager.swift",
|
|
1020
1027
|
"kind": "BooleanLiteral",
|
|
Binary file
|
package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -1015,6 +1015,13 @@
|
|
|
1015
1015
|
"json_format_version": 8
|
|
1016
1016
|
},
|
|
1017
1017
|
"ConstValues": [
|
|
1018
|
+
{
|
|
1019
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/Foundation\/URLSession+AppLanguage.swift",
|
|
1020
|
+
"kind": "Array",
|
|
1021
|
+
"offset": 141,
|
|
1022
|
+
"length": 47,
|
|
1023
|
+
"value": "[\"api.firework.tv\", \"p2.fwpixel.com\"]"
|
|
1024
|
+
},
|
|
1018
1025
|
{
|
|
1019
1026
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/LayoutFlipManager.swift",
|
|
1020
1027
|
"kind": "BooleanLiteral",
|
|
@@ -1015,6 +1015,13 @@
|
|
|
1015
1015
|
"json_format_version": 8
|
|
1016
1016
|
},
|
|
1017
1017
|
"ConstValues": [
|
|
1018
|
+
{
|
|
1019
|
+
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/Extensions\/Foundation\/URLSession+AppLanguage.swift",
|
|
1020
|
+
"kind": "Array",
|
|
1021
|
+
"offset": 141,
|
|
1022
|
+
"length": 47,
|
|
1023
|
+
"value": "[\"api.firework.tv\", \"p2.fwpixel.com\"]"
|
|
1024
|
+
},
|
|
1018
1025
|
{
|
|
1019
1026
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/LayoutFlipManager.swift",
|
|
1020
1027
|
"kind": "BooleanLiteral",
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
XL07IR4hzHxfQiVKm9lt+b3F7WU=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
g9GVkuJdtLc2uItILFJeUxiTpMM=
|
|
22
22
|
</data>
|
|
23
23
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
24
24
|
<data>
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
</data>
|
|
35
35
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.swiftmodule</key>
|
|
36
36
|
<data>
|
|
37
|
-
|
|
37
|
+
lFqxS5KVCNWjc7ibAMM6aflcppE=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
g9GVkuJdtLc2uItILFJeUxiTpMM=
|
|
42
42
|
</data>
|
|
43
43
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
44
44
|
<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
|
+
1wEsVRlvcqB5U8S/z4Bff8/XMaI=
|
|
58
58
|
</data>
|
|
59
59
|
<key>Modules/module.modulemap</key>
|
|
60
60
|
<data>
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
<dict>
|
|
82
82
|
<key>hash2</key>
|
|
83
83
|
<data>
|
|
84
|
-
|
|
84
|
+
7krJHLhUsdInfDkiXFxAZErnl6O0eL31Y0NJL3BOCbo=
|
|
85
85
|
</data>
|
|
86
86
|
</dict>
|
|
87
87
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -109,14 +109,14 @@
|
|
|
109
109
|
<dict>
|
|
110
110
|
<key>hash2</key>
|
|
111
111
|
<data>
|
|
112
|
-
|
|
112
|
+
rP/44xmO/e6Q4HtYnTz1O4jIk7I+V80zXAIY8w6eUyM=
|
|
113
113
|
</data>
|
|
114
114
|
</dict>
|
|
115
115
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
116
116
|
<dict>
|
|
117
117
|
<key>hash2</key>
|
|
118
118
|
<data>
|
|
119
|
-
|
|
119
|
+
7krJHLhUsdInfDkiXFxAZErnl6O0eL31Y0NJL3BOCbo=
|
|
120
120
|
</data>
|
|
121
121
|
</dict>
|
|
122
122
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface</key>
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
<dict>
|
|
145
145
|
<key>hash2</key>
|
|
146
146
|
<data>
|
|
147
|
-
|
|
147
|
+
QyR25r6LDZww7PwN9eajGGEkFfIRPhItvxlhPEXYPjw=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/module.modulemap</key>
|
|
@@ -6,6 +6,11 @@
|
|
|
6
6
|
|
|
7
7
|
import Foundation
|
|
8
8
|
|
|
9
|
+
private var FWHostList: [String] = [
|
|
10
|
+
"api.firework.tv",
|
|
11
|
+
"p2.fwpixel.com"
|
|
12
|
+
]
|
|
13
|
+
|
|
9
14
|
extension URLSession {
|
|
10
15
|
static func swizzleURLSessionMethodsForAppLanguage() {
|
|
11
16
|
// swiftlint:disable:next line_length
|
|
@@ -36,8 +41,20 @@ extension URLSession {
|
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
private func swizzleRequest(_ request: URLRequest) -> URLRequest {
|
|
44
|
+
var host = ""
|
|
45
|
+
#if compiler(>=5.7)
|
|
46
|
+
if #available(iOS 16, *) {
|
|
47
|
+
host = request.url?.host() ?? ""
|
|
48
|
+
} else {
|
|
49
|
+
host = request.url?.host ?? ""
|
|
50
|
+
}
|
|
51
|
+
#else
|
|
52
|
+
host = request.url?.host ?? ""
|
|
53
|
+
#endif
|
|
54
|
+
|
|
39
55
|
if let language = AppLanguageManager.shared.appLanguage,
|
|
40
|
-
let languageCode = AppLanguageManager.shared.appLanguageCode
|
|
56
|
+
let languageCode = AppLanguageManager.shared.appLanguageCode,
|
|
57
|
+
FWHostList.contains(host) {
|
|
41
58
|
var mutableRequest = request
|
|
42
59
|
if language != languageCode {
|
|
43
60
|
mutableRequest.setValue("\(language),\(languageCode);q=0.9", forHTTPHeaderField: "Accept-Language")
|