-
Notifications
You must be signed in to change notification settings - Fork 1
/
plugin.xml
63 lines (58 loc) · 2.91 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
<?xml version="1.0" encoding="UTF-8"?>
<!-- The id must be unambiguous, reverse-domain format is used -->
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="cordova-plugin-logentries" version="0.0.1">
<!-- Name, description and other stuff-->
<name>Cordova LogEntries</name>
<description>cordova plugin for LogEntries</description>
<license>Apache 2.0</license>
<keywords>LogEntries</keywords>
<!-- Define the path to the common JavaScript interface -->
<js-module src="www/LogEntries.js" name="LogEntries">
<!-- indicates that the module.exports is inserted into the window object as window.customaction You can have as many <clobbers> as you like.-->
<clobbers target="LogEntries" />
</js-module>
<platform name="ios">
<preference name="LOG_ENTRIES_API_KEY" />
<config-file target="*-Info.plist" parent="LOG_ENTRIES_API_KEY">
<string>$LOG_ENTRIES_API_KEY</string>
</config-file>
<config-file target="config.xml" parent="/*">
<feature name="LogEntries">
<param name="ios-package" value="LogEntries" />
<param name="onload" value="true" />
</feature>
</config-file>
<header-file src="src/ios/LogEntries.h" />
<source-file src="src/ios/LogEntries.m" />
<header-file src="src/ios/lelib/LEBackgroundThread.h" />
<source-file src="src/ios/lelib/LEBackgroundThread.m" />
<header-file src="src/ios/lelib/lecore.h" />
<source-file src="src/ios/lelib/lecore.m" />
<header-file src="src/ios/lelib/lelib.h" />
<header-file src="src/ios/lelib/LELog.h" />
<source-file src="src/ios/lelib/LELog.m" />
<header-file src="src/ios/lelib/LeNetworkStatus.h" />
<source-file src="src/ios/lelib/LeNetworkStatus.m" />
<header-file src="src/ios/lelib/LogFile.h" />
<source-file src="src/ios/lelib/LogFile.m" />
<header-file src="src/ios/lelib/LogFiles.h" />
<source-file src="src/ios/lelib/LogFiles.m" />
</platform>
<!-- android -->
<platform name="android">
<preference name="LOG_ENTRIES_API_KEY" />
<source-file src="src/android/res/values/le.xml" target-dir="res/values/" />
<config-file target="res/values/le.xml" parent="/*">
<string name="LOG_ENTRIES_API_KEY">$LOG_ENTRIES_API_KEY</string>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="LogEntries">
<param name="android-package" value="com.spoon.LogEntries.LogEntries"/>
<param name="onload" value="true"/>
</feature>
</config-file>
<framework src="src/android/plugin.gradle" custom="true" type="gradleReference"/>
<source-file src="src/android/LogEntries.java" target-dir="src/com/spoon/LogEntries"/>
</platform>
</plugin>