File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,7 +27,27 @@ This is the beta but functional Razer Merchant Services React Native payment mod
2727
2828## Installation
2929
30- ### Android
30+ ### Auto link (RN > 0.61.0)
31+
32+ #### Android
33+
34+ 1 ) npm install molpay-mobile-xdk-reactnative-beta
35+
36+ #### iOS
37+
38+ 1 ) npm install molpay-mobile-xdk-reactnative-beta
39+
40+ 2 ) cd ios && pod install && cd ..
41+
42+ 3 ) Add 'App Transport Security Settings > Allow Arbitrary Loads > YES' to the application project info.plist
43+
44+ 4 ) Add 'NSPhotoLibraryUsageDescription' > 'Payment images' to the application project info.plist
45+
46+ 5 ) Add 'NSPhotoLibraryAddUsageDescription' > 'Payment images' to the application project info.plist
47+
48+ ### Manual link (RN < 0.60.0)
49+
50+ #### Android
3151
32521 ) npm install molpay-mobile-xdk-reactnative-beta
3353
@@ -83,7 +103,7 @@ change the following codes in your `android/app/src/main/res/values/styles.xml`
83103</resources>
84104```
85105
86- ### IOS
106+ #### IOS
87107
881081 ) npm install molpay-mobile-xdk-reactnative-beta
89109
Original file line number Diff line number Diff line change 1+ require 'json'
2+
3+ package = JSON . parse ( File . read ( File . join ( __dir__ , 'package.json' ) ) )
4+
5+ Pod ::Spec . new do |s |
6+ s . name = "molpay-mobile-xdk-reactnative-beta"
7+ s . version = package [ 'version' ]
8+ s . summary = "Razer Merchant Services mobile payment for React Native (BETA)"
9+
10+ s . authors = { "MOLPay Mobile Team" => "mobile-sa@razer.com" }
11+ s . homepage = "https://github.com/MOLPay/rms-mobile-xdk-reactnative-beta#readme"
12+ s . license = "MIT"
13+ s . platform = :ios , "8.0"
14+
15+ s . source = { :git => "https://github.com/MOLPay/rms-mobile-xdk-reactnative-beta" }
16+ s . source_files = "ios/*.{h,m}"
17+ s . resource = 'ios/MOLPayXDK.bundle'
18+
19+ s . dependency 'React'
20+ end
Original file line number Diff line number Diff line change 11{
22 "name" : " molpay-mobile-xdk-reactnative-beta" ,
3- "version" : " 0.27.0 " ,
3+ "version" : " 0.27.1 " ,
44 "description" : " Razer Merchant Services mobile payment for React Native (BETA)" ,
55 "scripts" : {
66 "test" : " echo \" Error: no test specified\" && exit 1"
You can’t perform that action at this time.
0 commit comments