cordova-plugin-mserviceinterface-2.0 1.0.36 → 1.0.37
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 +1 -1
- package/plugin.xml +1 -1
- package/src/android/mInterfaceService.java +2 -1
package/package.json
CHANGED
package/plugin.xml
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
|
|
3
3
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
4
4
|
id="cordova-plugin-mserviceinterface-2.0"
|
|
5
|
-
version="1.0.
|
|
5
|
+
version="1.0.37">
|
|
6
6
|
<name>mserviceinterface-2.0</name>
|
|
7
7
|
<description>This plugin establishes the connection to the native interface and performs the requested task.</description>
|
|
8
8
|
<author>selfservit@gmail.com</author>
|
|
@@ -22,6 +22,7 @@ import android.os.Build;
|
|
|
22
22
|
import android.os.Bundle;
|
|
23
23
|
import android.os.Environment;
|
|
24
24
|
import android.os.IBinder;
|
|
25
|
+
import android.os.Looper;
|
|
25
26
|
import android.os.SystemClock;
|
|
26
27
|
import android.support.annotation.NonNull;
|
|
27
28
|
import android.support.annotation.Nullable;
|
|
@@ -295,7 +296,7 @@ public class mInterfaceService extends Service implements com.google.android.gms
|
|
|
295
296
|
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
|
-
PendingResult<Status> pendingResult = LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this);
|
|
299
|
+
PendingResult<Status> pendingResult = LocationServices.FusedLocationApi.requestLocationUpdates(mGoogleApiClient, mLocationRequest, this, Looper.getMainLooper());
|
|
299
300
|
}
|
|
300
301
|
|
|
301
302
|
@Override
|