diff --git a/README.md b/README.md index 4d6c69c..0f995af 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ https://www.npmjs.com/package/rn-qr-generator `$ npm install rn-qr-generator --save` -### Mostly automatic installation +## Mostly automatic installation `$ react-native link rn-qr-generator` @@ -21,7 +21,7 @@ cd ios && pod install && cd ../ ``` ___ -### Manual installation +## Manual installation #### iOS @@ -37,7 +37,7 @@ ___ - Add `import com.gevorg.reactlibrary.RNQrGeneratorPackage;` to the imports at the top of the file - Add `new RNQrGeneratorPackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: - ``` + ```diff rootProject.name = 'MyApp' include ':app' @@ -45,12 +45,11 @@ ___ + project(':rn-qr-generator').projectDir = new File(rootProject.projectDir, '../node_modules/rn-qr-generator/android') ``` 3. Insert the following lines inside the dependencies block in `android/app/build.gradle`: + ```diff + dependencies { + + compile project(':rn-qr-generator') + } ``` - dependencies{ - + compile project(':rn-qr-generator') - } - ``` - ## Usage ```javascript diff --git a/RNQrGenerator.podspec b/RNQrGenerator.podspec index 3ecf0f3..a545dfc 100644 --- a/RNQrGenerator.podspec +++ b/RNQrGenerator.podspec @@ -12,6 +12,7 @@ Pod::Spec.new do |s| s.homepage = package['homepage'] s.platform = :ios, "7.0" + s.tvos.deployment_target = '13.0' s.source = { :git => "https://github.com/gevorg94/rn-qr-generator.git", :tag => "master" } s.source_files = "ios/**/*.{h,m}" s.requires_arc = true diff --git a/package.json b/package.json index 2511453..240fd75 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rn-qr-generator", - "version": "1.1.6", + "version": "1.1.7", "description": "React native QR Code generator", "main": "index.js", "types": "typings/index.d.ts",