react-native-firework-sdk 1.5.2 → 1.5.3-beta.1

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.
@@ -186,6 +186,17 @@ public class VideoFeed: UIView, VideoFeedViewControllerDelegate {
186
186
  return
187
187
  }
188
188
 
189
+ if let subView = feedVC.view.subviews.first {
190
+ let constraints = feedVC.view.constraints
191
+ for constraint in constraints {
192
+ if (constraint.firstItem as? NSObject) == subView || (constraint.secondItem as? NSObject) == subView {
193
+ constraint.isActive = false
194
+ }
195
+ }
196
+ NSLayoutConstraint.activate(subView.constraints(equalTo: feedVC.view))
197
+
198
+ }
199
+
189
200
  var viewConfiguration = convertToVideoFeedContentConfiguration()
190
201
  if viewConfiguration.itemView.autoplay.isEnabled {
191
202
  viewConfiguration.itemView.autoplay.isEnabled = false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-firework-sdk",
3
- "version": "1.5.2",
3
+ "version": "1.5.3-beta.1",
4
4
  "description": "Firework React Native SDK",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",