@takeoffmedia/react-native-penthera 0.8.5 → 0.8.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.
@@ -315,10 +315,14 @@ class OfflineVideoEngine(private val context: ReactApplicationContext) {
315
315
  .firstOrNull() as? IAsset
316
316
  if (asset != null) {
317
317
  assetManager.delete(asset)
318
- result.putBoolean(idValue, true)
318
+ if (idValue != null) {
319
+ result.putBoolean(idValue, true)
320
+ }
319
321
  assetId.remove(idValue)
320
322
  } else {
321
- result.putBoolean(idValue, false)
323
+ if (idValue != null) {
324
+ result.putBoolean(idValue, false)
325
+ }
322
326
  assetId.remove(idValue)
323
327
  }
324
328
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeoffmedia/react-native-penthera",
3
- "version": "0.8.5",
3
+ "version": "0.8.6",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",