forked from lihak/KakaoTalkCordovaPlugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.xml
99 lines (84 loc) · 3.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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-plugin-kakaotalk" name="cordova-plugin-kakaotalk" version="1.0.26-hogangnono">
<name>KakaoTalk</name>
<description>KakaoTalk Cordova Plugin</description>
<engines>
<engine name="cordova-android" version=">3.9.9" />
<!-- Requires Gradle building -->
</engines>
<js-module name="KakaoTalk" src="www/KakaoTalk.js">
<clobbers target="KakaoTalk" />
</js-module>
<preference name="KAKAO_APP_KEY" />
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="KakaoTalk">
<param name="android-package" value="com.hogangnono.plugin.kakao.KakaoTalk" />
</feature>
<access origin="https://*.kakao.com" />
<access origin="https://*.kakao.co.kr" />
<access origin="https://*.kakaocdn.net" />
</config-file>
<config-file target="res/values/kakao_strings.xml" parent="/*">
<string name="kakao_app_key">$KAKAO_APP_KEY</string>
</config-file>
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.INTERNET" />
<queries>
<package android:name="com.kakao.talk" />
</queries>
</config-file>
<config-file target="AndroidManifest.xml" parent="application">
<activity android:name="com.kakao.sdk.auth.AuthCodeHandlerActivity" android:exported="true">
<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:host="oauth" android:scheme="kakao$KAKAO_APP_KEY" />
</intent-filter>
</activity>
<meta-data android:name="com.kakao.sdk.AppKey" android:value="@string/kakao_app_key" />
</config-file>
<framework src="src/android/kakao.gradle" custom="true" type="gradleReference" />
<source-file src="src/android/KakaoTalk.java" target-dir="src/com/hogangnono/plugin/kakao" />
</platform>
<platform name="ios">
<podspec>
<pods use-frameworks="true">
<pod name="KakaoSDKCommon" spec="2.22.0"/>
<pod name="KakaoSDKAuth" spec="2.22.0"/>
<pod name="KakaoSDKUser" spec="2.22.0"/>
</pods>
</podspec>
<config-file target="config.xml" parent="/*">
<preference name="deployment-target" value="13.0" />
<preference name="SwiftVersion" value="5.0" />
<feature name="KakaoTalk">
<param name="ios-package" value="KakaoTalk" />
</feature>
</config-file>
<source-file src="src/ios/KakaoTalk.swift" />
<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>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>kakao$KAKAO_APP_KEY</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>kakaokompassauth</string>
<string>kakaolink</string>
<string>kakaotalk-5.9.7</string>
</array>
</config-file>
</platform>
</plugin>