Wise Flutter SDK - iOS Integration
1. Adding Zoom SDK
To run the meetings in iOS app, the Zoom SDK needs to integrated natively.
Open your
flutter_project/ios/Podfileand uncomment / set platform target as 13.0 (or greater)
platform :ios, '13.0'In terminal, navigate to
flutter_project/iosfolder and install pods
cd flutter_project/ios
pod installOpen
Runner.xcworkspacefrom ios folder.Download Zoom SDK iOS and unzip the file. The zip contains following files.
MobileRTC.xcframework zoomcml.xcframeworkMobileRTCResources.bundleMobileRTCScreenShare.xcframeworkMove the
libfolder into your project by dragging and dropping into xcode.


Select Runner target and add
MobileRTC.frameworkandzoomcml.xcframeworkto Frameworks Libraries and Embedded content



Add
MobileRTCResources.bundleto Build Phases → Copy Bundle Resources section.

Make sure that the Build Phases order is as shown below.

Add the required permissions to
Runner → Info.plistfile.
Now add
MobileRTC.frameworkto Pods → wisesdk → Frameworks Libraries and Embedded content.

Keep the wisesdk → Build Phases order in following manner.

✅ At this point your can run your app and test the meeting.
2. Enabling Screen Share
To enable screen share during meetings, a Broast Upload Extension has to be added.
Select Runner target and click on bottom + icon and select Broastcast Upload Extension


Give the extension a name.

Select newly created ScreenShare target and add
MobileRTCScreenShare.xcframeworkto Frameworks & Libraries

Select ScreenShare folder on left panel and go to File → New → File and select Objective-C file and proceed. Give the file a name and click on Create Bridge Header at the end.





Once the bridge header file is created, you can delete the Objective-C file that is created.
Open
ScreenShare-Bridging-Header.hand add below code.
Now open SampleHandler and add below content. Keep same group id that is used in flutter code.

Select Runnder, select Signing & Capabilities tab, click Capability and add App Group.



Do the same for ScreenShare extension also. In summary, both the Runner and ScreenShare should have same group Id.

Select ScreenShare → Build Settings → Other Linker Flags and
-lc++flag.

Add the below frameworks to ScreenShare → Build Phase → Link Binary with Libraries
CoreGraphics.framework
CoreVideo.framework
CoreMedia.framework
VideoToolbox.framework

✅ Now you can run the app and test the Screen Share option in the meeting.
Last updated