Releases: kaltura/playkit-ios
v0.1.14
v0.1.13
Improvements
Google released dynamic IMA iOS SDK 3.4.1 that means you should change your podfile
before:
You had to attach IMA from Podfile:
pod 'GoogleAds-IMA-iOS-SDK', '3.3'
And make some manipulation on post_install:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
if target.name == "PlayKit"
config.build_settings['OTHER_LDFLAGS'] = '$(inherited) -framework "GoogleInteractiveMediaAds"'
config.build_settings['OTHER_SWIFT_FLAGS'] = '-DIMA_ENABLED'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'IMA_ENABLED=1']
end
end
end
end
after:
Don't attach IMA SDK from Podfile and change post_install to:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.0'
config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = 'NO'
end
end
end
Cocoapods
https://cocoapods.org/pods/PlayKit
Fixed Bugs & Issues
- Resolving memory leak issue with Plugins, we have found a bug with Apple's interoperability in Swift which causes a memory leak.
We already opened a bug report at Apple bug tracker and Swift Jira (report #30478887 at apple bug tracker and in Swift Jira SR-3935). - podspec changes to support IMA 3.4.1
v0.1.12
tagged v0.1.12
v0.1.11
Breaking Changes
This release contains a few breaking changes so please pay attention.
PlayKitManager
Swift API was made a little more swiftier (objc kept the same: "sharedInstance").
Before:
PlayKitManager.sharedInstance
After:
PlayKitManager.shared
PlayerConfig
was separated into 2 classes: PluginConfig
and MediaConfig
.
PluginConfig
is used for loading the player and MediaConfig
for preparing the player.
loadPlayer(pluginConfig:)
now receives PluginConfig
instead of PlayerConfig
Before:
PlayKitManager.shared.loadPlayer(playerConfig: thePlayerConfig)
After:
PlayKitManager.shared.loadPlayer(pluginConfig: thePluginConfig)
Player
prepare()
now receives MediaConfig
instead of PlayerConfig
.
Before:
player.prepare(playerConfig)
After:
player.prepare(mediaConfig)
Cocoapods
https://cocoapods.org/pods/PlayKit
Fixed Bugs & Issues
- Changed player loading and preparing to receive 2 separate configs (
PluginConfig
andMediaConfig
instead ofPlayerConfig
). - Fixed issue with Youbora plugin.
- Fixed memory leak.
v0.1.10
v0.1.9
Note: This release contains a few breaking changes. So please pay attention!
Before:
player.addObserver(self, events: [PlayerEvent.DurationChanged.self]) { event in print(event.duration)
}After:
player.addObserver(self, events: [PlayerEvent.durationChanged]) { event in print(event.duration)
}
Cocoapods
https://cocoapods.org/pods/PlayKit
Fixed Bugs & Issues
- Support Obj-C Application (event observation + IMA) , for more info
- Application State Changes Internal Support, for more info
v0.1.8
tagged v0.1.8
v0.1.8.rc1
Cocoapods
Since it's pre-release please use following on your podfile:
pod 'PlayKit', :git => 'https://github.com/kaltura/playkit-ios.git', :tag => 'v0.1.8.rc1'
Fixed Bug:
- Support event observation on Obj-C projects.