cordova-plugin-mserviceinterface-2.0 1.0.96 → 1.0.97

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.96",
3
+ "version": "1.0.97",
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.96">
3
+ xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-mserviceinterface-2.0" version="1.0.97">
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>
@@ -2358,6 +2358,7 @@
2358
2358
  - (void)StartService:(CDVInvokedUrlCommand*)command
2359
2359
  {
2360
2360
  @try {
2361
+ [self KillTimers];
2361
2362
  [self ValidateAppStateInfo];
2362
2363
  self.QueueToServerTimer = [NSTimer scheduledTimerWithTimeInterval:5.0
2363
2364
  target:self
@@ -2399,7 +2400,7 @@
2399
2400
 
2400
2401
  // No allowsBackgroundLocationUpdates here
2401
2402
 
2402
- [self KillTimers];
2403
+
2403
2404
  self.LocationTimer = [NSTimer scheduledTimerWithTimeInterval:locationInterval
2404
2405
  target:self
2405
2406
  selector:@selector(SendLocation)