@glympse-inc/com.glympse.enroute 2.106.240 → 2.106.242
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
package/plugin.xml
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
-
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.106.
|
|
2
|
+
<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.106.242">
|
|
3
3
|
|
|
4
4
|
<name>Glympse En Route</name>
|
|
5
5
|
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
<source url="https://github.com/CocoaPods/Specs.git"/>
|
|
242
242
|
</config>
|
|
243
243
|
<pods use-frameworks="true">
|
|
244
|
-
<pod name="EnRouteApi" spec="~> 2.106.
|
|
244
|
+
<pod name="EnRouteApi" spec="~> 2.106.238"/>
|
|
245
245
|
</pods>
|
|
246
246
|
</podspec>
|
|
247
247
|
<!-- RELEASE END -->
|
|
@@ -146,7 +146,7 @@ public class HealthCheckJobService extends JobService
|
|
|
146
146
|
{
|
|
147
147
|
Intent notificationIntent = getPackageManager().getLaunchIntentForPackage(getApplicationContext().getPackageName());
|
|
148
148
|
notificationIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP | Intent.FLAG_ACTIVITY_SINGLE_TOP);
|
|
149
|
-
return PendingIntent.getActivity(getApplicationContext(), 0, notificationIntent,
|
|
149
|
+
return PendingIntent.getActivity(getApplicationContext(), 0, notificationIntent, PendingIntent.FLAG_IMMUTABLE);
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
private PendingIntent notificationSettingsIntent()
|
|
@@ -173,7 +173,7 @@ public class HealthCheckJobService extends JobService
|
|
|
173
173
|
intent.putExtra("android.provider.extra.APP_PACKAGE", getPackageName());
|
|
174
174
|
}
|
|
175
175
|
|
|
176
|
-
return PendingIntent.getActivity(getApplicationContext(), 0, intent,
|
|
176
|
+
return PendingIntent.getActivity(getApplicationContext(), 0, intent, PendingIntent.FLAG_IMMUTABLE);
|
|
177
177
|
}
|
|
178
178
|
|
|
179
179
|
private PendingIntent batteryIntent()
|
|
@@ -184,7 +184,7 @@ public class HealthCheckJobService extends JobService
|
|
|
184
184
|
}
|
|
185
185
|
Intent intent = new Intent();
|
|
186
186
|
intent.setAction(Settings.ACTION_IGNORE_BATTERY_OPTIMIZATION_SETTINGS);
|
|
187
|
-
return PendingIntent.getActivity(getApplicationContext(), 0, intent,
|
|
187
|
+
return PendingIntent.getActivity(getApplicationContext(), 0, intent, PendingIntent.FLAG_IMMUTABLE);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
private PendingIntent locationAuthIntent()
|
|
@@ -192,7 +192,7 @@ public class HealthCheckJobService extends JobService
|
|
|
192
192
|
Intent intent = new Intent(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
|
|
193
193
|
Uri uri = Uri.fromParts("package", getPackageName(), null);
|
|
194
194
|
intent.setData(uri);
|
|
195
|
-
return PendingIntent.getActivity(getApplicationContext(), 0, intent,
|
|
195
|
+
return PendingIntent.getActivity(getApplicationContext(), 0, intent, PendingIntent.FLAG_IMMUTABLE);
|
|
196
196
|
}
|
|
197
197
|
|
|
198
198
|
private boolean isFirstDay()
|
|
@@ -10,8 +10,8 @@ import android.content.ComponentName;
|
|
|
10
10
|
import android.content.Context;
|
|
11
11
|
import android.content.Intent;
|
|
12
12
|
import android.os.Build;
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import androidx.core.app.NotificationCompat;
|
|
14
|
+
import androidx.core.app.NotificationManagerCompat;
|
|
15
15
|
|
|
16
16
|
import com.glympse.android.core.GPrimitive;
|
|
17
17
|
import com.glympse.android.api.R;
|
|
@@ -190,7 +190,7 @@ public class ManagerWrapper implements GListener
|
|
|
190
190
|
|
|
191
191
|
private static PendingIntent createPendingServiceIntent(Context context, Intent intent, final int requestCode)
|
|
192
192
|
{
|
|
193
|
-
final int flags = PendingIntent.FLAG_CANCEL_CURRENT;
|
|
193
|
+
final int flags = PendingIntent.FLAG_CANCEL_CURRENT | PendingIntent.FLAG_IMMUTABLE;
|
|
194
194
|
final PendingIntent pendingIntent = PendingIntent.getService(context, requestCode, intent, flags);
|
|
195
195
|
if ( Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2 )
|
|
196
196
|
{
|
|
@@ -4,7 +4,7 @@ import android.app.Service;
|
|
|
4
4
|
import android.content.Intent;
|
|
5
5
|
import android.os.Bundle;
|
|
6
6
|
import android.os.IBinder;
|
|
7
|
-
import
|
|
7
|
+
import androidx.annotation.Nullable;
|
|
8
8
|
|
|
9
9
|
import com.glympse.android.core.GPrimitive;
|
|
10
10
|
import com.glympse.android.lib.json.JsonSerializer;
|
|
@@ -17,7 +17,7 @@ android {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
dependencies {
|
|
20
|
-
def GLYMPSE_VERSION = '2.106.
|
|
20
|
+
def GLYMPSE_VERSION = '2.106.238'
|
|
21
21
|
implementation "com.glympse:enrouteapi:$GLYMPSE_VERSION"
|
|
22
22
|
implementation "com.glympse:glympseapi:$GLYMPSE_VERSION"
|
|
23
23
|
implementation "com.glympse:glympseapi-push:$GLYMPSE_VERSION"
|
package/www/Organization.js
CHANGED
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
this._moderators = [];
|
|
18
18
|
if ( data.moderators ) { this._moderators = data.moderators.map(function(item_data){ return new Invite(item_data); }); }
|
|
19
19
|
this._predefinedMessages = data.predefinedMessages;
|
|
20
|
+
this._tags = data.tags;
|
|
20
21
|
|
|
21
22
|
var o = data.baseLocation;
|
|
22
23
|
if (o) {
|
|
@@ -90,4 +91,8 @@
|
|
|
90
91
|
return this._predefinedMessages;
|
|
91
92
|
};
|
|
92
93
|
|
|
94
|
+
Organization.prototype.getTags = function() {
|
|
95
|
+
return this._tags;
|
|
96
|
+
};
|
|
97
|
+
|
|
93
98
|
module.exports = Organization;
|