react-native-firework-sdk 1.5.4-beta.3 → 1.5.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.
@@ -167,7 +167,7 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
167
167
 
168
168
  dependencies {
169
169
 
170
- def firework_sdk_version = 'release~51410_official_release-SNAPSHOT'
170
+ def firework_sdk_version = 'v5.14.10'
171
171
  implementation "com.github.loopsocial:firework_sdk:$firework_sdk_version"
172
172
 
173
173
  // noinspection GradleDynamicVersion
@@ -201,10 +201,8 @@ public class VideoFeed: UIView, VideoFeedViewControllerDelegate {
201
201
  viewConfiguration.itemView.autoplay.isEnabled = false
202
202
  feedVC.viewConfiguration = viewConfiguration
203
203
  DispatchQueue.main.async {
204
- if feedVC.viewConfiguration == viewConfiguration {
205
- viewConfiguration.itemView.autoplay.isEnabled = true
206
- feedVC.viewConfiguration = viewConfiguration
207
- }
204
+ viewConfiguration.itemView.autoplay.isEnabled = true
205
+ feedVC.viewConfiguration = viewConfiguration
208
206
  }
209
207
  } else {
210
208
  feedVC.viewConfiguration = viewConfiguration
@@ -127,7 +127,7 @@ class FWNavigatorModule: RCTEventEmitter, FWNavigator {
127
127
  NotificationCenter.default.post(name: gOnVideoTemporarilyReleasePipController, object: nil)
128
128
  FWNavigatorUtils.shared.shouldDisablePlay = true
129
129
  presentedVC.dismiss(animated: false) {
130
- DispatchQueue.main.async {
130
+ DispatchQueue.main.asyncAfter(wallDeadline: .now() + 0.1) {
131
131
  presentingVC.dismiss(animated: true) {
132
132
  NotificationCenter.default.post(name: gOnVideoRestorePipController, object: nil)
133
133
  resolver(true)
@@ -3,7 +3,6 @@
3
3
  // FireworkSdk
4
4
  //
5
5
  // Created by linjie jiang on 2023/1/10.
6
- // Copyright © 2023 Facebook. All rights reserved.
7
6
  //
8
7
 
9
8
 
@@ -3,7 +3,6 @@
3
3
  // FireworkSdk
4
4
  //
5
5
  // Created by linjie jiang on 2023/1/10.
6
- // Copyright © 2023 Facebook. All rights reserved.
7
6
  //
8
7
 
9
8
  #import "AVPlayer+FWSwizzle.h"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-firework-sdk",
3
- "version": "1.5.4-beta.3",
3
+ "version": "1.5.4",
4
4
  "description": "Firework React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",