We're happy to announce that we have updated the Brightcove App SDK for iOS with region and type changes. Version 1.2.2 contains a change in the way developers set their region and changes some model object properties and API parameters to the long long type from double. Go to Brightcove App SDK for iOS for links to the zip files that include the latest versions of the SDK. Let us know what you think in the Mobile SDK forum and feel free to post feature requests.
- Region support is needed in both libraries, for changing API call endpoints in libBrightcoveMediaAPI.a and telling the libBrightcoveiPadiPhoneKit.a library where to send tracking data. Setting a region is now centralized is it's own class BCConfigManager. This class will manage any future properties that both libraries need to share as well.
- The switch to the long long type from double will affect any number values you where using with the API. You no longer need the decimal and need to append the LL suffix to the integer value, 12345LL. Also if you have put any values into an NSNumber you would need to use the long long flavored methods instead of the double ones, i.e. initWithLongLong: and longLongValue. Why the change? This type better reflects the value returned from the Brightcove Media APIs.