@takeoffmedia/react-native-penthera 0.4.4 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -84,7 +84,6 @@ class OfflineVideoEngine(private val context: ReactApplicationContext) {
84
84
  onResume()
85
85
  virtuoso.settings.batteryThreshold = 0f
86
86
  virtuoso.startup(
87
- URL(backplaneUrl),
88
87
  userId,
89
88
  android.os.Build.MODEL,
90
89
  publicKey,
@@ -154,7 +153,7 @@ class OfflineVideoEngine(private val context: ReactApplicationContext) {
154
153
  manifestUrl(URL(url))
155
154
  assetObserver(AssetParseObserver(context))
156
155
  addToQueue(true)
157
- desiredVideoBitrate(Int.MAX_VALUE)
156
+ desiredVideoBitrate(Int.MAX_VALUE.toLong())
158
157
  withMetadata(metadata)
159
158
  setClientSideAdSupport(true)
160
159
  withAncillaryFiles(fileList)
@@ -167,7 +167,7 @@ class NotificationFactory(private val applicationName: String) {
167
167
  }
168
168
 
169
169
  var notification: Notification? = null
170
- if (notificationType > -1) {
170
+ if (notificationType > -1 && notificationType != 4 ) {
171
171
  notification = createNotification(notificationType, context, file)
172
172
  }
173
173
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeoffmedia/react-native-penthera",
3
- "version": "0.4.4",
3
+ "version": "0.4.6",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",