-
Notifications
You must be signed in to change notification settings - Fork 414
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add ios react native directory to header search paths (for pods) * Make the ios search path recursive * Bump to 0.7.2 * Update ReactNativePayments.m Add support for MADA payment Saudi Arabia * sync from react-native-easy-payments * fixed this on the intents branch which isn’t quite ready yet, so I’ll commit here * bugfix - incompatible export of PKPaymentButton * update readme linking to iOS example project * update organization name format * delete old stripe project so people don't get confused * also delete braintree, the iOS example project explains clearly how to use it Co-authored-by: rkaartikeyan <[email protected]>
- Loading branch information
1 parent
8c36fad
commit 8e160e7
Showing
438 changed files
with
12,094 additions
and
29,685 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
const IGNORE = 0; | ||
const WARN = 1; | ||
const ERROR = 2; | ||
|
||
module.exports = { | ||
"extends": "airbnb-base", | ||
"parser": "babel-eslint", | ||
"plugins": [ | ||
"flowtype" | ||
], | ||
"rules": { | ||
"import/no-named-as-default-member": IGNORE, | ||
"import/no-named-as-default": IGNORE, | ||
"no-tabs": IGNORE, | ||
"camelcase": IGNORE, | ||
"no-console": IGNORE, | ||
"no-param-reassign": IGNORE, | ||
"import/prefer-default-export": IGNORE, | ||
"consistent-return": IGNORE, | ||
"max-len": IGNORE, | ||
"no-continue": IGNORE, | ||
'no-case-declarations': IGNORE, | ||
"indent": [ERROR, 2, { "SwitchCase": 1, "VariableDeclarator": 1, "ignoredNodes": ["TemplateLiteral > *"] }], | ||
"class-methods-use-this": IGNORE, | ||
"no-restricted-syntax": IGNORE, | ||
"prefer-template": IGNORE, | ||
"no-plusplus": IGNORE, | ||
"default-case": IGNORE, | ||
"no-useless-constructor": IGNORE, | ||
"jsx-a11y/accessible-emoji": IGNORE, | ||
"no-use-before-define": IGNORE, | ||
"curly": IGNORE, | ||
"no-unused-expressions": [ERROR, { "allowShortCircuit": true }], | ||
"prefer-destructuring": IGNORE, | ||
"no-await-in-loop": IGNORE, | ||
"global-require": IGNORE, | ||
"func-names": IGNORE, | ||
"linebreak-style": IGNORE, | ||
"no-empty-function": IGNORE, | ||
"no-labels": IGNORE, | ||
"func-names": IGNORE, | ||
"guard-for-in": IGNORE, | ||
"radix": IGNORE, | ||
"import/no-dynamic-require": IGNORE, | ||
"quote-props": IGNORE, | ||
"no-shadow": IGNORE, | ||
"no-extra-label": IGNORE, | ||
"arrow-parens": IGNORE, | ||
"quotes": IGNORE, | ||
"prefer-rest-params": IGNORE, | ||
"no-nested-ternary": IGNORE, | ||
"newline-per-chained-call": IGNORE, | ||
"no-restricted-globals": IGNORE, | ||
"dot-notation": IGNORE, | ||
"arrow-body-style": IGNORE, | ||
"no-loop-func": IGNORE, | ||
"no-useless-escape": IGNORE, | ||
"no-trailing-spaces": IGNORE, | ||
"import/order": IGNORE, | ||
"no-lonely-if": IGNORE, | ||
}, | ||
"env": { | ||
"jest": true | ||
}, | ||
}; |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,45 @@ | ||
# System | ||
# | ||
.DS_Store | ||
|
||
# Xcode | ||
# | ||
build/ | ||
*.pbxuser | ||
!default.pbxuser | ||
*.mode1v3 | ||
!default.mode1v3 | ||
*.mode2v3 | ||
!default.mode2v3 | ||
*.perspectivev3 | ||
!default.perspectivev3 | ||
xcuserdata | ||
*.xccheckout | ||
*.moved-aside | ||
DerivedData | ||
*.hmap | ||
*.ipa | ||
*.xcuserstate | ||
|
||
# Android | ||
**/android/**/.idea | ||
**/android/**/*.iml | ||
**/android/**/gradlew* | ||
**/android/**/*.properties | ||
**/android/**/.gradle | ||
**/android/**/gradle | ||
**/android/**/.settings | ||
**/android/**/.project | ||
|
||
# npm | ||
# | ||
node_modules/ | ||
npm-debug.log | ||
lerna-debug.log | ||
|
||
# editors | ||
# | ||
jsconfig.json | ||
.vscode/* | ||
|
||
# project | ||
# | ||
coverage |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
language: node_js | ||
node_js: | ||
- "node" | ||
env: | ||
- TEST_DIR=packages/react-native-payments | ||
script: cd $TEST_DIR && yarn && yarn test -- --verbose --coverage | ||
script: npm test -- --verbose --coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apply plugin: 'com.android.library' | ||
|
||
android { | ||
compileSdkVersion 28 | ||
buildToolsVersion "28.0.3" | ||
|
||
defaultConfig { | ||
minSdkVersion 21 | ||
targetSdkVersion 28 | ||
versionCode 1 | ||
versionName "1.0" | ||
ndk { | ||
abiFilters "armeabi-v7a", "x86" | ||
} | ||
} | ||
lintOptions { | ||
warning 'InvalidPackage' | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation 'com.facebook.react:react-native:+' | ||
implementation 'com.google.android.gms:play-services-base:17.0.0' | ||
implementation 'com.google.android.gms:play-services-identity:17.0.0' | ||
implementation 'com.google.android.gms:play-services-wallet:17.0.0' | ||
implementation 'com.android.support:support-v4:23.0.1' | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -157,6 +157,7 @@ NativePayments | |
|
||
</details> | ||
|
||
--- | ||
|
||
### show() | ||
Displays Apple Pay/Android Pay to the user. | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.