-
Notifications
You must be signed in to change notification settings - Fork 23
/
plugin.xml
73 lines (63 loc) · 2.25 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" id="cordova-line-login-plugin" version="1.2.11">
<name>Line Login</name>
<js-module src="www/lineLogin.js">
<clobbers target="lineLogin" />
</js-module>
<engines>
<engine name="cordova" version=">=7.1.0"/>
<engine name="cordova-android" version=">=8.0.0"/>
<engine name="cordova-ios" version=">=4.5.0"/>
</engines>
<!-- iOS -->
<platform name="ios">
<config-file target="config.xml" parent="/*">
<feature name="LineLogin">
<param name="ios-package" value="LineLogin" />
</feature>
</config-file>
<config-file target="*-Info.plist" parent="CFBundleURLTypes">
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>line3rdp.$(PRODUCT_BUNDLE_IDENTIFIER)</string>
</array>
</dict>
</array>
</config-file>
<config-file target="*-Info.plist" parent="LSApplicationQueriesSchemes">
<array>
<string>lineauth2</string>
</array>
</config-file>
<dependency id="cordova-plugin-add-swift-support" version="2.0.2"/>
<source-file src="src/ios/AppDelegate+LineLogin.h" />
<source-file src="src/ios/AppDelegate+LineLogin.m" />
<source-file src="src/ios/LineLogin.swift" />
<podspec>
<config>
<source url="https://cdn.cocoapods.org/"/>
</config>
<pods use-frameworks="true">
<pod name="LineSDKSwift/ObjC" spec="5.5.1"/>
</pods>
</podspec>
</platform>
<!-- Android -->
<platform name="android">
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LineLogin">
<param name="android-package" value="plugin.line.LineLogin"/>
</feature>
</config-file>
<source-file src="src/android/LineLogin.java" target-dir="src/plugin/line" />
<config-file target="AndroidManifest.xml" parent="/*">
<uses-permission android:name="android.permission.INTERNET" />
</config-file>
<framework src="src/android/line.gradle" custom="true" type="gradleReference" />
<hook type="after_prepare" src="src/scripts/after_prepare.js"/>
</platform>
</plugin>