-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathplugin.xml
executable file
·123 lines (105 loc) · 5.82 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-kakao-sdk"
name="cordova-plugin-kakao-sdk"
version="3.0.6">
<name>KakaoCordovaSDK</name>
<description>Kakao Cordova SDK Plugin</description>
<engines>
<engine name="cordova-android" version=">3.9.9" /><!-- Requires Gradle building -->
</engines>
<js-module src="www/AuthConstant.js" name="AuthConstant">
<clobbers target="AuthConstant" />
</js-module>
<js-module name="KakaoCordovaSDK" src="www/KakaoCordovaSDK.js">
<clobbers target="KakaoCordovaSDK" />
</js-module>
<preference name="KAKAO_APP_KEY" />
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="KakaoCordovaSDK">
<param name="android-package" value="com.raccoondev85.plugin.kakao.KakaoCordovaSDK" />
</feature>
<access origin="https://*.kakao.com" />
<access origin="https://*.kakao.co.kr" />
<access origin="https://*.kakaocdn.net" />
</config-file>
<source-file src="src/android/res/values/kakao_strings.xml" target-dir="res/values" />
<source-file src="src/android/res/values-ko/kakao_strings.xml" target-dir="res/values-ko" />
<config-file target="res/values/kakao_strings.xml" parent="/*">
<string name="kakao_app_key">$KAKAO_APP_KEY</string>
<string name="kakao_scheme">kakao$KAKAO_APP_KEY</string>
<string name="kakaolink_host">kakaolink</string>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<meta-data android:name="com.kakao.sdk.AppKey" android:value="@string/kakao_app_key" />
</config-file>
<config-file target="AndroidManifest.xml" parent="application/activity">
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="@string/kakao_scheme" android:host="@string/kakaolink_host" />
</intent-filter>
</config-file>
<framework src="src/android/kakao.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/KakaoCordovaSDK.java" target-dir="src/com/raccoondev85/plugin/kakao" />
<source-file src="src/android/KakaoResources.java" target-dir="src/com/raccoondev85/plugin/kakao" />
<source-file src="src/android/KakaoStoryLink.java" target-dir="src/com/raccoondev85/plugin/kakao" />
<source-file src="src/android/KakaoCordovaErrorHandler.java" target-dir="src/com/raccoondev85/plugin/kakao" />
<resource-file src="src/android/res/values/styles.xml" target="res/values/styles.xml" />
<resource-file src="src/android/res/drawable/account.png" target="res/drawable/account.png" />
<resource-file src="src/android/res/drawable/btn_x.png" target="res/drawable/btn_x.png" />
<resource-file src="src/android/res/drawable/story.png" target="res/drawable/story.png" />
<resource-file src="src/android/res/drawable/talk.png" target="res/drawable/talk.png" />
<resource-file src="src/android/res/drawable/selector_login_button.xml" target="res/drawable/selector_login_button.xml" />
<resource-file src="src/android/res/layout/layout_login_dialog.xml" target="res/layout/layout_login_dialog.xml" />
<resource-file src="src/android/res/layout/layout_login_item.xml" target="res/layout/layout_login_item.xml" />
</platform>
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="KakaoCordovaSDK">
<param name="ios-package" value="KakaoCordovaSDK" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="KAKAO_APP_KEY">
<string>$KAKAO_APP_KEY</string>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>kakao$KAKAO_APP_KEY</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>kakao$KAKAO_APP_KEY</string>
<string>kakaokompassauth</string>
<string>storykompassauth</string>
<string>kakaolink</string>
<string>storylink</string>
<string>kakaotalk-5.9.7</string>
<string>kakaostory-2.9.0</string>
</array>
</config-file>
<framework src="QuartzCore.framework" />
<framework src="src/ios/KakaoCommon.framework" custom="true" />
<framework src="src/ios/KakaoLink.framework" custom="true" />
<framework src="src/ios/KakaoMessageTemplate.framework" custom="true" />
<framework src="src/ios/KakaoOpenSDK.framework" custom="true" />
<framework src="src/ios/KakaoPlusFriend.framework" custom="true" />
<framework src="src/ios/KakaoS2.framework" custom="true" />
<source-file src="src/ios/KakaoCordovaSDK.m" />
<header-file src="src/ios/KakaoCordovaSDK.h" />
<source-file src="src/ios/KakaoCordovaStoryLinkHelper.m" />
<header-file src="src/ios/KakaoCordovaStoryLinkHelper.h" />
</platform>
</plugin>