payjp-react-native 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -11,6 +11,13 @@
|
|
|
11
11
|
|
|
12
12
|
詳細は[公式オンラインドキュメント](https://pay.jp/docs/mobileapp-react-native)を確認ください。
|
|
13
13
|
|
|
14
|
+
## サンプルコード
|
|
15
|
+
|
|
16
|
+
exampleをご覧ください。
|
|
17
|
+
|
|
18
|
+
※Android Emulator環境で3Dセキュア機能を動作させる場合、Chromeアプリが初期画面になっていると3Dセキュアの認証画面が立ち上がらない場合がありますのでご注意ください。 ref: https://github.com/payjp/payjp-android/pull/61
|
|
19
|
+
この事象が起こる場合、一度Chromeアプリを開き初期画面を完了しておくことで解決されます。
|
|
20
|
+
|
|
14
21
|
## Compatible Platforms
|
|
15
22
|
|
|
16
23
|
|Platform|CardForm |ApplePay |
|
package/android/build.gradle
CHANGED
|
@@ -32,7 +32,6 @@ import com.facebook.react.module.annotations.ReactModule
|
|
|
32
32
|
import jp.pay.android.Payjp
|
|
33
33
|
import jp.pay.android.PayjpConfiguration
|
|
34
34
|
import jp.pay.android.PayjpTokenBackgroundHandler
|
|
35
|
-
import jp.pay.android.cardio.PayjpCardScannerPlugin
|
|
36
35
|
import jp.pay.android.model.ClientInfo
|
|
37
36
|
import java.util.Locale
|
|
38
37
|
|
|
@@ -70,7 +69,6 @@ class PayjpModule(
|
|
|
70
69
|
.setDebugEnabled(debugEnabled)
|
|
71
70
|
.setTokenBackgroundHandler(tokenBackgroundHandler)
|
|
72
71
|
.setLocale(locale)
|
|
73
|
-
.setCardScannerPlugin(PayjpCardScannerPlugin)
|
|
74
72
|
.setClientInfo(clientInfo)
|
|
75
73
|
.setThreeDSecureRedirectName(tdsRedirectKey)
|
|
76
74
|
.build()
|
package/ios/Classes/RNPAY.m
CHANGED
package/package.json
CHANGED
|
@@ -19,9 +19,6 @@ Pod::Spec.new do |s|
|
|
|
19
19
|
|
|
20
20
|
s.dependency "React-Core"
|
|
21
21
|
s.dependency 'PAYJP', "~> #{payjp_sdk['ios']}"
|
|
22
|
-
# NOTE: If you need to scan card in your card form, please add the following dependency to your Podfile directly.
|
|
23
|
-
# as default, we don't include this dependency because it causes a issue in arm64 simulator build.
|
|
24
|
-
# s.dependency 'CardIO', '~> 5.4.1'
|
|
25
22
|
s.dependency 'GoogleUtilities/AppDelegateSwizzler', '~> 7.2'
|
|
26
23
|
|
|
27
24
|
end
|