@kesha-antonov/react-native-background-downloader 2.6.6 → 2.6.7

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.
package/README.md CHANGED
@@ -296,6 +296,8 @@ function handleAppStateChange (appState) {
296
296
  const appStateChangeListener = AppState.addEventListener('change', handleAppStateChange)
297
297
  ```
298
298
 
299
+ 4. Call `ensureDownloadsAreRunning()` after all was setup.
300
+
299
301
  ### `Callback Methods`
300
302
  Use these methods to stay updated on what's happening with the task.
301
303
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kesha-antonov/react-native-background-downloader",
3
- "version": "2.6.6",
3
+ "version": "2.6.7",
4
4
  "description": "A library for React-Native to help you download large files on iOS and Android both in the foreground and most importantly in the background.",
5
5
  "keywords": [
6
6
  "react-native",
@@ -1,7 +1,7 @@
1
1
  package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
2
2
 
3
3
  Pod::Spec.new do |s|
4
- s.name = package['name']
4
+ s.name = package['name'].split('/')[1..-1].join('/')
5
5
  s.version = package['version']
6
6
  s.summary = 'React Native background downloader'
7
7
  s.description = package['description']