react-native-firework-sdk 2.2.2 → 2.2.4

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.
@@ -14,7 +14,7 @@
14
14
  </data>
15
15
  <key>Info.plist</key>
16
16
  <data>
17
- FjmGHtCBbsYy0OD5sH8c2cL+UO4=
17
+ 9WgvClY2mYHKvTCGLV3Nk54g82o=
18
18
  </data>
19
19
  <key>Modules/FireworkVideoUI.swiftmodule/arm64-apple-ios-simulator.abi.json</key>
20
20
  <data>
@@ -38,9 +38,11 @@ extension UIViewController {
38
38
 
39
39
  @objc func fw_viewDidLoad() {
40
40
  fw_viewDidLoad()
41
- if self is StoryBlockViewController
42
- || self is VideoFeedViewController {
43
- self.view.viewType = .flip
41
+ if AppLanguageManager.shared.shouldHorizontalFlip {
42
+ if self is StoryBlockViewController
43
+ || self is VideoFeedViewController {
44
+ self.view.viewType = .flip
45
+ }
44
46
  }
45
47
  }
46
48
  }
@@ -9,6 +9,6 @@
9
9
 
10
10
  @interface RCT_EXTERN_REMAP_MODULE(LiveStreamModule, LiveStreamModule, NSObject)
11
11
 
12
- _RCT_EXTERN_REMAP_METHOD(init, initialize, NO)
12
+ _RCT_EXTERN_REMAP_METHOD(init, initializeSDK, NO)
13
13
 
14
14
  @end
@@ -24,7 +24,7 @@ class LiveStreamModule: RCTEventEmitter, FireworkLiveStreamEventDelegate {
24
24
  }
25
25
 
26
26
  @objc
27
- func initialize() {
27
+ func initializeSDK() {
28
28
  FireworkVideoSDK.eventTracking.liveStreamEventDelegate = self
29
29
  }
30
30
 
@@ -9,7 +9,7 @@
9
9
 
10
10
  @interface RCT_EXTERN_REMAP_MODULE(ShoppingModule, ShoppingModule, NSObject)
11
11
 
12
- _RCT_EXTERN_REMAP_METHOD(init, initialize, NO)
12
+ _RCT_EXTERN_REMAP_METHOD(init, initializeSDK, NO)
13
13
  RCT_EXTERN_METHOD(setCartIconVisible:(BOOL)visible)
14
14
  RCT_EXTERN_METHOD(setCartItemCount:(int)itemCounts)
15
15
  RCT_EXTERN_METHOD(updateVideoProducts:(NSArray *)products cbId:(nonnull NSNumber *)cbId)
@@ -48,7 +48,7 @@ class ShoppingModule: RCTEventEmitter, FireworkVideoShoppingDelegate, CartViewCo
48
48
  }
49
49
 
50
50
  @objc
51
- func initialize() {
51
+ func initializeSDK() {
52
52
  FireworkVideoSDK.shopping.shoppingDelegate = self
53
53
  FireworkVideoSDK.shopping.cartViewControllerProvider = self
54
54
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-firework-sdk",
3
- "version": "2.2.2",
3
+ "version": "2.2.4",
4
4
  "description": "Firework React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",