Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoapods support #62

Merged
merged 2 commits into from Sep 27, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+23 −0
Diff settings

Always

Just for now

Copy path View file
@@ -30,6 +30,13 @@ rnpm link
3. Add `libRNDocumentPicker.a` to `Build Phases -> Link Binary With Libraries`
[(Screenshot)](http://url.brentvatne.ca/17Xfe).

**CocoaPods**

Add the following to your podfile:
```
pod 'react-native-document-picker', :path => '../node_modules/react-native-document-picker`
```

### Android

```gradle
@@ -0,0 +1,16 @@
require 'json'

package = JSON.parse(File.read(File.join(__dir__, 'package.json')))

Pod::Spec.new do |s|
s.name = package['name']
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['homepage']
s.authors = { 'Elyx0' => 'elyx00@gmail.com' }
s.source = { :git => "https://github.com/Elyx0/react-native-document-picker" }
s.source_files = "ios/RNDocumentPicker/*.{h,m}"
s.platform = :ios, "7.0"
s.dependency 'React'
end
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.