Skip to content

Commit

Permalink
Release v1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Rami committed Dec 16, 2019
1 parent 5be729e commit 207114f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@

# react-native-paytabs-library
![Version](https://img.shields.io/badge/Paytabs%20React%20Native%20library-v1.0.3-green)
![Version](https://img.shields.io/badge/Paytabs%20React%20Native%20library-v1.0.4-green)
## Getting started

`$ npm install @gardencoder/[email protected].3 --save`
`$ npm install @paytabscom/[email protected].4 --save`

### Step 1: Link Library

`$ react-native link @gardencoder/[email protected].3`
`$ react-native link @paytabscom/[email protected].4`

OR Manual installation

#### iOS

1. In XCode, in the project navigator, right click `Libraries``Add Files to [your project's name]`
2. Go to `node_modules``@gardencoder/react-native-paytabs-library` and add `RNPaytabsLibrary.xcodeproj`
2. Go to `node_modules``@paytabscom/react-native-paytabs-library` and add `RNPaytabsLibrary.xcodeproj`
3. In XCode, in the project navigator, select your project. Add `libRNPaytabsLibrary.a` to your project's `Build Phases``Link Binary With Libraries`
4. Run your project (`Cmd+R`)<

Expand All @@ -25,12 +25,12 @@ OR Manual installation
- Add `new RNPaytabsLibraryPackage()` to the list returned by the `getPackages()` method
2. Append the following lines to `android/settings.gradle`:
```groovy
include ':@gardencoder/react-native-paytabs-library@1.0.3'
project(':@gardencoder/react-native-paytabs-library@1.0.3').projectDir = new File(rootProject.projectDir, '../node_modules/@gardencoder/react-native-paytabs-library@1.0.3/android')
include ':@paytabscom/react-native-paytabs-library@1.0.4'
project(':@paytabscom/react-native-paytabs-library@1.0.4').projectDir = new File(rootProject.projectDir, '../node_modules/@paytabscom/react-native-paytabs-library@1.0.4/android')
```
3. Insert the following lines inside the dependencies block in `android/app/build.gradle`:
```groovy
compile project(':@gardencoder/react-native-paytabs-library@1.0.3')
compile project(':@paytabscom/react-native-paytabs-library@1.0.4')
```

### Step 2:
Expand All @@ -51,7 +51,7 @@ OR Manual installation

## Usage
```javascript
import RNPaytabsLibrary from '@gardencoder/react-native-paytabs-library';
import RNPaytabsLibrary from '@paytabscom/react-native-paytabs-library';

RNPaytabsLibrary.start({
[RNPaytabsLibrary.merchant_email]: "merchant_email",
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
minSdkVersion 16
targetSdkVersion 29
versionCode 1
versionName "1.0.3"
versionName "1.0.4"
}
lintOptions {
abortOnError false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ public final class BuildConfig {
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "1.0.3";
public static final String VERSION_NAME = "1.0.4";
}
4 changes: 2 additions & 2 deletions ios/RNPaytabsLibrary.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "RNPaytabsLibrary"
s.version = "1.0.2"
s.version = "1.0.4"
s.summary = "RNPaytabsLibrary"
s.description = <<-DESC
RNPaytabsLibrary
Expand All @@ -10,7 +10,7 @@ Pod::Spec.new do |s|
s.license = "MIT"
s.author = { "author" => "[email protected]" }
s.platform = :ios, "7.0"
s.source = { :git => "https://github.com/gardencoder/react-native-paytabs-library.git", :tag => "master" }
s.source = { :git => "https://github.com/paytabscom/react-native-paytabs-library.git", :tag => "master" }
s.source_files = "RNPaytabsLibrary/**/*.{h,m}"
s.requires_arc = true

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@gardencoder/react-native-paytabs-library",
"name": "@paytabscom/react-native-paytabs-library",
"publishConfig": { "registry": "https://npm.pkg.github.com/" },
"version": "1.0.3",
"version": "1.0.4",
"description": "Paytabs react native library",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 207114f

Please sign in to comment.