Build: Make the app build if JitsiMeetSDK is not in the Podfile.

We already had a mechanism to automatically build VoIP according to the presence of the webrtc pod file. Do the same but for conference calls.
This commit is contained in:
manuroe
2020-07-23 17:25:24 +02:00
parent 206c39453e
commit 8e246c7c50
4 changed files with 19 additions and 6 deletions
@@ -15,6 +15,8 @@
*/
import Foundation
#if canImport(JitsiMeet)
import JitsiMeet
/// JitsiService enables to abstract and configure Jitsi Meet SDK
@@ -72,3 +74,4 @@ final class JitsiService: NSObject {
return self.jitsiMeet.application(application, continue: userActivity, restorationHandler: restorationHandler)
}
}
#endif
@@ -17,6 +17,7 @@
#import "JitsiViewController.h"
#import "JitsiWidgetData.h"
#if __has_include(<MatrixSDK/MXJingleCallStack.h>)
@import JitsiMeet;
static const NSString *kJitsiDataErrorKey = @"error";
@@ -251,3 +252,5 @@ static const NSString *kJitsiDataErrorKey = @"error";
}
@end
#endif