@glympse-inc/com.glympse.enroute 2.111.306 → 2.111.309

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.swift CHANGED
@@ -38,18 +38,18 @@ let package = Package(
38
38
  ),
39
39
  .binaryTarget(
40
40
  name: "EnRouteApi",
41
- url: "https://github.com/Glympse/glympse-ios-enroute-sdk-release/releases/download/2.111.306/EnRouteApi.zip",
42
- checksum: "f21e86529600ef0c6e894f4a307ecdb9a5b12ecf5703edfd35abc0b06f896d7b"
41
+ url: "https://github.com/Glympse/glympse-ios-enroute-sdk-release/releases/download/2.111.309/EnRouteApi.zip",
42
+ checksum: "066b1d6eddc2f3318452ee1c0633ae1c7ee7c99c05098cb1e2152b4b50de25b0"
43
43
  ),
44
44
  .binaryTarget(
45
45
  name: "GlympseKit",
46
- url: "https://github.com/Glympse/glympse-ios-sdk-release/releases/download/2.111.306/GlympseKit.zip",
47
- checksum: "d10cdf1b6cbf728a1c183526b925a2de5ec23628f23b763b1cd42b1182a1c1b5"
46
+ url: "https://github.com/Glympse/glympse-ios-sdk-release/releases/download/2.111.309/GlympseKit.zip",
47
+ checksum: "26c90a38e9a0d406046df4b85fd364140c1318d12bbe62ae4ce7a6a71e0d664f"
48
48
  ),
49
49
  .binaryTarget(
50
50
  name: "GlympsePrivateAPI",
51
- url: "https://github.com/Glympse/glympse-ios-sdk-release/releases/download/2.111.306/GlympsePrivateAPI.zip",
52
- checksum: "1dc0afad375b50b6ad1dd4d07e79d0ed382acc78d4fc5de7eb1a4288236680ea"
51
+ url: "https://github.com/Glympse/glympse-ios-sdk-release/releases/download/2.111.309/GlympsePrivateAPI.zip",
52
+ checksum: "e13fb57979d550724e2d61e4d816d50fb2b0a7dbf0bd2a0afb397eed54f51685"
53
53
  )
54
54
  ]
55
55
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glympse-inc/com.glympse.enroute",
3
- "version": "2.111.306",
3
+ "version": "2.111.309",
4
4
  "description": "Glympse En Route Cordova Plugin",
5
5
  "cordova": {
6
6
  "id": "com.glympse.enroute",
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.111.306">
2
+ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.111.309">
3
3
 
4
4
  <name>Glympse En Route</name>
5
5
 
@@ -132,6 +132,15 @@
132
132
  </service>
133
133
 
134
134
  <meta-data android:name="glympse_fcm_application_id" android:value="$GLYMPSE_FIREBASE_APP_ID" />
135
+ <meta-data android:name="firebase_messaging_installation_id_enabled" android:value="true" />
136
+
137
+ <service
138
+ android:name="com.glympse.android.push.FCMListenerService"
139
+ android:exported="true">
140
+ <intent-filter>
141
+ <action android:name="com.google.firebase.MESSAGING_EVENT" />
142
+ </intent-filter>
143
+ </service>
135
144
 
136
145
  <receiver
137
146
  android:name="com.glympse.enroute.hybrid.android.PushReceiver"
@@ -160,7 +169,7 @@
160
169
  </config-file>
161
170
 
162
171
  <framework src="com.android.support:support-v4:27.0.+" />
163
- <framework src="com.google.firebase:firebase-messaging:23.3.1" />
172
+ <framework src="com.google.firebase:firebase-messaging:25.1.1" />
164
173
  <framework src="com.google.android.gms:play-services-location:17.0.+" />
165
174
  <framework src="com.pusher:pusher-java-client:2.2.5" />
166
175
  <framework src="com.datadoghq:dd-sdk-android-logs:2.14.0" />
@@ -213,7 +222,7 @@
213
222
  <source url="https://github.com/CocoaPods/Specs.git"/>
214
223
  </config>
215
224
  <pods use-frameworks="true">
216
- <pod name="EnRouteApi" spec="~> 2.111.306" nospm="true"/>
225
+ <pod name="EnRouteApi" spec="~> 2.111.309" nospm="true"/>
217
226
  </pods>
218
227
  </podspec>
219
228
  <!-- RELEASE END -->
@@ -497,7 +497,7 @@ public class EnRoutePlugin extends CordovaPlugin implements GListener, GEventLis
497
497
  result.put("loginNeeded", manager.isLoginNeeded());
498
498
  result.put("started", manager.isStarted());
499
499
 
500
- GAgent agent = manager.getLoggedInAgent();
500
+ GAgent agent = manager.getSelfAgent();
501
501
  if ( null != agent )
502
502
  {
503
503
  GPrimitive agentPrimitive = commonObjToPrimitive(agent);
@@ -17,7 +17,7 @@ android {
17
17
  }
18
18
 
19
19
  dependencies {
20
- def GLYMPSE_VERSION = '2.111.306'
20
+ def GLYMPSE_VERSION = '2.111.309'
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"
@@ -112,7 +112,7 @@
112
112
  result->put([GETHelpers toGString:@"loginNeeded"], manager->isLoginNeeded());
113
113
  result->put([GETHelpers toGString:@"started"], manager->isStarted());
114
114
 
115
- Glympse::EnRoute::GAgent agent = manager->getLoggedInAgent();
115
+ Glympse::EnRoute::GAgent agent = manager->getSelfAgent();
116
116
  if ( NULL != agent )
117
117
  {
118
118
  Glympse::GPrimitive agentPrimitive = [self commonObjToPrimitive:agent];
@@ -18,6 +18,7 @@
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
20
  this._tags = data.tags;
21
+ this._orgType = data.orgType;
21
22
 
22
23
  var o = data.baseLocation;
23
24
  if (o) {
@@ -95,4 +96,8 @@
95
96
  return this._tags;
96
97
  };
97
98
 
99
+ Organization.prototype.getOrgType = function() {
100
+ return this._orgType;
101
+ };
102
+
98
103
  module.exports = Organization;