Fixed Cocoapods-installation, v2.9.6 rolled out

This commit is contained in:
Hagen Hübel 2017-12-21 00:03:43 +01:00
parent 53db6ee78e
commit 5125cd6994
3 changed files with 17 additions and 15 deletions

View File

@ -6,6 +6,7 @@ Native filesystem access for react-native
- (iOS only) Resumable downloads and better background downloads handling [#335](https://github.com/itinance/react-native-fs/pull/335) by [ptelad](https://github.com/ptelad)
- (ANdroid only) getAllExternalFilesDirs() added by [ngrj](https://github.com/ngrj)
- Content URI support [#395](https://github.com/itinance/react-native-fs/pull/395) by [krzysztof-miemiec](https://github.com/krzysztof-miemiec)
- Fixed Cocoapods-Installation
## Changes for v2.8
- Fix for [#346](https://github.com/itinance/react-native-fs/pull/347): compressed file assets are detected as directories thx to [jacargentina](https://github.com/jacargentina)
@ -66,9 +67,6 @@ Done! No need to worry about manually adding the library to your project.
### ~~Adding with CocoaPods~~
Currently we don't support Cocoapods. If you are familiar with it, please feel free to submit PRs.
More Info [here](https://github.com/itinance/react-native-fs/issues/308#issuecomment-319803126).
~~Add the RNFS pod to your list of application pods in your Podfile, using the path from the Podfile to the installed module:~~
~~

View File

@ -1,14 +1,18 @@
require 'json'
pjson = JSON.parse(File.read('package.json'))
Pod::Spec.new do |s|
s.name = "RNFS"
s.version = "2.9.5"
s.summary = "Native filesystem access for react-native"
s.license = 'MIT'
s.homepage = 'n/a'
s.authors = { "Johannes Lumpe" => "johannes@lum.pe" }
s.source = { :git => "git@github.com:itinance/react-native-fs.git" }
s.source_files = '*.{h,m}'
s.name = "RNFS"
s.version = pjson["version"]
s.homepage = "https://github.com/itinance/react-native-fs"
s.summary = pjson["description"]
s.license = pjson["license"]
s.author = { "Johannes Lumpe" => "johannes@lum.pe" }
s.ios.deployment_target = '7.0'
s.source = { :git => "https://github.com/itinance/react-native-fs", :tag => "v#{s.version}" }
s.source_files = '*.{h,m}'
s.preserve_paths = "**/*.js"
s.requires_arc = true
s.platform = :ios, "7.0"
s.dependency 'React/Core'
end

View File

@ -1,6 +1,6 @@
{
"name": "react-native-fs",
"version": "2.9.5",
"version": "2.9.6",
"description": "Native filesystem access for react-native",
"main": "FS.common.js",
"scripts": {