react-native-tpstreams 1.0.3-debug.2 → 1.0.3-debug.3

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.
@@ -58,6 +58,7 @@ class TPStreamsDownloadModule: RCTEventEmitter, TPStreamsDownloadDelegate {
58
58
 
59
59
  func onProgressChange(assetId: String, percentage: Double) {
60
60
  print("DownloadModule:Download Progress Changed")
61
+ print("DownloadModule: is Download Progress Listening: \(isListening)")
61
62
  if isListening {
62
63
  notifyDownloadsChange()
63
64
  }
@@ -65,6 +66,7 @@ class TPStreamsDownloadModule: RCTEventEmitter, TPStreamsDownloadDelegate {
65
66
 
66
67
  func onStateChange(status: Status, offlineAsset: OfflineAsset) {
67
68
  print("DownloadModule: Download State Changed")
69
+ print("DownloadModule: is Download Progress Listening: \(isListening)")
68
70
  if isListening {
69
71
  notifyDownloadsChange()
70
72
  }
@@ -72,6 +74,7 @@ class TPStreamsDownloadModule: RCTEventEmitter, TPStreamsDownloadDelegate {
72
74
 
73
75
  func onDelete(assetId: String) {
74
76
  print("DownloadModule: Download Deleted")
77
+ print("DownloadModule: is Download Progress Listening: \(isListening)")
75
78
  if isListening {
76
79
  // if let offlineAsset = getOfflineAsset(assetId: assetId) {
77
80
  // notifyDownloadStateChanged(offlineAsset: offlineAsset)
@@ -19,9 +19,7 @@ class TPStreamsModule: NSObject {
19
19
  }
20
20
 
21
21
  private func initializeDownloadModule() {
22
- print("Initializing TPStreamsDownloadModule")
23
22
  let _ = TPStreamsDownloadModule()
24
- print("Intitalized TPStreamsDownloadModule")
25
23
  }
26
24
 
27
25
  @objc
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-tpstreams",
3
- "version": "1.0.3-debug.2",
3
+ "version": "1.0.3-debug.3",
4
4
  "description": "Video component for TPStreams",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",