Migration from v2 to v3
Module rename
The main public module that needs to be imported to use Flowplayer SDK has been renamed from:
FlowplayerCore
to Flowplayer
. Now FlowplayerCore
is an internal module and is used by Flowplayer
and should not be used or imported.
// import FlowplayerCore << Remove
import Flowplayer
C++ library unlinked
Rollbar requires the libc++.tbd
library. This library was previously bundled inside of Flowplayer SDK and would sometimes cause weird behavior and errors when compiled. Because of this it was removed and is now required to be added by the client.
Installation
CocoaPods integration
Use the package manager CocoaPods to install Flowplayer. Please make sure you have removed the old version of Flowplayer before upgrading to v3.
# PodFile
pod 'Flowplayer', '3.0.0'
pod 'Rollbar', '1.12.14'
pod 'GoogleAds-IMA-iOS-SDK', '3.14.4'
and the run
pod install
Manual integration
Step 1: Download Flowplayer here.
Step 2: Add Flowplayer to project.
Step 3: Add FlowplayerCore to project.
Step 4: Add FlowplayerChromecast to project (OPTIONAL).
Step 5: Add Flowplayer dependencies Google IMA and Rollbar.
Step 6: Compile and run.
Usage
Follow the official Flowplayer docs