@byteplus/react-native-live-push 1.5.1-rc.2 → 1.5.1-rc.3

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.
Files changed (53) hide show
  1. package/ios/VeLiveMixerView.m +5 -15
  2. package/lib/commonjs/typescript/codegen/android/api.d.ts +869 -93
  3. package/lib/commonjs/typescript/codegen/android/callback.d.ts +243 -31
  4. package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +60 -15
  5. package/lib/commonjs/typescript/codegen/android/keytype.d.ts +1173 -219
  6. package/lib/commonjs/typescript/codegen/ios/api.d.ts +899 -102
  7. package/lib/commonjs/typescript/codegen/ios/callback.d.ts +162 -28
  8. package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +100 -25
  9. package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +692 -180
  10. package/lib/commonjs/typescript/codegen/pack/api.d.ts +1180 -133
  11. package/lib/commonjs/typescript/codegen/pack/callback.d.ts +243 -35
  12. package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +69 -16
  13. package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +1459 -270
  14. package/lib/commonjs/typescript/core/api.d.ts +8 -1
  15. package/lib/commonjs/typescript/core/effect.d.ts +5 -1
  16. package/lib/commonjs/typescript/core/logger.d.ts +1 -0
  17. package/lib/commonjs/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
  18. package/lib/commonjs/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
  19. package/lib/module/typescript/codegen/android/api.d.ts +869 -93
  20. package/lib/module/typescript/codegen/android/callback.d.ts +243 -31
  21. package/lib/module/typescript/codegen/android/errorcode.d.ts +60 -15
  22. package/lib/module/typescript/codegen/android/keytype.d.ts +1173 -219
  23. package/lib/module/typescript/codegen/ios/api.d.ts +899 -102
  24. package/lib/module/typescript/codegen/ios/callback.d.ts +162 -28
  25. package/lib/module/typescript/codegen/ios/errorcode.d.ts +100 -25
  26. package/lib/module/typescript/codegen/ios/keytype.d.ts +692 -180
  27. package/lib/module/typescript/codegen/pack/api.d.ts +1180 -133
  28. package/lib/module/typescript/codegen/pack/callback.d.ts +243 -35
  29. package/lib/module/typescript/codegen/pack/errorcode.d.ts +69 -16
  30. package/lib/module/typescript/codegen/pack/keytype.d.ts +1459 -270
  31. package/lib/module/typescript/core/api.d.ts +8 -1
  32. package/lib/module/typescript/core/effect.d.ts +5 -1
  33. package/lib/module/typescript/core/logger.d.ts +1 -0
  34. package/lib/module/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
  35. package/lib/module/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
  36. package/lib/typescript/codegen/android/api.d.ts +869 -93
  37. package/lib/typescript/codegen/android/callback.d.ts +243 -31
  38. package/lib/typescript/codegen/android/errorcode.d.ts +60 -15
  39. package/lib/typescript/codegen/android/keytype.d.ts +1173 -219
  40. package/lib/typescript/codegen/ios/api.d.ts +899 -102
  41. package/lib/typescript/codegen/ios/callback.d.ts +162 -28
  42. package/lib/typescript/codegen/ios/errorcode.d.ts +100 -25
  43. package/lib/typescript/codegen/ios/keytype.d.ts +692 -180
  44. package/lib/typescript/codegen/pack/api.d.ts +1180 -133
  45. package/lib/typescript/codegen/pack/callback.d.ts +243 -35
  46. package/lib/typescript/codegen/pack/errorcode.d.ts +69 -16
  47. package/lib/typescript/codegen/pack/keytype.d.ts +1459 -270
  48. package/lib/typescript/core/api.d.ts +8 -1
  49. package/lib/typescript/core/effect.d.ts +5 -1
  50. package/lib/typescript/core/logger.d.ts +1 -0
  51. package/lib/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
  52. package/lib/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
  53. package/package.json +1 -1
@@ -360,7 +360,9 @@
360
360
  - (void)insertReactSubview:(UIView *)subview atIndex:(NSInteger)atIndex {
361
361
  // Process directly on main thread because React Native ensures thread safety
362
362
  [super insertSubview:subview atIndex:atIndex];
363
- [self setSubViewAutoLayout:subview];
363
+ // Don't use Auto Layout, set frame directly in layoutSubviews
364
+ subview.translatesAutoresizingMaskIntoConstraints = YES;
365
+ subview.frame = self.bounds;
364
366
  }
365
367
 
366
368
  - (void)removeReactSubview:(UIView *)subview {
@@ -371,19 +373,7 @@
371
373
  return [self subviews];
372
374
  }
373
375
 
374
- // Set Auto Layout constraints - Ensure subview fills parent view
375
- - (void)setSubViewAutoLayout:(UIView *)subview {
376
- // Disable automatic conversion, use constraints layout
377
- subview.translatesAutoresizingMaskIntoConstraints = NO;
378
-
379
- // Set four-side constraints, let subview fill parent view
380
- [NSLayoutConstraint activateConstraints:@[
381
- [subview.leadingAnchor constraintEqualToAnchor:self.leadingAnchor],
382
- [subview.trailingAnchor constraintEqualToAnchor:self.trailingAnchor],
383
- [subview.topAnchor constraintEqualToAnchor:self.topAnchor],
384
- [subview.bottomAnchor constraintEqualToAnchor:self.bottomAnchor]
385
- ]];
386
- }
376
+ // Removed setSubViewAutoLayout method as Auto Layout is forbidden in new architecture
387
377
 
388
378
  // Override layoutSubviews to ensure correct subview layout
389
379
  - (void)layoutSubviews {
@@ -544,4 +534,4 @@
544
534
  return image;
545
535
  }
546
536
 
547
- @end
537
+ @end