parent
57fb1be486
commit
9edfac1cd6
@ -1,8 +0,0 @@
|
||||
//
|
||||
// SystemBroadcastPicker.m
|
||||
// BigBlueButton
|
||||
//
|
||||
// Created by Tiago Daniel Jacobs on 12/02/22.
|
||||
//
|
||||
|
||||
#import <Foundation/Foundation.h>
|
@ -0,0 +1,27 @@
|
||||
//
|
||||
// SystemBroadcastPickerManager.h
|
||||
// BigBlueButton
|
||||
//
|
||||
// Here we export RPSystemBroadcastPickerView button to the react application, so we can add it on screen.
|
||||
//
|
||||
// Created by Tiago Daniel Jacobs on 12/02/22.
|
||||
#import <ReplayKit/ReplayKit.h>
|
||||
#import <React/RCTViewManager.h>
|
||||
|
||||
@interface SystemBroadcastPickerManager : RCTViewManager
|
||||
@end
|
||||
|
||||
@implementation SystemBroadcastPickerManager
|
||||
|
||||
RCT_EXPORT_MODULE(BBBN_SystemBroadcastPicker)
|
||||
|
||||
- (UIView *)view
|
||||
{
|
||||
UIViewController *rootViewController = [UIApplication sharedApplication].delegate.window.rootViewController;
|
||||
|
||||
RPSystemBroadcastPickerView *pickerView = [[RPSystemBroadcastPickerView alloc]initWithFrame:CGRectMake(0, 0, 16, 16)];
|
||||
|
||||
return pickerView;
|
||||
}
|
||||
|
||||
@end
|
@ -0,0 +1,8 @@
|
||||
import React from 'react';
|
||||
import SystemBroadcastPicker from './ios-native-components/BBBN_SystemBroadcastPicker';
|
||||
|
||||
const BroadcastPicker = ({children, title}): Node => {
|
||||
return <SystemBroadcastPicker style={{marginTop: 50, height: 50, widht: 50, backgroundColor: '#EEE'}} />;
|
||||
};
|
||||
|
||||
export default BroadcastPicker;
|
@ -0,0 +1,3 @@
|
||||
import {requireNativeComponent} from 'react-native';
|
||||
|
||||
export default requireNativeComponent('BBBN_SystemBroadcastPicker');
|
Loading…
Reference in new issue