Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
TypeScript debiandeep-videojitsijitsi-meetscalable-video-conferencessfuvideovideo-communicationvideo-conferencingwebrtc
feat(ios) drop support for iOS 11
Saúl Ibarra Corretgé4bfbc72613d1
diff --git a/ios/Podfile b/ios/Podfileindex b05867f7b0..3216244d10 100644--- a/ios/Podfile+++ b/ios/Podfile@@ -1,4 +1,4 @@-platform :ios, '11.0'+platform :ios, '12.0'workspace 'jitsi-meet'require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'install! 'cocoapods', :deterministic_uuids => false@@ -87,7 +87,7 @@ post_install do |installer|target.build_configurations.each do |config|config.build_settings['ENABLE_BITCODE'] = 'YES'config.build_settings['SUPPORTS_MACCATALYST'] = 'NO'- config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '11.0'+ config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'endendenddiff --git a/ios/Podfile.lock b/ios/Podfile.lockindex fcc15f826d..599bba8c0c 100644--- a/ios/Podfile.lock+++ b/ios/Podfile.lock@@ -605,6 +605,6 @@ SPEC CHECKSUMS:RNWatch: a5320c959c75e72845c07985f3e935e58998f1d3Yoga: 96b469c5e81ff51b917b92e8c3390642d4ded30c-PODFILE CHECKSUM: e830b1b5a46d340e22689b146b55dcf24664c6f1+PODFILE CHECKSUM: 3cc305fd6ee83fff506c10c4805471fa72b61c9aCOCOAPODS: 1.10.1diff --git a/ios/app/app.xcodeproj/project.pbxproj b/ios/app/app.xcodeproj/project.pbxprojindex 6c474557d1..1e1f4952bd 100644--- a/ios/app/app.xcodeproj/project.pbxproj+++ b/ios/app/app.xcodeproj/project.pbxproj@@ -996,7 +996,7 @@"$(inherited)",/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,);- IPHONEOS_DEPLOYMENT_TARGET = 11.0;+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;MTL_ENABLE_DEBUG_INFO = YES;ONLY_ACTIVE_ARCH = YES;SDKROOT = iphoneos;@@ -1049,7 +1049,7 @@"$(inherited)",/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,);- IPHONEOS_DEPLOYMENT_TARGET = 11.0;+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;MTL_ENABLE_DEBUG_INFO = NO;SDKROOT = iphoneos;SWIFT_COMPILATION_MODE = wholemodule;diff --git a/ios/app/src/ViewController.m b/ios/app/src/ViewController.mindex 8e5358f8d7..0950150c32 100644--- a/ios/app/src/ViewController.m+++ b/ios/app/src/ViewController.m@@ -1,6 +1,5 @@/*- * Copyright @ 2018-present 8x8, Inc.- * Copyright @ 2017-2018 Atlassian Pty Ltd+ * Copyright @ 2017-present 8x8, Inc.** Licensed under the Apache License, Version 2.0 (the "License");* you may not use this file except in compliance with the License.@@ -15,8 +14,6 @@* limitations under the License.*/-#import <Availability.h>-@import CoreSpotlight;@import MobileCoreServices;@import Intents; // Needed for NSUserActivity suggestedInvocationPhrase@@ -58,34 +55,29 @@[self _onJitsiMeetViewDelegateEvent:@"CONFERENCE_JOINED" withData:data];// Register a NSUserActivity for this conference so it can be invoked as a- // Siri shortcut. This is only supported in iOS >= 12.-#ifdef __IPHONE_12_0- if (@available(iOS 12.0, *)) {- NSUserActivity *userActivity- = [[NSUserActivity alloc] initWithActivityType:JitsiMeetConferenceActivityType];-- NSString *urlStr = data[@"url"];- NSURL *url = [NSURL URLWithString:urlStr];- NSString *conference = [url.pathComponents lastObject];-- userActivity.title = [NSString stringWithFormat:@"Join %@", conference];- userActivity.suggestedInvocationPhrase = @"Join my Jitsi meeting";- userActivity.userInfo = @{@"url": urlStr};- [userActivity setEligibleForSearch:YES];- [userActivity setEligibleForPrediction:YES];- [userActivity setPersistentIdentifier:urlStr];-- // Subtitle- CSSearchableItemAttributeSet *attributes- = [[CSSearchableItemAttributeSet alloc] initWithItemContentType:(NSString *)kUTTypeItem];- attributes.contentDescription = urlStr;- userActivity.contentAttributeSet = attributes;-- self.userActivity = userActivity;- [userActivity becomeCurrent];- }-#endif-+ // Siri shortcut.+ NSUserActivity *userActivity+ = [[NSUserActivity alloc] initWithActivityType:JitsiMeetConferenceActivityType];++ NSString *urlStr = data[@"url"];+ NSURL *url = [NSURL URLWithString:urlStr];+ NSString *conference = [url.pathComponents lastObject];++ userActivity.title = [NSString stringWithFormat:@"Join %@", conference];+ userActivity.suggestedInvocationPhrase = @"Join my Jitsi meeting";+ userActivity.userInfo = @{@"url": urlStr};+ [userActivity setEligibleForSearch:YES];+ [userActivity setEligibleForPrediction:YES];+ [userActivity setPersistentIdentifier:urlStr];++ // Subtitle+ CSSearchableItemAttributeSet *attributes+ = [[CSSearchableItemAttributeSet alloc] initWithItemContentType:(NSString *)kUTTypeItem];+ attributes.contentDescription = urlStr;+ userActivity.contentAttributeSet = attributes;++ self.userActivity = userActivity;+ [userActivity becomeCurrent];}- (void)conferenceTerminated:(NSDictionary *)data {diff --git a/ios/sdk/sdk.xcodeproj/project.pbxproj b/ios/sdk/sdk.xcodeproj/project.pbxprojindex 31d5d1aaa4..0537141c77 100644--- a/ios/sdk/sdk.xcodeproj/project.pbxproj+++ b/ios/sdk/sdk.xcodeproj/project.pbxproj@@ -520,7 +520,7 @@GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;GCC_WARN_UNUSED_FUNCTION = YES;GCC_WARN_UNUSED_VARIABLE = YES;- IPHONEOS_DEPLOYMENT_TARGET = 11.0;+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;MTL_ENABLE_DEBUG_INFO = YES;ONLY_ACTIVE_ARCH = YES;SDKROOT = iphoneos;@@ -576,7 +576,7 @@GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;GCC_WARN_UNUSED_FUNCTION = YES;GCC_WARN_UNUSED_VARIABLE = YES;- IPHONEOS_DEPLOYMENT_TARGET = 11.0;+ IPHONEOS_DEPLOYMENT_TARGET = 12.0;MTL_ENABLE_DEBUG_INFO = NO;SDKROOT = iphoneos;SWIFT_COMPILATION_MODE = wholemodule;