From dbaaad62019cc6ef8493bb67c62b32ed4f5b52f0 Mon Sep 17 00:00:00 2001 From: Tiago Jacobs Date: Tue, 15 Feb 2022 02:53:54 -0300 Subject: [PATCH] Remove native component (provided by SDK) --- ios/BigBlueButton.xcodeproj/project.pbxproj | 12 --------- .../SystemBroadcastPickerManager.m | 27 ------------------- 2 files changed, 39 deletions(-) delete mode 100644 ios/ReactModules/SystemBroadcastPickerManager.m diff --git a/ios/BigBlueButton.xcodeproj/project.pbxproj b/ios/BigBlueButton.xcodeproj/project.pbxproj index 9ca592e..0609f9c 100644 --- a/ios/BigBlueButton.xcodeproj/project.pbxproj +++ b/ios/BigBlueButton.xcodeproj/project.pbxproj @@ -20,7 +20,6 @@ F1F9558327B7612C000608EB /* BroadcastSetupViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = F1F9558227B7612C000608EB /* BroadcastSetupViewController.swift */; }; F1F9558727B7612C000608EB /* BroadcastUploadSetupUI.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = F1F9557D27B7612C000608EB /* BroadcastUploadSetupUI.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; F1F9558A27B7612C000608EB /* BroadcastUpload.appex in Embed App Extensions */ = {isa = PBXBuildFile; fileRef = F1F9557227B7612B000608EB /* BroadcastUpload.appex */; settings = {ATTRIBUTES = (RemoveHeadersOnCopy, ); }; }; - F1F9559A27B77D4C000608EB /* SystemBroadcastPickerManager.m in Sources */ = {isa = PBXBuildFile; fileRef = F1F9559927B77D4C000608EB /* SystemBroadcastPickerManager.m */; }; F29A21BB38B66F71560C2BDC /* libPods-BigBlueButton-BigBlueButtonTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BA9899CCCE408726F08764D3 /* libPods-BigBlueButton-BigBlueButtonTests.a */; }; /* End PBXBuildFile section */ @@ -89,7 +88,6 @@ F1F9557F27B7612C000608EB /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; F1F9558227B7612C000608EB /* BroadcastSetupViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BroadcastSetupViewController.swift; sourceTree = ""; }; F1F9558427B7612C000608EB /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F1F9559927B77D4C000608EB /* SystemBroadcastPickerManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SystemBroadcastPickerManager.m; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -160,7 +158,6 @@ 13B07FAE1A68108700A75B9A /* BigBlueButton */ = { isa = PBXGroup; children = ( - F1F9559527B7726F000608EB /* ReactModules */, 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 13B07FB01A68108700A75B9A /* AppDelegate.m */, 13B07FB51A68108700A75B9A /* Images.xcassets */, @@ -236,14 +233,6 @@ path = BroadcastUploadSetupUI; sourceTree = ""; }; - F1F9559527B7726F000608EB /* ReactModules */ = { - isa = PBXGroup; - children = ( - F1F9559927B77D4C000608EB /* SystemBroadcastPickerManager.m */, - ); - path = ReactModules; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -567,7 +556,6 @@ buildActionMask = 2147483647; files = ( 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, - F1F9559A27B77D4C000608EB /* SystemBroadcastPickerManager.m in Sources */, 13B07FC11A68108700A75B9A /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; diff --git a/ios/ReactModules/SystemBroadcastPickerManager.m b/ios/ReactModules/SystemBroadcastPickerManager.m deleted file mode 100644 index 7006c77..0000000 --- a/ios/ReactModules/SystemBroadcastPickerManager.m +++ /dev/null @@ -1,27 +0,0 @@ -// -// 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 -#import - -@interface SystemBroadcastPickerManager : RCTViewManager -@end - -@implementation SystemBroadcastPickerManager - -RCT_EXPORT_MODULE(BBBN_SystemBroadcastPicker) - -- (UIView *)view -{ - RPSystemBroadcastPickerView *pickerView = [[RPSystemBroadcastPickerView alloc]initWithFrame:CGRectMake(0, 0, 16, 16)]; - - pickerView.preferredExtension = @"org.bigbluebutton.mobile.BigBlueButton.BroadcastUpload"; - - return pickerView; -} - -@end