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.
package/android/build.gradle
CHANGED
|
@@ -167,7 +167,7 @@ def kotlin_version = getExtOrDefault('kotlinVersion')
|
|
|
167
167
|
|
|
168
168
|
dependencies {
|
|
169
169
|
|
|
170
|
-
def firework_sdk_version = '
|
|
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
|
-
|
|
205
|
-
|
|
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.
|
|
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)
|