Skip to content

Commit

Permalink
Merge pull request #10 from JioMeet/release/3.0.0
Browse files Browse the repository at this point in the history
JMMedia support added
  • Loading branch information
manibaratam94 authored Dec 19, 2023
2 parents 5bd5230 + 8ff5dd9 commit 310c637
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 19 deletions.
2 changes: 1 addition & 1 deletion JioMeetCoreUIDemo/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {

// Enable Start and Stop Recording option. You can ignore if you don't want to handle recording from app side
JMUIKit.isRecordingEnabled = true

// Enable Reactions feature. You can ignore it if you don't want to use Reactions
JMUIKit.isReactionsEnabled = true

Expand All @@ -51,6 +50,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
JMUIKit.isEntryExitChimeEnabled = true
JMUIKit.entryChimeSoundPath = Bundle.main.path(forResource: "user_join_chime", ofType: "mp3") ?? ""
JMUIKit.exitChimeSoundPath = Bundle.main.path(forResource: "user_left_chime", ofType: "mp3") ?? ""

return true
}

Expand Down
34 changes: 22 additions & 12 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,41 @@ platform :ios, '13.0'
target 'JioMeetCoreUIDemo' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'JioMeetUIKit_iOS', '~>2.7.0'
pod 'JioMeetUIKit_iOS', '~>3.0.2'

# Comment the next line if you don't want to use Participant Panel
pod 'JioMeetParticipantPanelSDK_iOS', '~>2.7.0'
pod 'JioMeetParticipantPanelSDK_iOS', '~>3.0.2'

# Comment the next line if you dont' want to use Chat Functionality
pod 'JioMeetChatUIKit_iOS', '~>2.7.0'
pod 'JioMeetChatUIKit_iOS', '~>3.0.2'

# Comment the next line if you don't want to use Virtual Background Feature
pod 'JioMeetVBGUIKit_iOS', '~>2.7.0'
pod 'JioMeetVBGUIKit_iOS', '~>3.0.2'

# Comment the next line if you don't want to use Reactions Feature
pod 'JioMeetReactions_iOS', '~>2.7.0'
# Comment the next line if you don't want to use Reactions Feature
pod 'JioMeetReactions_iOS', '~>3.0.2'

end

target 'ScreenShareExtension' do
use_frameworks!
pod 'JioMeetScreenShareSDK_iOS', '~>2.7.0'
pod 'JioMeetScreenShareSDK_iOS', '~>3.0.2'
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
end
end
xcode_base_version = `xcodebuild -version | grep 'Xcode' | awk '{print $2}' | cut -d . -f 1`
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES'
config.build_settings['APPLICATION_EXTENSION_API_ONLY'] = 'No'
# For xcode 15+ only
if config.base_configuration_reference && Integer(xcode_base_version) >= 15
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end
end
20 changes: 14 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Currently SDK support portarait orientation for the iPhone and landscape for the
Please add below pod to your Podfile and run command `pod install --repo-update --verbose`.

```ruby
pod 'JioMeetUIKit_iOS', '~>2.7'
pod 'JioMeetUIKit_iOS', '~>3.0.2'
```

Participant Panel, Chat View, Virtualbackground and Reactions are additional seperate frameworks. If you want to include them in your app, please enable below flags and add respective pods in podfile
Expand All @@ -122,28 +122,28 @@ For Participant Panel View

```swift
JMUIKit.isParticipantPanelEnabled = true
pod 'JioMeetParticipantPanelSDK_iOS', '~>2.7'
pod 'JioMeetParticipantPanelSDK_iOS', '~>3.0.2'
```

For Chat View

```swift
JMUIKit.isChatViewEnabled = true
pod 'JioMeetChatUIKit_iOS', '~>2.7'
pod 'JioMeetChatUIKit_iOS', '~>3.0.2'
```

For Virtual Background

```swift
JMUIKit.isVirtualBackgroundEnabled = true
pod 'JioMeetVBGUIKit_iOS', '~>2.7'
pod 'JioMeetVBGUIKit_iOS', '~>3.0.2'
```

For Reactions

```swift
JMUIKit.isReactionsEnabled = true
pod 'JioMeetReactions_iOS', '~>2.7'
pod 'JioMeetReactions_iOS', '~>3.0.2'
```

JioMeetUIKit has many optional features which you can enable according to your requirement. Please check below snippet.
Expand Down Expand Up @@ -173,6 +173,14 @@ JMUIKit.isReactionsEnabled = true

JMUIKit.isLiveStreamEnabled = true

// Enable below flag to leave the meeting once other user left the call

JMUIKit.exitMeetingOnRemoteUserLeft = true

// Enable below flag to leave the meeting if recording is not started automatically

JMUIKit.exitMeetingIfRecordingNotStarted = true


// Enable Entry/Exit Chime. You can ignore if you don't want to use this feature. Please provide path for Entry/Exit Chime audio files if you enable this feature

Expand Down Expand Up @@ -401,7 +409,7 @@ Go to your Podfile. Add `JioMeetScreenShareSDK_iOS` pod for your newly created b
```ruby
target 'ScreenShareExtension' do
use_frameworks!
pod 'JioMeetScreenShareSDK_iOS', '~>2.7'
pod 'JioMeetScreenShareSDK_iOS', '~>3.0.2'
end
```

Expand Down

0 comments on commit 310c637

Please sign in to comment.