-
Notifications
You must be signed in to change notification settings - Fork 7
/
plugin.xml
144 lines (138 loc) · 7.54 KB
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<?xml version='1.0' encoding='utf-8'?>
<plugin
id="iamport-cordova"
version="0.10.2"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
>
<name>IamportCordova</name>
<!-- TODO-->
<!-- <preference name="URL_SCHEME" /> -->
<!-- DEPENDENCIES -->
<dependency id="cordova-plugin-device"/>
<!-- 웹뷰 소스 파일 -->
<asset src="www/iamport-webview.html" target="iamport-webview.html"></asset>
<js-module name="IamportCordova" src="www/IamportCordova.js">
<clobbers target="cordova.plugins.IamportCordova" />
</js-module>
<!-- android -->
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="IamportCordova">
<param name="android-package" value="kr.iamport.cordova.IamportCordova" />
</feature>
<preference name="AndroidLaunchMode" value="singleInstance" />
<allow-navigation href="*" /> <!-- cordova-plugin-whitelist 에 의해 chrome browser 새창열림 방지(ex. location.href = 'url') -->
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<activity
android:name="kr.iamport.cordova.IamportActivity"
android:label="IamportActivity"
>
</activity>
</config-file>
<source-file src="src/android/iamport_activity.xml" target-dir="res/layout" />
<source-file src="src/android/iamport_actionbar.xml" target-dir="res/layout" />
<source-file src="src/android/iamport_actionbar_actions.xml" target-dir="res/menu" />
<source-file src="src/android/drawable-anydpi/ic_action_back.xml" target-dir="res/drawable-anydpi" />
<source-file src="src/android/drawable-anydpi/ic_action_close.xml" target-dir="res/drawable-anydpi" />
<source-file src="src/android/drawable-hdpi/ic_action_back.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/drawable-hdpi/ic_action_close.png" target-dir="res/drawable-hdpi" />
<source-file src="src/android/drawable-mdpi/ic_action_back.png" target-dir="res/drawable-mdpi" />
<source-file src="src/android/drawable-mdpi/ic_action_close.png" target-dir="res/drawable-mdpi" />
<source-file src="src/android/drawable-xhdpi/ic_action_back.png" target-dir="res/drawable-xhdpi" />
<source-file src="src/android/drawable-xhdpi/ic_action_close.png" target-dir="res/drawable-xhdpi" />
<source-file src="src/android/drawable-xxhdpi/ic_action_back.png" target-dir="res/drawable-xxhdpi" />
<source-file src="src/android/drawable-xxhdpi/ic_action_close.png" target-dir="res/drawable-xxhdpi" />
<source-file src="src/android/IamportCordova.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportActivity.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportWebViewClient.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportWebChromeClient.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportPaymentWebViewClient.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportNiceWebViewClient.java" target-dir="src/kr/iamport/cordova" />
<source-file src="src/android/IamportCertificationWebViewClient.java" target-dir="src/kr/iamport/cordova" />
</platform>
<!-- ios -->
<platform name="ios">
<config-file parent="/*" target="config.xml">
<feature name="IamportCordova">
<param name="ios-package" value="IamportCordova" />
</feature>
</config-file>
<source-file src="src/ios/arrow-back.png" />
<source-file src="src/ios/IamportCordova.m" />
<source-file src="src/ios/IamportCordova.h" />
<header-file src="src/ios/IamportViewController.h" />
<source-file src="src/ios/IamportViewController.m" />
<source-file src="src/ios/IamportPaymentViewController.h" />
<source-file src="src/ios/IamportPaymentViewController.m" />
<source-file src="src/ios/IamportInicisViewController.h" />
<source-file src="src/ios/IamportInicisViewController.m" />
<source-file src="src/ios/IamportNiceViewController.h" />
<source-file src="src/ios/IamportNiceViewController.m" />
<source-file src="src/ios/IamportCertificationViewController.h" />
<source-file src="src/ios/IamportCertificationViewController.m" />
<!-- <config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLName</key>
<string></string>
<key>CFBundleURLSchemes</key>
<array>
<string>$URL_SCHEME</string>
</array>
</dict>
</array>
</config-file> -->
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>kftc-bankpay</string> <!-- 계좌이체 -->
<string>ispmobile</string> <!-- ISP모바일 -->
<string>itms-apps</string> <!-- 앱스토어 -->
<string>hdcardappcardansimclick</string> <!-- 현대카드-앱카드 -->
<string>smhyundaiansimclick</string> <!-- 현대카드-공인인증서 -->
<string>shinhan-sr-ansimclick</string> <!-- 신한카드-앱카드 -->
<string>smshinhanansimclick</string> <!-- 신한카드-공인인증서 -->
<string>kb-acp</string> <!-- 국민카드-앱카드 -->
<string>mpocket.online.ansimclick</string> <!-- 삼성카드-앱카드 -->
<string>ansimclickscard</string> <!-- 삼성카드-온라인결제 -->
<string>ansimclickipcollect</string> <!-- 삼성카드-온라인결제 -->
<string>vguardstart</string> <!-- 삼성카드-백신 -->
<string>samsungpay</string> <!-- 삼성카드-삼성페이 -->
<string>scardcertiapp</string> <!-- 삼성카드-공인인증서 -->
<string>lottesmartpay</string> <!-- 롯데카드-모바일결제 -->
<string>lotteappcard</string> <!-- 롯데카드-앱카드 -->
<string>cloudpay</string> <!-- 하나카드-앱카드 -->
<string>nhappcardansimclick</string> <!-- 농협카드-앱카드 -->
<string>nonghyupcardansimclick</string> <!-- 농협카드-공인인증서 -->
<string>citispay</string> <!-- 씨티카드-앱카드 -->
<string>citicardappkr</string> <!-- 씨티카드-공인인증서 -->
<string>citimobileapp</string> <!-- 씨티카드-간편결제 -->
<string>kakaotalk</string> <!-- 카카오톡 -->
<string>payco</string> <!-- 페이코 -->
<string>lpayapp</string> <!-- (구)롯데 L페이 -->
<string>hanamopmoasign</string> <!-- 하나카드 공인인증앱 -->
<string>wooripay</string> <!-- (구) 우리페이 -->
<string>nhallonepayansimclick</string> <!-- NH 올원페이 -->
<string>hanawalletmembers</string> <!-- 하나카드(하나멤버스 월렛) -->
<string>chaipayment</string> <!-- 차이 -->
<string>kb-auth</string> <!-- 국민 -->
<string>hyundaicardappcardid</string> <!-- 현대카드 -->
<string>com.wooricard.wcard</string> <!-- 우리won페이 -->
<string>lmslpay</string> <!-- 롯데 L페이 -->
<string>lguthepay-xpay</string> <!-- 페이나우 -->
<string>liivbank</string> <!-- Liiv 국민 -->
<string>supertoss</string> <!-- 토스 -->
<string>newsmartpib</string> <!-- 우리WON뱅킹 -->
</array>
</config-file>
<config-file target="*-Info.plist" parent="NSAppTransportSecurity">
<dict>
<key>NSAllowsArbitraryLoadsInWebContent</key>
<true/>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</config-file>
</platform>
</plugin>