@glympse-inc/com.glympse.enroute 2.105.233 → 2.105.236

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": "@glympse-inc/com.glympse.enroute",
3
- "version": "2.105.233",
3
+ "version": "2.105.236",
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.105.233">
2
+ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" id="com.glympse.enroute" version="2.105.236">
3
3
 
4
4
  <name>Glympse En Route</name>
5
5
 
@@ -240,7 +240,7 @@
240
240
  <source url="https://github.com/CocoaPods/Specs.git"/>
241
241
  </config>
242
242
  <pods use-frameworks="true">
243
- <pod name="EnRouteApi"/>
243
+ <pod name="EnRouteApi" spec="~> 2.105.236"/>
244
244
  </pods>
245
245
  </podspec>
246
246
  <!-- RELEASE END -->
@@ -17,7 +17,7 @@ android {
17
17
  }
18
18
 
19
19
  dependencies {
20
- def GLYMPSE_VERSION = '2.105.232'
20
+ def GLYMPSE_VERSION = '2.105.236'
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"
@@ -34,6 +34,8 @@
34
34
  var LOGOUT_REASON_INVALID_TOKEN = 4;
35
35
  var LOGOUT_REASON_LOCATION_SERVICES_UNAVAILABLE = 5;
36
36
  var LOGOUT_REASON_SERVER_ERROR = 6;
37
+ var LOGOUT_REASON_INVALID_SUBSCRIPTION = 7;
38
+ var LOGOUT_REASON_APP_FLAVOR_MISMATCH = 8;
37
39
 
38
40
  var AUTH_MODE_NONE = 0;
39
41
  var AUTH_MODE_CREDENTIALS = 1;
@@ -9,6 +9,7 @@
9
9
 
10
10
  Organization.prototype.update = function(data) {
11
11
  this._id = data.id;
12
+ this._referrerOrgId = data.referrerOrgId;
12
13
  this._name = data.name;
13
14
  this._adminEmail = data.adminEmail;
14
15
  this._glympseApiServer = data.glympseApiServer;
@@ -49,6 +50,10 @@
49
50
  return this._id;
50
51
  };
51
52
 
53
+ Organization.prototype.getReferrerOrgId = function() {
54
+ return this._referrerOrgId;
55
+ };
56
+
52
57
  Organization.prototype.getName = function() {
53
58
  return this._name;
54
59
  };