react-native-firework-sdk 2.5.1 → 2.5.3
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 +10 -17
- 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 +10 -17
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json +10 -17
- package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/_CodeSignature/CodeResources +9 -9
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/AppLanguageManager.swift +21 -15
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/Extensions/UIKit/UIView+AppLanguage.swift +9 -1
- 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
|
},
|
|
@@ -1102,49 +1095,49 @@
|
|
|
1102
1095
|
{
|
|
1103
1096
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1104
1097
|
"kind": "IntegerLiteral",
|
|
1105
|
-
"offset":
|
|
1098
|
+
"offset": 223,
|
|
1106
1099
|
"length": 3,
|
|
1107
1100
|
"value": "1"
|
|
1108
1101
|
},
|
|
1109
1102
|
{
|
|
1110
1103
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1111
1104
|
"kind": "IntegerLiteral",
|
|
1112
|
-
"offset":
|
|
1105
|
+
"offset": 228,
|
|
1113
1106
|
"length": 11,
|
|
1114
1107
|
"value": "2"
|
|
1115
1108
|
},
|
|
1116
1109
|
{
|
|
1117
1110
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1118
1111
|
"kind": "IntegerLiteral",
|
|
1119
|
-
"offset":
|
|
1112
|
+
"offset": 223,
|
|
1120
1113
|
"length": 3,
|
|
1121
1114
|
"value": "1"
|
|
1122
1115
|
},
|
|
1123
1116
|
{
|
|
1124
1117
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1125
1118
|
"kind": "IntegerLiteral",
|
|
1126
|
-
"offset":
|
|
1119
|
+
"offset": 228,
|
|
1127
1120
|
"length": 11,
|
|
1128
1121
|
"value": "2"
|
|
1129
1122
|
},
|
|
1130
1123
|
{
|
|
1131
1124
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1132
1125
|
"kind": "IntegerLiteral",
|
|
1133
|
-
"offset":
|
|
1126
|
+
"offset": 223,
|
|
1134
1127
|
"length": 3,
|
|
1135
1128
|
"value": "1"
|
|
1136
1129
|
},
|
|
1137
1130
|
{
|
|
1138
1131
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1139
1132
|
"kind": "IntegerLiteral",
|
|
1140
|
-
"offset":
|
|
1133
|
+
"offset": 228,
|
|
1141
1134
|
"length": 11,
|
|
1142
1135
|
"value": "2"
|
|
1143
1136
|
},
|
|
1144
1137
|
{
|
|
1145
1138
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1146
1139
|
"kind": "StringLiteral",
|
|
1147
|
-
"offset":
|
|
1140
|
+
"offset": 499,
|
|
1148
1141
|
"length": 47,
|
|
1149
1142
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1143
|
},
|
|
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
|
},
|
|
@@ -1102,49 +1095,49 @@
|
|
|
1102
1095
|
{
|
|
1103
1096
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1104
1097
|
"kind": "IntegerLiteral",
|
|
1105
|
-
"offset":
|
|
1098
|
+
"offset": 223,
|
|
1106
1099
|
"length": 3,
|
|
1107
1100
|
"value": "1"
|
|
1108
1101
|
},
|
|
1109
1102
|
{
|
|
1110
1103
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1111
1104
|
"kind": "IntegerLiteral",
|
|
1112
|
-
"offset":
|
|
1105
|
+
"offset": 228,
|
|
1113
1106
|
"length": 11,
|
|
1114
1107
|
"value": "2"
|
|
1115
1108
|
},
|
|
1116
1109
|
{
|
|
1117
1110
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1118
1111
|
"kind": "IntegerLiteral",
|
|
1119
|
-
"offset":
|
|
1112
|
+
"offset": 223,
|
|
1120
1113
|
"length": 3,
|
|
1121
1114
|
"value": "1"
|
|
1122
1115
|
},
|
|
1123
1116
|
{
|
|
1124
1117
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1125
1118
|
"kind": "IntegerLiteral",
|
|
1126
|
-
"offset":
|
|
1119
|
+
"offset": 228,
|
|
1127
1120
|
"length": 11,
|
|
1128
1121
|
"value": "2"
|
|
1129
1122
|
},
|
|
1130
1123
|
{
|
|
1131
1124
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1132
1125
|
"kind": "IntegerLiteral",
|
|
1133
|
-
"offset":
|
|
1126
|
+
"offset": 223,
|
|
1134
1127
|
"length": 3,
|
|
1135
1128
|
"value": "1"
|
|
1136
1129
|
},
|
|
1137
1130
|
{
|
|
1138
1131
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1139
1132
|
"kind": "IntegerLiteral",
|
|
1140
|
-
"offset":
|
|
1133
|
+
"offset": 228,
|
|
1141
1134
|
"length": 11,
|
|
1142
1135
|
"value": "2"
|
|
1143
1136
|
},
|
|
1144
1137
|
{
|
|
1145
1138
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1146
1139
|
"kind": "StringLiteral",
|
|
1147
|
-
"offset":
|
|
1140
|
+
"offset": 499,
|
|
1148
1141
|
"length": 47,
|
|
1149
1142
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1143
|
},
|
|
@@ -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
|
},
|
|
@@ -1102,49 +1095,49 @@
|
|
|
1102
1095
|
{
|
|
1103
1096
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1104
1097
|
"kind": "IntegerLiteral",
|
|
1105
|
-
"offset":
|
|
1098
|
+
"offset": 223,
|
|
1106
1099
|
"length": 3,
|
|
1107
1100
|
"value": "1"
|
|
1108
1101
|
},
|
|
1109
1102
|
{
|
|
1110
1103
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1111
1104
|
"kind": "IntegerLiteral",
|
|
1112
|
-
"offset":
|
|
1105
|
+
"offset": 228,
|
|
1113
1106
|
"length": 11,
|
|
1114
1107
|
"value": "2"
|
|
1115
1108
|
},
|
|
1116
1109
|
{
|
|
1117
1110
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1118
1111
|
"kind": "IntegerLiteral",
|
|
1119
|
-
"offset":
|
|
1112
|
+
"offset": 223,
|
|
1120
1113
|
"length": 3,
|
|
1121
1114
|
"value": "1"
|
|
1122
1115
|
},
|
|
1123
1116
|
{
|
|
1124
1117
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1125
1118
|
"kind": "IntegerLiteral",
|
|
1126
|
-
"offset":
|
|
1119
|
+
"offset": 228,
|
|
1127
1120
|
"length": 11,
|
|
1128
1121
|
"value": "2"
|
|
1129
1122
|
},
|
|
1130
1123
|
{
|
|
1131
1124
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1132
1125
|
"kind": "IntegerLiteral",
|
|
1133
|
-
"offset":
|
|
1126
|
+
"offset": 223,
|
|
1134
1127
|
"length": 3,
|
|
1135
1128
|
"value": "1"
|
|
1136
1129
|
},
|
|
1137
1130
|
{
|
|
1138
1131
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1139
1132
|
"kind": "IntegerLiteral",
|
|
1140
|
-
"offset":
|
|
1133
|
+
"offset": 228,
|
|
1141
1134
|
"length": 11,
|
|
1142
1135
|
"value": "2"
|
|
1143
1136
|
},
|
|
1144
1137
|
{
|
|
1145
1138
|
"filePath": "\/Users\/runner\/work\/bogano\/bogano\/ios\/FireworkVideoUI\/FireworkVideoUI\/Sources\/AppLanguage\/AppLanguageManager.swift",
|
|
1146
1139
|
"kind": "StringLiteral",
|
|
1147
|
-
"offset":
|
|
1140
|
+
"offset": 499,
|
|
1148
1141
|
"length": 47,
|
|
1149
1142
|
"value": "\"firework.notification.name.appLanguageChanged\""
|
|
1150
1143
|
},
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
</data>
|
|
15
15
|
<key>Info.plist</key>
|
|
16
16
|
<data>
|
|
17
|
-
|
|
17
|
+
m85VoHlIV8I+sJSOuNZyZSM9IBY=
|
|
18
18
|
</data>
|
|
19
19
|
<key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
|
|
20
20
|
<data>
|
|
21
|
-
|
|
21
|
+
JD+JGaE1pyP/erK3A8uz3Z7svAw=
|
|
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
|
+
F2Umii8apCaLMJVyMWQgIUzpn1E=
|
|
38
38
|
</data>
|
|
39
39
|
<key>Modules/FireworkVideoUI.swiftmodule/x86_64-apple-ios-simulator.abi.json</key>
|
|
40
40
|
<data>
|
|
41
|
-
|
|
41
|
+
JD+JGaE1pyP/erK3A8uz3Z7svAw=
|
|
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
|
+
sx659FYeam5PK2jbM7Y1WGtkf6o=
|
|
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
|
+
oCsc58odDNLMVdMzw7mJXy5H9hjzH0Q+nIMvCe+bXmo=
|
|
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
|
+
Vu9VotUZ3qa07wHJJHfcF7zHGfazMs4gqsPKw71trU8=
|
|
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
|
+
oCsc58odDNLMVdMzw7mJXy5H9hjzH0Q+nIMvCe+bXmo=
|
|
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
|
+
PLzWyLq9D4PE/sfLnT90BiC90QSacxTwX6PxCpMT0Tg=
|
|
148
148
|
</data>
|
|
149
149
|
</dict>
|
|
150
150
|
<key>Modules/module.modulemap</key>
|
|
@@ -8,7 +8,7 @@ import UIKit
|
|
|
8
8
|
|
|
9
9
|
private let appLanguageStorageKey = "firework_sdk_app_language_storage_key"
|
|
10
10
|
|
|
11
|
-
enum
|
|
11
|
+
enum LanguageLayoutDirection: Int {
|
|
12
12
|
case ltr, rtl, unsupported
|
|
13
13
|
}
|
|
14
14
|
|
|
@@ -55,7 +55,7 @@ public class AppLanguageManager {
|
|
|
55
55
|
return LanguageUtil.getLanguageCode(language)
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
var appLanguageLayoutDirection:
|
|
58
|
+
var appLanguageLayoutDirection: LanguageLayoutDirection? {
|
|
59
59
|
guard let languageCode = appLanguageCode else {
|
|
60
60
|
return nil
|
|
61
61
|
}
|
|
@@ -69,24 +69,30 @@ public class AppLanguageManager {
|
|
|
69
69
|
return .unsupported
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
|
|
73
|
-
var
|
|
74
|
-
guard let
|
|
75
|
-
return
|
|
72
|
+
|
|
73
|
+
var systemLanguageLayoutDirection: LanguageLayoutDirection? {
|
|
74
|
+
guard let languageCode = systemLanguageCode else {
|
|
75
|
+
return nil
|
|
76
76
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
let direction = Locale.characterDirection(forLanguage: languageCode)
|
|
78
|
+
switch direction {
|
|
79
|
+
case .leftToRight:
|
|
80
|
+
return .ltr
|
|
81
|
+
case .rightToLeft:
|
|
82
|
+
return .rtl
|
|
83
|
+
default:
|
|
84
|
+
return .unsupported
|
|
80
85
|
}
|
|
86
|
+
}
|
|
81
87
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
if appLanguageDirection == .leftToRight, systemLanguageDirection == .rightToLeft {
|
|
88
|
+
var shouldHorizontalFlip: Bool {
|
|
89
|
+
if appLanguageLayoutDirection == .rtl,
|
|
90
|
+
systemLanguageLayoutDirection == .ltr {
|
|
86
91
|
return true
|
|
87
92
|
}
|
|
88
|
-
|
|
89
|
-
if
|
|
93
|
+
|
|
94
|
+
if appLanguageLayoutDirection == .ltr,
|
|
95
|
+
systemLanguageLayoutDirection == .rtl {
|
|
90
96
|
return true
|
|
91
97
|
}
|
|
92
98
|
|
|
@@ -41,7 +41,15 @@ extension UIView {
|
|
|
41
41
|
|
|
42
42
|
@objc func fw_semanticContentAttribute() -> UISemanticContentAttribute {
|
|
43
43
|
if self.isIOSSDKView, AppLanguageManager.shared.shouldHorizontalFlip {
|
|
44
|
-
|
|
44
|
+
let systemLanguageLayoutDirection = AppLanguageManager.shared.systemLanguageLayoutDirection ?? .unsupported
|
|
45
|
+
switch systemLanguageLayoutDirection {
|
|
46
|
+
case .ltr:
|
|
47
|
+
return .forceLeftToRight
|
|
48
|
+
case .rtl:
|
|
49
|
+
return .forceRightToLeft
|
|
50
|
+
case .unsupported:
|
|
51
|
+
return fw_semanticContentAttribute()
|
|
52
|
+
}
|
|
45
53
|
}
|
|
46
54
|
|
|
47
55
|
return fw_semanticContentAttribute()
|
|
@@ -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
|