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

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.308/EnRouteApi.zip",
42
+ checksum: "2c15af2f41641b0a8e25dd1763ed76442396edae43abfd0f2f51b73832e407de"
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.308/GlympseKit.zip",
47
+ checksum: "ed33c3f40c70bbced376bf37bbff3e1ee7fbe4de30bb415a322faff66ffa0977"
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.308/GlympsePrivateAPI.zip",
52
+ checksum: "55af7dce1e4ca5e7df1a5a3b5c24648b13b95af0c4268ed83c8f8e43607d8bd7"
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.308",
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.308">
3
3
 
4
4
  <name>Glympse En Route</name>
5
5
 
@@ -213,7 +213,7 @@
213
213
  <source url="https://github.com/CocoaPods/Specs.git"/>
214
214
  </config>
215
215
  <pods use-frameworks="true">
216
- <pod name="EnRouteApi" spec="~> 2.111.306" nospm="true"/>
216
+ <pod name="EnRouteApi" spec="~> 2.111.308" nospm="true"/>
217
217
  </pods>
218
218
  </podspec>
219
219
  <!-- 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.308'
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;