react-native-firework-sdk 2.6.0-beta.1 → 2.6.0
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/android/gradle.properties +1 -1
- package/android/proguard-rules.pro +4 -0
- package/android/src/main/java/com/fireworksdk/bridge/components/videofeed/FWVideoFeed.kt +3 -3
- package/ios/FireworkVideoUI/FireworkVideoUI/Sources/AppLanguage/AppLanguageManager.swift +2 -2
- package/package.json +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/FireworkVideoUI.xcframework/ios-arm64_x86_64-simulator/FireworkVideoUI.framework/Info.plist
CHANGED
|
Binary file
|
|
@@ -19,7 +19,7 @@ class FWVideoFeed(
|
|
|
19
19
|
|
|
20
20
|
val videoFeedView = FwVideoFeedView(context)
|
|
21
21
|
var videoFeedPropsModel: FWVideoFeedPropsModel = FWVideoFeedPropsModel()
|
|
22
|
-
private var
|
|
22
|
+
private var isInit = false
|
|
23
23
|
|
|
24
24
|
init {
|
|
25
25
|
FWLanguageUtil.getInstance(context).updateBaseContextLocale(context)
|
|
@@ -34,12 +34,12 @@ class FWVideoFeed(
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
fun initVideoFeedView() {
|
|
37
|
-
if (
|
|
37
|
+
if (isInit) {
|
|
38
38
|
return
|
|
39
39
|
}
|
|
40
40
|
val viewOptionsBuilder = FWConfigUtil.generateViewOptionsBuilder(context, videoFeedPropsModel)
|
|
41
41
|
videoFeedView.init(viewOptionsBuilder.build())
|
|
42
|
-
|
|
42
|
+
isInit = true
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
fun refresh() {
|
|
@@ -69,7 +69,7 @@ public class AppLanguageManager {
|
|
|
69
69
|
return .unsupported
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
|
|
72
|
+
|
|
73
73
|
var systemLanguageLayoutDirection: LanguageLayoutDirection? {
|
|
74
74
|
guard let languageCode = systemLanguageCode else {
|
|
75
75
|
return nil
|
|
@@ -90,7 +90,7 @@ public class AppLanguageManager {
|
|
|
90
90
|
systemLanguageLayoutDirection == .ltr {
|
|
91
91
|
return true
|
|
92
92
|
}
|
|
93
|
-
|
|
93
|
+
|
|
94
94
|
if appLanguageLayoutDirection == .ltr,
|
|
95
95
|
systemLanguageLayoutDirection == .rtl {
|
|
96
96
|
return true
|