@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.
- package/ios/VeLiveMixerView.m +5 -15
- package/lib/commonjs/typescript/codegen/android/api.d.ts +869 -93
- package/lib/commonjs/typescript/codegen/android/callback.d.ts +243 -31
- package/lib/commonjs/typescript/codegen/android/errorcode.d.ts +60 -15
- package/lib/commonjs/typescript/codegen/android/keytype.d.ts +1173 -219
- package/lib/commonjs/typescript/codegen/ios/api.d.ts +899 -102
- package/lib/commonjs/typescript/codegen/ios/callback.d.ts +162 -28
- package/lib/commonjs/typescript/codegen/ios/errorcode.d.ts +100 -25
- package/lib/commonjs/typescript/codegen/ios/keytype.d.ts +692 -180
- package/lib/commonjs/typescript/codegen/pack/api.d.ts +1180 -133
- package/lib/commonjs/typescript/codegen/pack/callback.d.ts +243 -35
- package/lib/commonjs/typescript/codegen/pack/errorcode.d.ts +69 -16
- package/lib/commonjs/typescript/codegen/pack/keytype.d.ts +1459 -270
- package/lib/commonjs/typescript/core/api.d.ts +8 -1
- package/lib/commonjs/typescript/core/effect.d.ts +5 -1
- package/lib/commonjs/typescript/core/logger.d.ts +1 -0
- package/lib/commonjs/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
- package/lib/commonjs/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
- package/lib/module/typescript/codegen/android/api.d.ts +869 -93
- package/lib/module/typescript/codegen/android/callback.d.ts +243 -31
- package/lib/module/typescript/codegen/android/errorcode.d.ts +60 -15
- package/lib/module/typescript/codegen/android/keytype.d.ts +1173 -219
- package/lib/module/typescript/codegen/ios/api.d.ts +899 -102
- package/lib/module/typescript/codegen/ios/callback.d.ts +162 -28
- package/lib/module/typescript/codegen/ios/errorcode.d.ts +100 -25
- package/lib/module/typescript/codegen/ios/keytype.d.ts +692 -180
- package/lib/module/typescript/codegen/pack/api.d.ts +1180 -133
- package/lib/module/typescript/codegen/pack/callback.d.ts +243 -35
- package/lib/module/typescript/codegen/pack/errorcode.d.ts +69 -16
- package/lib/module/typescript/codegen/pack/keytype.d.ts +1459 -270
- package/lib/module/typescript/core/api.d.ts +8 -1
- package/lib/module/typescript/core/effect.d.ts +5 -1
- package/lib/module/typescript/core/logger.d.ts +1 -0
- package/lib/module/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
- package/lib/module/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
- package/lib/typescript/codegen/android/api.d.ts +869 -93
- package/lib/typescript/codegen/android/callback.d.ts +243 -31
- package/lib/typescript/codegen/android/errorcode.d.ts +60 -15
- package/lib/typescript/codegen/android/keytype.d.ts +1173 -219
- package/lib/typescript/codegen/ios/api.d.ts +899 -102
- package/lib/typescript/codegen/ios/callback.d.ts +162 -28
- package/lib/typescript/codegen/ios/errorcode.d.ts +100 -25
- package/lib/typescript/codegen/ios/keytype.d.ts +692 -180
- package/lib/typescript/codegen/pack/api.d.ts +1180 -133
- package/lib/typescript/codegen/pack/callback.d.ts +243 -35
- package/lib/typescript/codegen/pack/errorcode.d.ts +69 -16
- package/lib/typescript/codegen/pack/keytype.d.ts +1459 -270
- package/lib/typescript/core/api.d.ts +8 -1
- package/lib/typescript/core/effect.d.ts +5 -1
- package/lib/typescript/core/logger.d.ts +1 -0
- package/lib/typescript/platforms/android/AppLogWrapper.d.ts +8 -0
- package/lib/typescript/platforms/ios/RangersAppLog.d.ts +4 -0
- package/package.json +1 -1
package/ios/VeLiveMixerView.m
CHANGED
|
@@ -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
|
-
|
|
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
|
-
//
|
|
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
|