forked from les-buchanan/cordova-usage-stats-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathplugin.xml
18 lines (18 loc) · 1002 Bytes
/
plugin.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-usage-stats-manager" version="1.0.0">
<name>usage-stats-manager</name>
<js-module name="UsageStatistics" src="www/usage-stats-manager.js">
<clobbers target="window.UsageStatistics" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="MyUsageStatsManager">
<param name="android-package" value="com.mobileaccord.geopoll.plugins.MyUsageStatsManager" />
</feature>
</config-file>
<config-file parent="/*" target="AndroidManifest.xml">
<uses-permission android:name="android.permission.PACKAGE_USAGE_STATS"/>
</config-file>
<source-file src="src/android/MyUsageStatsManager.java" target-dir="src/com/mobileaccord/geopoll/plugins" />
</platform>
</plugin>