cordova-plugin-background-service-android3
Version:
A plugin to run background service
52 lines (43 loc) • 2.74 kB
text/xml
<plugin
id="cordova-plugin-background-service-android3"
version="1.0.26"
xmlns="http://apache.org/cordova/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android">
<name>BackgroundServiceAndroid</name>
<description>Cordova Background Android Service Plugin</description>
<keywords>cordova, background service, android</keywords>
<js-module name="BackgroundServiceAndroid" src="www/BackgroundServiceAndroid.js">
<clobbers target="BackgroundServiceAndroid" />
</js-module>
<platform name="android">
<config-file parent="/*" target="res/xml/config.xml">
<feature name="BackgroundServiceAndroid">
<param name="android-package" value="com.amankumar.cordova.BackgroundServiceAndroid.BackgroundServiceAndroid" />
<param name="onload" value="true" />
</feature>
</config-file>
<config-file parent="/manifest/application" target="AndroidManifest.xml">
<service
android:name="com.amankumar.cordova.BackgroundServiceAndroid.WebSocketService"
android:stopWithTask="false" />
<receiver android:name="com.amankumar.cordova.BackgroundServiceAndroid.MyReceiver">
<intent-filter>
<action android:name="com.plugin.opencallactivity" />
</intent-filter>
</receiver>
</config-file>
<framework src="com.android.support:support-v4:27.0.1" />
<framework src="com.squareup.okhttp3:okhttp:3.5.0" />
<framework src="com.squareup.okhttp3:logging-interceptor:3.5.0" />
<framework src="de.greenrobot:eventbus:2.4.0" />
<framework src="com.squareup:otto:1.3.8" />
<source-file src="src/android/BackgroundServiceAndroid.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/EchoWebSocketListener.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/EventModels.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/Urls.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/WebSocketService.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/MyReceiver.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
<source-file src="src/android/MySharedPreferences.java" target-dir="src/com/amankumar/cordova/BackgroundServiceAndroid" />
</platform>
</plugin>