Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
6ead72f
boilerplate
wjoosen Jul 7, 2025
7ad056e
initial skeleton
wjoosen Jul 8, 2025
1a82d10
pass adprocessor
wjoosen Jul 11, 2025
96b8824
use ad processor in adapter
wjoosen Jul 11, 2025
523d735
ad event reporting
wjoosen Jul 11, 2025
42cacb1
don't use ad progress listeners
wjoosen Jul 11, 2025
732eb0b
adbreak related event handling
wjoosen Jul 11, 2025
147d6aa
remove some listeners
wjoosen Jul 11, 2025
a10e3b2
add necessary listeners
wjoosen Jul 11, 2025
039cc94
rename handler
wjoosen Jul 11, 2025
5400904
handle playing
wjoosen Jul 11, 2025
1a58619
handle play
wjoosen Jul 11, 2025
ec6aec4
handle pause events
wjoosen Jul 15, 2025
e8b4dca
handle waiting events
wjoosen Jul 15, 2025
e533378
handle seeking events
wjoosen Jul 15, 2025
394f3e5
handle error and ended events
wjoosen Jul 15, 2025
20d2874
handle volume change events
wjoosen Jul 15, 2025
4d18d40
handle quality change events
wjoosen Jul 15, 2025
9bce342
initialize only once
wjoosen Jul 15, 2025
b0e39a1
add appinfo,remove plyrid,use debug flag in config
wjoosen Jul 15, 2025
785938a
example configuration
wjoosen Jul 15, 2025
022fd59
example program data
wjoosen Jul 15, 2025
e33bc9d
example program data
wjoosen Jul 15, 2025
c1dff49
remove comments
wjoosen Jul 15, 2025
a838dc3
import ima integration
wjoosen Jul 15, 2025
8bcd91a
add linker flags
wjoosen Jul 15, 2025
3df8fbd
add missing dependencies
wjoosen Jul 15, 2025
678cf4c
add google ima integration dependency
wjoosen Jul 17, 2025
627cf43
listen for quality change event
wjoosen Jul 19, 2025
39dbffd
add config and metadata update to readme
wjoosen Jul 29, 2025
ee6eefa
finish readme
wjoosen Jul 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ Carthage/Build
# `pod install` in .travis.yml
#
Pods/
/CocoapodExample/ConvivaReporter.xcworkspace
Code/Gemius-Examples/Cocoapods/Frameworks/GemiusSDK.xcframework/
38 changes: 38 additions & 0 deletions Code/Gemius-Examples/Cocoapods/Frameworks/GemiusSDK.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
#
# Be sure to run `pod spec lint GemiusSDK.podspec' to ensure this is a
# valid spec and to remove all comments including this before submitting the spec.
#
# To learn more about Podspec attributes see https://guides.cocoapods.org/syntax/podspec.html
# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/
#

# info_plist_path = "./Frameworks/GemiusSDK.xcframework/ios-arm64/GemiusSDK.framework/Info.plist"
# info_cflist = CFPropertyList::List.new(:file => info_plist_path)
# info_plist = CFPropertyList.native_types(info_cflist.value)
# gemiusSdkVersion = info_plist["CFBundleShortVersionString"]

# puts "Detected GemiusSDK XCFramework"
# puts " - version #{theogemiusSdkVersionSdkVersion}"

gemiusSdkVersion = "2.0.6"

Pod::Spec.new do |spec|

spec.name = "GemiusSDK"
spec.version = gemiusSdkVersion
spec.summary = "The Gemius SDK for iOS"

spec.description = "T"

spec.homepage = "https://theoplayer.com"
spec.license = "MIT"

spec.author = { "Wonne Joosen" => "wonne.joosen@dolby.com" }

spec.source = { :git => "https://www.theoplayer.com/.git", :tag => "#{spec.version}" }

spec.source_files = "Classes", "Classes/**/*.{h,m}"

spec.ios.vendored_frameworks = "GemiusSDK.xcframework"

end

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions Code/Gemius-Examples/Cocoapods/Podfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
platform :ios, '13.0'

target 'GemiusReporter' do
# Use the AdscriptConnector that is locally defined in the parent directory
pod 'THEOplayer-Connector-Gemius', :path => '../../../'
pod 'THEOplayer-Integration-GoogleIMA', '~> 9'
pod 'GemiusSDK', :path => 'Frameworks/'

# When you want to use a custom THEOplayerSDK build:
# - place your build at '../../../Helpers/TheoPod/Frameworks/THEOplayerSDK.xcframework'
# - uncomment the following line
# pod 'THEOplayerSDK-core', :path => '../../../Helpers/TheoPod'

end
8 changes: 8 additions & 0 deletions Code/Gemius-Examples/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# THEOPlayer 🤝 Gemius Samples

We provide source code of two sample applications that illustrate how to use the connector with different package managers:

- [Sample using **Swift Package Manager**](./SPM) (works out of the box with Xcode 12 and above)

- [Sample using **Cocoapods**](./Cocoapod) (requires Cocoapods installation through terminal)

Loading