@takeoffmedia/react-native-penthera 0.1.9 → 0.1.10

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.
Files changed (2) hide show
  1. package/ios/Penthera.swift +10 -10
  2. package/package.json +1 -1
@@ -89,15 +89,15 @@ class Penthera: RCTEventEmitter, VirtuosoDownloadEngineNotificationsDelegate {
89
89
  offlineCatalogs.append(catalog)
90
90
  }
91
91
 
92
- for case let va as VirtuosoAsset in pendingAssets {
93
- let catalog = OfflineCatalog(
94
- id: va.assetID,
95
- data: DataItem(),
96
- isCompleted: false,
97
- isPaused: va.isPaused
98
- )
99
- offlineCatalogs.append(catalog)
100
- }
92
+ // for case let va as VirtuosoAsset in pendingAssets {
93
+ // let catalog = OfflineCatalog(
94
+ // id: va.assetID,
95
+ // data: DataItem(),
96
+ // isCompleted: false,
97
+ // isPaused: va.isPaused
98
+ // )
99
+ // offlineCatalogs.append(catalog)
100
+ // }
101
101
 
102
102
  let decoder = JSONEncoder()
103
103
  do {
@@ -140,7 +140,7 @@ class Penthera: RCTEventEmitter, VirtuosoDownloadEngineNotificationsDelegate {
140
140
  duration: asset.duration,
141
141
  estimatedSize: Int(asset.estimatedSize),
142
142
  progress: Int(asset.fractionComplete*100),
143
- isCompleted: asset.isPlayable,
143
+ isCompleted: false,
144
144
  isPaused: asset.isPaused
145
145
  )
146
146
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takeoffmedia/react-native-penthera",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "test",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",