-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathplugin.xml
44 lines (35 loc) · 1.27 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
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.scispike.logger"
version="0.0.2">
<name>Logger</name>
<description>Get logs</description>
<license>MIT</license>
<engines>
<engine name="cordova" version=">=3.0.0" />
</engines>
<js-module src="www/logger.js" name="logger">
<clobbers target="logger" />
</js-module>
<!-- android -->
<platform name="android">
<config-file target="AndroidManifest.xml" parent="/manifest/application">
<service android:name="com.scispike.logger.LoggerService">
<intent-filter>
<action android:name="com.scispike.logger.LoggerService" />
</intent-filter>
</service>
</config-file>
<config-file target="res/xml/config.xml" parent="/*">
<feature name="Logger">
<param name="android-package" value="com.scispike.logger.Logger" />
</feature>
</config-file>
<source-file src="src/android/com/scispike/logger/Logger.java"
target-dir="src/com/scispike/logger" />
<source-file src="src/android/com/scispike/logger/LoggerService.java"
target-dir="src/com/scispike/logger" />
<config-file target="AndroidManifest.xml" parent="/manifest">
<uses-permission android:name="android.permission.READ_LOGS" />
</config-file>
</platform>
</plugin>