cordova-plugin-mserviceinterface-2.0 1.0.84 → 1.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cordova-plugin-mserviceinterface-2.0",
3
- "version": "1.0.84",
3
+ "version": "1.0.85",
4
4
  "description": "This plugin establishes the connection to the native interface and performs the requested task.",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/plugin.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
2
  <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
3
- xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-mserviceinterface-2.0" version="1.0.84">
3
+ xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-mserviceinterface-2.0" version="1.0.85">
4
4
  <name>mserviceinterface-2.0</name>
5
5
  <description>This plugin establishes the connection to the native interface and performs the requested task.</description>
6
6
  <author>selfservit@gmail.com</author>
@@ -69,7 +69,6 @@
69
69
  </provider>
70
70
  </config-file>
71
71
  <source-file src="src/android/mInterfaceService.java" target-dir="src/com/selfservit/util/" />
72
- <source-file src="src/android/backgroundNotification.java" target-dir="src/com/selfservit/util/" />
73
72
  <source-file src="src/android/mInterfaceReceiver.java" target-dir="src/com/selfservit/util/" />
74
73
  <source-file src="src/android/mInterface.java" target-dir="src/com/selfservit/util/" />
75
74
  <source-file src="src/android/GeofenceBroadcastReceiver.java" target-dir="src/com/selfservit/util/" />
@@ -194,9 +194,6 @@ public class mInterface extends CordovaPlugin implements com.google.android.gms.
194
194
  boolean appInfoUpdated = new mInterfaceUtil().updateAppInfo(args);
195
195
  System.out.println("appInfoUpdated: " + appInfoUpdated);
196
196
  //if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
197
- if (!isServiceRunning(backgroundNotification.class)) {
198
- cordova.getActivity().startService(new Intent(cordova.getActivity().getApplicationContext(), backgroundNotification.class));
199
- }
200
197
  if (!isServiceRunning(mInterfaceService.class)) {
201
198
  cordova.getActivity().startService(new Intent(cordova.getActivity().getApplicationContext(), mInterfaceService.class));
202
199
  } else {