From ee3b8af4cf00c771f167704c0ed3ac38476a767f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C3=BAl=20Ibarra=20Corretg=C3=A9?= Date: Wed, 10 Apr 2019 13:18:02 +0200 Subject: [PATCH] ios: remove PiP sample application It now lives here: https://github.com/jitsi/jitsi-meet-sdk-samples --- .../example-pip-app.xcodeproj/project.pbxproj | 422 ------------------ ios/example-pip-app/src/AppDelegate.swift | 41 -- .../AppIcon.appiconset/Contents.json | 98 ---- .../src/Base.lproj/LaunchScreen.storyboard | 25 -- .../src/Base.lproj/Main.storyboard | 46 -- ios/example-pip-app/src/Info.plist | 68 --- ios/example-pip-app/src/ViewController.swift | 86 ---- .../contents.xcworkspacedata | 3 - 8 files changed, 789 deletions(-) delete mode 100644 ios/example-pip-app/example-pip-app.xcodeproj/project.pbxproj delete mode 100644 ios/example-pip-app/src/AppDelegate.swift delete mode 100644 ios/example-pip-app/src/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 ios/example-pip-app/src/Base.lproj/LaunchScreen.storyboard delete mode 100644 ios/example-pip-app/src/Base.lproj/Main.storyboard delete mode 100644 ios/example-pip-app/src/Info.plist delete mode 100644 ios/example-pip-app/src/ViewController.swift diff --git a/ios/example-pip-app/example-pip-app.xcodeproj/project.pbxproj b/ios/example-pip-app/example-pip-app.xcodeproj/project.pbxproj deleted file mode 100644 index 2b4b9dddab..0000000000 --- a/ios/example-pip-app/example-pip-app.xcodeproj/project.pbxproj +++ /dev/null @@ -1,422 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 48; - objects = { - -/* Begin PBXBuildFile section */ - C6245F57205044120040BE68 /* JitsiMeet.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C6F99C4F204DE79F0001F710 /* JitsiMeet.framework */; }; - C6245F58205044150040BE68 /* WebRTC.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C6A34247204DF18000E062DD /* WebRTC.framework */; }; - C6A34249204DF18000E062DD /* WebRTC.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C6A34247204DF18000E062DD /* WebRTC.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; - C6F99C3B204DE6BE0001F710 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6F99C3A204DE6BE0001F710 /* AppDelegate.swift */; }; - C6F99C3D204DE6BE0001F710 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6F99C3C204DE6BE0001F710 /* ViewController.swift */; }; - C6F99C40204DE6BE0001F710 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6F99C3E204DE6BE0001F710 /* Main.storyboard */; }; - C6F99C42204DE6BE0001F710 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = C6F99C41204DE6BE0001F710 /* Assets.xcassets */; }; - C6F99C45204DE6BE0001F710 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = C6F99C43204DE6BE0001F710 /* LaunchScreen.storyboard */; }; - C6F99C60204DEDC10001F710 /* JitsiMeet.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = C6F99C4F204DE79F0001F710 /* JitsiMeet.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; -/* End PBXBuildFile section */ - -/* Begin PBXCopyFilesBuildPhase section */ - C6F99C61204DEDC20001F710 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - C6F99C60204DEDC10001F710 /* JitsiMeet.framework in Embed Frameworks */, - C6A34249204DF18000E062DD /* WebRTC.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - C6A34247204DF18000E062DD /* WebRTC.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebRTC.framework; path = "../../node_modules/react-native-webrtc/ios/WebRTC.framework"; sourceTree = ""; }; - C6F99C37204DE6BE0001F710 /* example-pip-app.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "example-pip-app.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - C6F99C3A204DE6BE0001F710 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - C6F99C3C204DE6BE0001F710 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = ""; }; - C6F99C3F204DE6BE0001F710 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - C6F99C41204DE6BE0001F710 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - C6F99C44204DE6BE0001F710 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - C6F99C46204DE6BE0001F710 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - C6F99C4F204DE79F0001F710 /* JitsiMeet.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = JitsiMeet.framework; sourceTree = BUILT_PRODUCTS_DIR; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - C6F99C34204DE6BE0001F710 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - C6245F57205044120040BE68 /* JitsiMeet.framework in Frameworks */, - C6245F58205044150040BE68 /* WebRTC.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - C6F99C2E204DE6BE0001F710 = { - isa = PBXGroup; - children = ( - C6F99C4D204DE79F0001F710 /* Frameworks */, - C6F99C38204DE6BE0001F710 /* Products */, - C6F99C4C204DE7230001F710 /* src */, - ); - sourceTree = ""; - }; - C6F99C38204DE6BE0001F710 /* Products */ = { - isa = PBXGroup; - children = ( - C6F99C37204DE6BE0001F710 /* example-pip-app.app */, - ); - name = Products; - sourceTree = ""; - }; - C6F99C4C204DE7230001F710 /* src */ = { - isa = PBXGroup; - children = ( - C6F99C3A204DE6BE0001F710 /* AppDelegate.swift */, - C6F99C41204DE6BE0001F710 /* Assets.xcassets */, - C6F99C46204DE6BE0001F710 /* Info.plist */, - C6F99C43204DE6BE0001F710 /* LaunchScreen.storyboard */, - C6F99C3E204DE6BE0001F710 /* Main.storyboard */, - C6F99C3C204DE6BE0001F710 /* ViewController.swift */, - ); - path = src; - sourceTree = ""; - }; - C6F99C4D204DE79F0001F710 /* Frameworks */ = { - isa = PBXGroup; - children = ( - C6F99C4F204DE79F0001F710 /* JitsiMeet.framework */, - C6A34247204DF18000E062DD /* WebRTC.framework */, - ); - name = Frameworks; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - C6F99C36204DE6BE0001F710 /* example-pip-app */ = { - isa = PBXNativeTarget; - buildConfigurationList = C6F99C49204DE6BE0001F710 /* Build configuration list for PBXNativeTarget "example-pip-app" */; - buildPhases = ( - C6A3424A204DF91D00E062DD /* Run Adjust ATS for loading JS bundle */, - C6F99C62204DEFFE0001F710 /* Run React Packager */, - C6F99C33204DE6BE0001F710 /* Sources */, - C6F99C34204DE6BE0001F710 /* Frameworks */, - C6F99C35204DE6BE0001F710 /* Resources */, - C6F99C61204DEDC20001F710 /* Embed Frameworks */, - C6A3426E20503ECC00E062DD /* Adjust embedded framework architectures */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = "example-pip-app"; - productName = "example-pip-app"; - productReference = C6F99C37204DE6BE0001F710 /* example-pip-app.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - C6F99C2F204DE6BE0001F710 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0920; - LastUpgradeCheck = 1020; - ORGANIZATIONNAME = "Atlassian Inc"; - TargetAttributes = { - C6F99C36204DE6BE0001F710 = { - CreatedOnToolsVersion = 9.2; - ProvisioningStyle = Automatic; - SystemCapabilities = { - com.apple.BackgroundModes = { - enabled = 1; - }; - }; - }; - }; - }; - buildConfigurationList = C6F99C32204DE6BE0001F710 /* Build configuration list for PBXProject "example-pip-app" */; - compatibilityVersion = "Xcode 8.0"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = C6F99C2E204DE6BE0001F710; - productRefGroup = C6F99C38204DE6BE0001F710 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - C6F99C36204DE6BE0001F710 /* example-pip-app */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - C6F99C35204DE6BE0001F710 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C6F99C45204DE6BE0001F710 /* LaunchScreen.storyboard in Resources */, - C6F99C42204DE6BE0001F710 /* Assets.xcassets in Resources */, - C6F99C40204DE6BE0001F710 /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - C6A3424A204DF91D00E062DD /* Run Adjust ATS for loading JS bundle */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Adjust ATS for loading JS bundle"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "../scripts/fixup-ats.sh"; - }; - C6A3426E20503ECC00E062DD /* Adjust embedded framework architectures */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Adjust embedded framework architectures"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "../scripts/fixup-frameworks.sh"; - }; - C6F99C62204DEFFE0001F710 /* Run React Packager */ = { - isa = PBXShellScriptBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run React Packager"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "../scripts/run-packager.sh"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - C6F99C33204DE6BE0001F710 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - C6F99C3D204DE6BE0001F710 /* ViewController.swift in Sources */, - C6F99C3B204DE6BE0001F710 /* AppDelegate.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXVariantGroup section */ - C6F99C3E204DE6BE0001F710 /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - C6F99C3F204DE6BE0001F710 /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - C6F99C43204DE6BE0001F710 /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - C6F99C44204DE6BE0001F710 /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - C6F99C47204DE6BE0001F710 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - }; - name = Debug; - }; - C6F99C48204DE6BE0001F710 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_IDENTITY = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.2; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - C6F99C4A204DE6BE0001F710 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - FRAMEWORK_SEARCH_PATHS = "../../node_modules/react-native-webrtc/ios"; - INFOPLIST_FILE = src/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.jitsi.example-pip-app"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - C6F99C4B204DE6BE0001F710 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CODE_SIGN_STYLE = Automatic; - FRAMEWORK_SEARCH_PATHS = "../../node_modules/react-native-webrtc/ios"; - INFOPLIST_FILE = src/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.jitsi.example-pip-app"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - C6F99C32204DE6BE0001F710 /* Build configuration list for PBXProject "example-pip-app" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C6F99C47204DE6BE0001F710 /* Debug */, - C6F99C48204DE6BE0001F710 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - C6F99C49204DE6BE0001F710 /* Build configuration list for PBXNativeTarget "example-pip-app" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - C6F99C4A204DE6BE0001F710 /* Debug */, - C6F99C4B204DE6BE0001F710 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = C6F99C2F204DE6BE0001F710 /* Project object */; -} diff --git a/ios/example-pip-app/src/AppDelegate.swift b/ios/example-pip-app/src/AppDelegate.swift deleted file mode 100644 index cb18da33f1..0000000000 --- a/ios/example-pip-app/src/AppDelegate.swift +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright @ 2017-present Atlassian Pty Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import JitsiMeet - -@UIApplicationMain -class AppDelegate: UIResponder, UIApplicationDelegate { - - var window: UIWindow? - - func application(_ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey : Any]? = nil) -> Bool { - guard let launchOptions = launchOptions else { return false } - return JitsiMeet.sharedInstance().application(application, didFinishLaunchingWithOptions: launchOptions) - } - - // MARK: - Linking delegate methods - - func application(_ application: UIApplication, - continue userActivity: NSUserActivity, - restorationHandler: @escaping ([UIUserActivityRestoring]?) -> Void) -> Bool { - return JitsiMeet.sharedInstance().application(application, continue: userActivity, restorationHandler: restorationHandler) - } - - func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool { - return JitsiMeet.sharedInstance().application(app, open: url, options: options) - } -} diff --git a/ios/example-pip-app/src/Assets.xcassets/AppIcon.appiconset/Contents.json b/ios/example-pip-app/src/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d8db8d65fd..0000000000 --- a/ios/example-pip-app/src/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,98 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "20x20", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "20x20", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "1x" - }, - { - "idiom" : "ipad", - "size" : "76x76", - "scale" : "2x" - }, - { - "idiom" : "ipad", - "size" : "83.5x83.5", - "scale" : "2x" - }, - { - "idiom" : "ios-marketing", - "size" : "1024x1024", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/ios/example-pip-app/src/Base.lproj/LaunchScreen.storyboard b/ios/example-pip-app/src/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f83f6fd581..0000000000 --- a/ios/example-pip-app/src/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/example-pip-app/src/Base.lproj/Main.storyboard b/ios/example-pip-app/src/Base.lproj/Main.storyboard deleted file mode 100644 index fc16ccefb7..0000000000 --- a/ios/example-pip-app/src/Base.lproj/Main.storyboard +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/ios/example-pip-app/src/Info.plist b/ios/example-pip-app/src/Info.plist deleted file mode 100644 index 5524b34f3a..0000000000 --- a/ios/example-pip-app/src/Info.plist +++ /dev/null @@ -1,68 +0,0 @@ - - - - - NSMicrophoneUsageDescription - The microphone is needed for making calls - NSCameraUsageDescription - The camera is needed for making calls - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - APPL - CFBundleShortVersionString - 1.0 - CFBundleVersion - 1 - LSRequiresIPhoneOS - - UIBackgroundModes - - audio - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UIRequiredDeviceCapabilities - - armv7 - - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - NSAppTransportSecurity - - NSExceptionDomains - - localhost - - NSTemporaryExceptionAllowsInsecureHTTPLoads - - - - NSAllowsArbitraryLoads - - - UIViewControllerBasedStatusBarAppearance - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - - diff --git a/ios/example-pip-app/src/ViewController.swift b/ios/example-pip-app/src/ViewController.swift deleted file mode 100644 index 9bd2c13b91..0000000000 --- a/ios/example-pip-app/src/ViewController.swift +++ /dev/null @@ -1,86 +0,0 @@ -/* - * Copyright @ 2019-present 8x8, Inc. - * Copyright @ 2017-2018 Atlassian Pty Ltd - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import UIKit -import JitsiMeet - -class ViewController: UIViewController { - - @IBOutlet weak var videoButton: UIButton? - - fileprivate var pipViewCoordinator: PiPViewCoordinator? - fileprivate var jitsiMeetView: JitsiMeetView? - - override func viewDidLoad() { - super.viewDidLoad() - } - - override func viewWillTransition(to size: CGSize, - with coordinator: UIViewControllerTransitionCoordinator) { - super.viewWillTransition(to: size, with: coordinator) - - let rect = CGRect(origin: CGPoint.zero, size: size) - pipViewCoordinator?.resetBounds(bounds: rect) - } - - // MARK: - Actions - - @IBAction func openJitsiMeet(sender: Any?) { - cleanUp() - - // create and configure jitsimeet view - let jitsiMeetView = JitsiMeetView() - jitsiMeetView.delegate = self - self.jitsiMeetView = jitsiMeetView - let options = JitsiMeetConferenceOptions.fromBuilder { (builder) in - builder.welcomePageEnabled = true - } - jitsiMeetView.join(options) - - // Enable jitsimeet view to be a view that can be displayed - // on top of all the things, and let the coordinator to manage - // the view state and interactions - pipViewCoordinator = PiPViewCoordinator(withView: jitsiMeetView) - pipViewCoordinator?.configureAsStickyView(withParentView: view) - - // animate in - jitsiMeetView.alpha = 0 - pipViewCoordinator?.show() - } - - fileprivate func cleanUp() { - jitsiMeetView?.removeFromSuperview() - jitsiMeetView = nil - pipViewCoordinator = nil - } -} - -extension ViewController: JitsiMeetViewDelegate { - func conferenceTerminated(_ data: [AnyHashable : Any]!) { - DispatchQueue.main.async { - self.pipViewCoordinator?.hide() { _ in - self.cleanUp() - } - } - } - - func enterPicture(inPicture data: [AnyHashable : Any]!) { - DispatchQueue.main.async { - self.pipViewCoordinator?.enterPictureInPicture() - } - } -} diff --git a/ios/jitsi-meet.xcworkspace/contents.xcworkspacedata b/ios/jitsi-meet.xcworkspace/contents.xcworkspacedata index bdcb0765e7..8145e614e9 100644 --- a/ios/jitsi-meet.xcworkspace/contents.xcworkspacedata +++ b/ios/jitsi-meet.xcworkspace/contents.xcworkspacedata @@ -1,9 +1,6 @@ - -