From 882b30fa335f2dd4df323dc125d60c5dc9150727 Mon Sep 17 00:00:00 2001 From: Poyan Nabati Date: Mon, 26 Jun 2017 12:00:46 +0200 Subject: [PATCH 1/2] Added cocoapod install info to README --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 0af5abe..508b348 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,19 @@ If you're using React-Native >= 0.29 just link the library with the command `rea If you're having any issue you can also try to install the library manually as follows. +## Automatic setup with Cocoapods + +After installing the npm package, add the following to your Podfile + +``` + pod 'RNI18n', :path => 'node_modules/react-native-i18n' +``` + +and run +``` + pod install +``` + ## Manual setup ### iOS From 3a8862610f7adc687226296129e875e32fd5e511 Mon Sep 17 00:00:00 2001 From: Poyan Nabati Date: Mon, 26 Jun 2017 12:01:10 +0200 Subject: [PATCH 2/2] Updated Podspec file with homepage attribute --- RNI18n.podspec | 1 + 1 file changed, 1 insertion(+) diff --git a/RNI18n.podspec b/RNI18n.podspec index 44b4462..fd62a02 100644 --- a/RNI18n.podspec +++ b/RNI18n.podspec @@ -5,6 +5,7 @@ Pod::Spec.new do |s| s.name = "RNI18n" s.version = version s.description = "https://github.com/AlexanderZaytsev/react-native-i18n" + s.homepage = "https://github.com/AlexanderZaytsev/react-native-i18n" s.summary = "React Native + i18n.js" s.license = "MIT" s.author = { "Alexander Zaytsev" => "alexander@say26.com" }