# @theoplayer/react-native-analytics-adobe

## 1.17.0

### ✨ Features

* * Restricted the supported OptiView (THEOplayer) player versions to v10 and v11. On Android, the default `THEOplayer_sdk` version range is now `[10.0.0, 12.0.0)` for every connector.

## 1.16.0

### ✨ Features

* Added support for THEOplayer v11 and React Native THEOplayer v11.

## 1.15.1

### 🐛 Issues

* Fixed an issue where heart-beat requests could continue after destroying a session on Web.

## 1.15.0

### ✨ Features

* Changed license to BSD 3-Cause Clear. See [LICENSE](https://github.com/THEOplayer/react-native-connectors/blob/-/adobe/LICENSE) file for more information.

## 1.14.3

### 🐛 Issues

* Fixed an issue on Android where the playhead for Live events would exceed the maximum value.

## 1.14.2

### 🐛 Issues

* Fixed an issue on Android where the properties from the passed metadata was not included with the `sessions` request.
* Fixed an issue where the required `visitor.marketingCloudUserId` property was not included with the `sessions` request.

## 1.14.1

### 🐛 Issues

* Fixed an issue on Android where the connector could crash when adding new events because of a `ConcurrentModificationException`.

## 1.14.0

### ✨ Features

* Fixed an issue on Android where the event payload would be partially obfuscated when enabling minification with R8.
* Fixed an issue on Android where the `playhead` and `contentLength` payload properties should be integers.

## 1.13.0

### ✨ Features

* Fixed an issue on Android where chapter events would not be properly reported.
* Updated Android's target SDK version to 36.

## 1.12.2

### 🐛 Issues

* Fixed an issue where player API was used on the wrong thread, resulting in a crash due to concurrent access of player internals.

## 1.12.1

### 🐛 Issues

* Fixed an issue where the native connector would not be properly destroyed in case the player's native handle would become unavailable.

## 1.12.0

### ✨ Features

* Added support for THEOplayer v10 and React Native THEOplayer v10.

## 1.11.0

### ✨ Features

* Added optional native connector implementations for iOS and Android.

## 1.10.0

### ✨ Features

* Bumped dependency on react-native-device-info

## 1.9.0

### ✨ Features

* Added support for THEOplayer 9.0.

## 1.8.0

### ✨ Features

* Added sdkVersions API to Nielsen, Mux, Conviva, Comscore, Adobe and Engage connectors

## 1.7.1

### 🐛 Issues

* Fixed a build issue where the `Settings` object would not be found when using the connector with react-native-web.

## 1.7.0

### ✨ Features

* Dropped usage of the NativeModules import to make the connector ready for the new architecture

### 📦 Dependency Updates

* Updated dependency `react-native-device-info` to version `>=10.0.0 <14.0.0`.

## 1.6.0

### ✨ Features

* Added support for THEOplayer 8.0

## 1.5.0

### 🐛 Issues

* Fixed an issue on Web where an asset with a pre-roll ad would report an invalid media duration.

### ✨ Features

* Added `debug` flag for extra logging.

## 1.4.0

### 📦 Dependency Updates

* Added support for `react-native-theoplayer` v7.0.0 and native player SDK v7.0.0.

## 1.3.1

### 🐛 Issues

* Fixed an issue where the `media.length` would be not be correctly converted to seconds for VOD and Live streams.

## 1.3.0

### 🐛 Issues

* Fixed an issue where the `media.length` would be wrong when starting a session for a stream with a pre-roll ad.

## 1.2.1

### 📦 Dependency Updates

* Relax restriction on `react-native-theoplayer` peer dependency versions.

## 1.2.0

### 📦 Dependency Updates

* Added support for `react-native-theoplayer` v3.0 and THEOplayer 6.0.

## 1.1.0

### ✨ Features

* Added a `userAgent` property to the connector's constructor to allow setting a custom `User-Agent` header value when doing requests.
* Changed the default `User-Agent` header value on Android to custom value that contains `Mozilla/5.0 (Linux; U; ${operatingSystem}; ${localeString}; ${deviceName} Build/${deviceBuildId})`.
* Changed the default `User-Agent` header value on iOS to custom value that contains `Mozilla/5.0 (${model}; CPU OS ${osVersion} like Mac OS X; ${localeIdentifier})`.

## 1.0.0

### ✨ Features

* Added `useAdobe` hook to create and initialize an Adobe connector. See README.md for usage.

## 0.7.0

### 🐛 Issues

* Fixed sending play/pause on program boundaries.
* Fixed sending ad ping events if a program boundary occurs mid ad.

## 0.6.0

### ✨ Features

* Add `media.name` to `sessionStart` request if `player.source.metadata.title` is set.
* Add functionality to stop the current session and start a new one.

## 0.5.0

### ✨ Features

* Removed numeric separators for constants.

## 0.4.0

### ✨ Features

* Optional metadata field to the constructor.

## 0.3.0

### 🐛 Issues

* Fixed correctly passing the `playHead` property.
* Fixed correctly passing custom metadata to the session request.
* Fixed an issue where the `chapterStart` parameters would be missing.
* Fixed some http issues during `sendEventRequest`.

### ✨ Features

* Improved sending error event.
* Improved property typing.

## 0.2.0

### 🐛 Issues

* Removed a `postinstall` script from package.json.
* Fixed an issue where the session would not be ended when destroying the connector.

## 0.1.0

### ✨ Features

* Initial release
