react-native-firework-sdk 2.5.1 → 2.5.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/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 +3 -10
- 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 +3 -10
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +3 -10
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +9 -9
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/UIKit/CALayer+LayoutFlip.swift +6 -24
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/LayoutFlip/Extensions/UIKit/UIView+LayoutFlip.swift +3 -0
- 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_x86_64-simulator</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>
|
|
15
16
|
</array>
|
|
16
17
|
<key>SupportedPlatform</key>
|
|
17
18
|
<string>ios</string>
|
|
19
|
+
<key>SupportedPlatformVariant</key>
|
|
20
|
+
<string>simulator</string>
|
|
18
21
|
</dict>
|
|
19
22
|
<dict>
|
|
20
23
|
<key>LibraryIdentifier</key>
|
|
21
|
-
<string>ios-
|
|
24
|
+
<string>ios-arm64</string>
|
|
22
25
|
<key>LibraryPath</key>
|
|
23
26
|
<string>FireworkVideoUI.framework</string>
|
|
24
27
|
<key>SupportedArchitectures</key>
|
|
25
28
|
<array>
|
|
26
29
|
<string>arm64</string>
|
|
27
|
-
<string>x86_64</string>
|
|
28
30
|
</array>
|
|
29
31
|
<key>SupportedPlatform</key>
|
|
30
32
|
<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
|
|
@@ -1029,31 +1029,24 @@
|
|
|
1029
1029
|
"length": 5,
|
|
1030
1030
|
"value": "false"
|
|
1031
1031
|
},
|
|
1032
|
-
{
|
|
1033
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1034
|
-
"kind": "BooleanLiteral",
|
|
1035
|
-
"offset": 133,
|
|
1036
|
-
"length": 5,
|
|
1037
|
-
"value": "false"
|
|
1038
|
-
},
|
|
1039
1032
|
{
|
|
1040
1033
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1041
1034
|
"kind": "StringLiteral",
|
|
1042
|
-
"offset":
|
|
1035
|
+
"offset": 185,
|
|
1043
1036
|
"length": 16,
|
|
1044
1037
|
"value": "\"basicTransform\""
|
|
1045
1038
|
},
|
|
1046
1039
|
{
|
|
1047
1040
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1048
1041
|
"kind": "StringLiteral",
|
|
1049
|
-
"offset":
|
|
1042
|
+
"offset": 242,
|
|
1050
1043
|
"length": 20,
|
|
1051
1044
|
"value": "\"isRenderStartLayer\""
|
|
1052
1045
|
},
|
|
1053
1046
|
{
|
|
1054
1047
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1055
1048
|
"kind": "StringLiteral",
|
|
1056
|
-
"offset":
|
|
1049
|
+
"offset": 300,
|
|
1057
1050
|
"length": 17,
|
|
1058
1051
|
"value": "\"affineTransform\""
|
|
1059
1052
|
},
|
|
Binary file
|
package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -1029,31 +1029,24 @@
|
|
|
1029
1029
|
"length": 5,
|
|
1030
1030
|
"value": "false"
|
|
1031
1031
|
},
|
|
1032
|
-
{
|
|
1033
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1034
|
-
"kind": "BooleanLiteral",
|
|
1035
|
-
"offset": 133,
|
|
1036
|
-
"length": 5,
|
|
1037
|
-
"value": "false"
|
|
1038
|
-
},
|
|
1039
1032
|
{
|
|
1040
1033
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1041
1034
|
"kind": "StringLiteral",
|
|
1042
|
-
"offset":
|
|
1035
|
+
"offset": 185,
|
|
1043
1036
|
"length": 16,
|
|
1044
1037
|
"value": "\"basicTransform\""
|
|
1045
1038
|
},
|
|
1046
1039
|
{
|
|
1047
1040
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1048
1041
|
"kind": "StringLiteral",
|
|
1049
|
-
"offset":
|
|
1042
|
+
"offset": 242,
|
|
1050
1043
|
"length": 20,
|
|
1051
1044
|
"value": "\"isRenderStartLayer\""
|
|
1052
1045
|
},
|
|
1053
1046
|
{
|
|
1054
1047
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1055
1048
|
"kind": "StringLiteral",
|
|
1056
|
-
"offset":
|
|
1049
|
+
"offset": 300,
|
|
1057
1050
|
"length": 17,
|
|
1058
1051
|
"value": "\"affineTransform\""
|
|
1059
1052
|
},
|
|
@@ -1029,31 +1029,24 @@
|
|
|
1029
1029
|
"length": 5,
|
|
1030
1030
|
"value": "false"
|
|
1031
1031
|
},
|
|
1032
|
-
{
|
|
1033
|
-
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1034
|
-
"kind": "BooleanLiteral",
|
|
1035
|
-
"offset": 133,
|
|
1036
|
-
"length": 5,
|
|
1037
|
-
"value": "false"
|
|
1038
|
-
},
|
|
1039
1032
|
{
|
|
1040
1033
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1041
1034
|
"kind": "StringLiteral",
|
|
1042
|
-
"offset":
|
|
1035
|
+
"offset": 185,
|
|
1043
1036
|
"length": 16,
|
|
1044
1037
|
"value": "\"basicTransform\""
|
|
1045
1038
|
},
|
|
1046
1039
|
{
|
|
1047
1040
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1048
1041
|
"kind": "StringLiteral",
|
|
1049
|
-
"offset":
|
|
1042
|
+
"offset": 242,
|
|
1050
1043
|
"length": 20,
|
|
1051
1044
|
"value": "\"isRenderStartLayer\""
|
|
1052
1045
|
},
|
|
1053
1046
|
{
|
|
1054
1047
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/LayoutFlip\/Extensions\/UIKit\/CALayer+LayoutFlip.swift",
|
|
1055
1048
|
"kind": "StringLiteral",
|
|
1056
|
-
"offset":
|
|
1049
|
+
"offset": 300,
|
|
1057
1050
|
"length": 17,
|
|
1058
1051
|
"value": "\"affineTransform\""
|
|
1059
1052
|
},
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
UU+onRShcQMw1uXCaopuTpxkDbM=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
roVrA+zBhViTn1+musiH9YtZN4g=
|
|
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
|
+
8nUapBbTxrEctwHv8MiF5EjVMBM=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
roVrA+zBhViTn1+musiH9YtZN4g=
|
|
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
|
+
lAZN1MHaVzad24oIUuAL665Ve/c=
|
|
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
|
+
zLmAM9IPyMwInxOl0os0ke7UNYdLFUljxP3ZpE5nvv0=
|
|
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
|
+
HpN79cN877uO6s4DyXGEgNjLGLruwBVaXP2k3kk7b6E=
|
|
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
|
+
zLmAM9IPyMwInxOl0os0ke7UNYdLFUljxP3ZpE5nvv0=
|
|
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
|
+
mDMN+Ylv+JqpZt1BRxltE+4ueOU3vJBg+X3hZ3UxVFo=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/module.modulemap</key>
|
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
import UIKit
|
|
8
8
|
|
|
9
|
-
private var gHasEnabledHorizontalFlip = false
|
|
10
|
-
|
|
11
9
|
extension CALayer {
|
|
12
10
|
private struct AssociatedKeys {
|
|
13
11
|
static var basicTransform = "basicTransform"
|
|
@@ -42,11 +40,6 @@ extension CALayer {
|
|
|
42
40
|
}
|
|
43
41
|
|
|
44
42
|
set {
|
|
45
|
-
if objc_getAssociatedObject(self, &AssociatedKeys.basicTransform) == nil,
|
|
46
|
-
CGAffineTransformIsIdentity(newValue) {
|
|
47
|
-
return
|
|
48
|
-
}
|
|
49
|
-
|
|
50
43
|
objc_setAssociatedObject(
|
|
51
44
|
self,
|
|
52
45
|
&AssociatedKeys.basicTransform,
|
|
@@ -66,7 +59,7 @@ extension CALayer {
|
|
|
66
59
|
set {
|
|
67
60
|
objc_setAssociatedObject(
|
|
68
61
|
self,
|
|
69
|
-
&AssociatedKeys.
|
|
62
|
+
&AssociatedKeys.isRenderStartLayer,
|
|
70
63
|
newValue,
|
|
71
64
|
.OBJC_ASSOCIATION_RETAIN_NONATOMIC
|
|
72
65
|
)
|
|
@@ -74,11 +67,7 @@ extension CALayer {
|
|
|
74
67
|
}
|
|
75
68
|
|
|
76
69
|
@objc func fw_setAffineTransform(_ affineTransform: CGAffineTransform) {
|
|
77
|
-
if
|
|
78
|
-
gHasEnabledHorizontalFlip = true
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
if gHasEnabledHorizontalFlip {
|
|
70
|
+
if objc_getAssociatedObject(self, &AssociatedKeys.basicTransform) != nil {
|
|
82
71
|
objc_setAssociatedObject(
|
|
83
72
|
self,
|
|
84
73
|
&AssociatedKeys.affineTransform,
|
|
@@ -92,11 +81,7 @@ extension CALayer {
|
|
|
92
81
|
}
|
|
93
82
|
|
|
94
83
|
@objc func fw_affineTransform() -> CGAffineTransform {
|
|
95
|
-
if
|
|
96
|
-
gHasEnabledHorizontalFlip = true
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
if gHasEnabledHorizontalFlip {
|
|
84
|
+
if objc_getAssociatedObject(self, &AssociatedKeys.basicTransform) != nil {
|
|
100
85
|
if let value = objc_getAssociatedObject(self, &AssociatedKeys.affineTransform) as? NSValue {
|
|
101
86
|
return value.cgAffineTransformValue
|
|
102
87
|
}
|
|
@@ -107,7 +92,8 @@ extension CALayer {
|
|
|
107
92
|
}
|
|
108
93
|
|
|
109
94
|
@objc func fw_add(_ anim: CAAnimation, forKey key: String?) {
|
|
110
|
-
if
|
|
95
|
+
if objc_getAssociatedObject(self, &AssociatedKeys.basicTransform) != nil,
|
|
96
|
+
let basicAnim = anim as? CABasicAnimation,
|
|
111
97
|
let keyPath = basicAnim.keyPath,
|
|
112
98
|
keyPath.starts(with: "transform.scale"),
|
|
113
99
|
self.basicTransform.a == -1,
|
|
@@ -121,11 +107,7 @@ extension CALayer {
|
|
|
121
107
|
}
|
|
122
108
|
|
|
123
109
|
@objc func fw_render(in ctx: CGContext) {
|
|
124
|
-
if
|
|
125
|
-
gHasEnabledHorizontalFlip = true
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
if gHasEnabledHorizontalFlip {
|
|
110
|
+
if objc_getAssociatedObject(self, &AssociatedKeys.basicTransform) != nil {
|
|
129
111
|
var isRenderStartLayer = true
|
|
130
112
|
var allSuperLayerTransform = basicTransform
|
|
131
113
|
var layer = self
|
|
@@ -138,6 +138,9 @@ extension UIView {
|
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
func renewLayerTransformForceRecursively(_ forceRecursively: Bool) {
|
|
141
|
+
if !isIOSSDKView {
|
|
142
|
+
return
|
|
143
|
+
}
|
|
141
144
|
updateCalculatedViewType()
|
|
142
145
|
let updatedViewType = calculatedViewType
|
|
143
146
|
let superViewCalculatedViewType = superview?.calculatedViewType ?? .auto
|