@glympse-inc/com.glympse.enroute 2.105.232

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.
Files changed (45) hide show
  1. package/package.json +34 -0
  2. package/plugin.xml +262 -0
  3. package/scripts/iosFixPCH.js +38 -0
  4. package/src/android/BootReceiver.java +13 -0
  5. package/src/android/EnRoutePlugin.java +1867 -0
  6. package/src/android/HealthCheckJobService.java +225 -0
  7. package/src/android/LocationAccuracyChecker.java +49 -0
  8. package/src/android/ManagerWrapper.java +205 -0
  9. package/src/android/NotificationService.java +81 -0
  10. package/src/android/PushReceiver.java +90 -0
  11. package/src/android/enroute/aars/enrouteapi-aar.gradle +17 -0
  12. package/src/android/enroute/aars/glympseapi-aar.gradle +17 -0
  13. package/src/android/enroute/aars/glympseapipush-aar.gradle +17 -0
  14. package/src/android/enroute/aars/glympseapitoolbox-aar.gradle +17 -0
  15. package/src/android/gradle/build.gradle +25 -0
  16. package/src/ios/EnRoutePlugin.h +128 -0
  17. package/src/ios/EnRoutePlugin.mm +1258 -0
  18. package/src/ios/EnRouteWrapper.h +30 -0
  19. package/src/ios/EnRouteWrapper.mm +176 -0
  20. package/www/Agent.js +48 -0
  21. package/www/AgentManager.js +422 -0
  22. package/www/CardMessage.js +49 -0
  23. package/www/ChatMessage.js +29 -0
  24. package/www/CustomerMessage.js +18 -0
  25. package/www/EnRouteManager.js +613 -0
  26. package/www/EtaPlanner.js +129 -0
  27. package/www/GlobalConfig.js +13 -0
  28. package/www/Invite.js +93 -0
  29. package/www/LatLng.js +28 -0
  30. package/www/Location.js +63 -0
  31. package/www/Native.js +215 -0
  32. package/www/Operation.js +67 -0
  33. package/www/OrderItem.js +43 -0
  34. package/www/OrgConfig.js +184 -0
  35. package/www/Organization.js +88 -0
  36. package/www/Pickup.js +119 -0
  37. package/www/PickupArrivalData.js +38 -0
  38. package/www/PickupManager.js +512 -0
  39. package/www/Place.js +33 -0
  40. package/www/Session.js +87 -0
  41. package/www/SessionManager.js +431 -0
  42. package/www/Task.js +106 -0
  43. package/www/TaskManager.js +443 -0
  44. package/www/Ticket.js +205 -0
  45. package/www/Track.js +75 -0
@@ -0,0 +1,17 @@
1
+ repositories{
2
+ jcenter()
3
+ flatDir {
4
+ dirs 'libs'
5
+ }
6
+ }
7
+
8
+ dependencies {
9
+ compile(name:'GlympseApiPush-release', ext:'aar')
10
+ }
11
+
12
+ android {
13
+ packagingOptions {
14
+ exclude 'META-INF/NOTICE'
15
+ exclude 'META-INF/LICENSE'
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ repositories{
2
+ jcenter()
3
+ flatDir {
4
+ dirs 'libs'
5
+ }
6
+ }
7
+
8
+ dependencies {
9
+ compile(name:'GlympseApiToolbox-release', ext:'aar')
10
+ }
11
+
12
+ android {
13
+ packagingOptions {
14
+ exclude 'META-INF/NOTICE'
15
+ exclude 'META-INF/LICENSE'
16
+ }
17
+ }
@@ -0,0 +1,25 @@
1
+ repositories {
2
+ maven {url "https://raw.github.com/Glympse/glympse-android-sdk-release/master"}
3
+ }
4
+
5
+ android {
6
+ compileSdkVersion 31
7
+ buildToolsVersion '28.0.3'
8
+
9
+ defaultConfig {
10
+ minSdkVersion 19
11
+ targetSdkVersion 31
12
+ }
13
+
14
+ lintOptions {
15
+ abortOnError false
16
+ }
17
+ }
18
+
19
+ dependencies {
20
+ def GLYMPSE_VERSION = '2.105.232'
21
+ implementation "com.glympse:enrouteapi:$GLYMPSE_VERSION"
22
+ implementation "com.glympse:glympseapi:$GLYMPSE_VERSION"
23
+ implementation "com.glympse:glympseapi-push:$GLYMPSE_VERSION"
24
+ implementation "com.glympse:glympseapi-toolbox:$GLYMPSE_VERSION"
25
+ }
@@ -0,0 +1,128 @@
1
+ //------------------------------------------------------------------------------
2
+ //
3
+ // Copyright (c) 2014 Glympse Inc. All rights reserved.
4
+ //
5
+ //------------------------------------------------------------------------------
6
+ #import <Cordova/CDV.h>
7
+
8
+ #ifndef __cplusplus
9
+ #error You must rename your files to .mm to use the GlympseAPI ObjC++ library.
10
+ #endif
11
+
12
+ @interface EnRoutePlugin : CDVPlugin
13
+ {
14
+ @private
15
+ /**
16
+ * Cordova Plugin asynchronous state
17
+ */
18
+ NSMutableDictionary *_cordovaCommands;
19
+
20
+ NSMutableArray *_listenerCallbacks;
21
+
22
+ NSString *_etaPlannerCallback;
23
+ }
24
+
25
+ /**
26
+ * Cordova Plugin API
27
+ */
28
+
29
+ - (void) setActive:(CDVInvokedUrlCommand *)command;
30
+
31
+ - (void) setBaseUrl:(CDVInvokedUrlCommand *)command;
32
+
33
+ - (void) setAuthenticationMode:(CDVInvokedUrlCommand *)command;
34
+
35
+ - (void) registerDeviceToken:(CDVInvokedUrlCommand *)command;
36
+
37
+ - (void) handleRemoteNotification:(CDVInvokedUrlCommand *)command;
38
+
39
+ - (void) registerListener:(CDVInvokedUrlCommand *)command;
40
+
41
+ - (void) syncAccountState:(CDVInvokedUrlCommand *)command;
42
+
43
+ - (void) syncHealthReport:(CDVInvokedUrlCommand *)command;
44
+
45
+ - (void) start:(CDVInvokedUrlCommand *)command;
46
+
47
+ - (void) loginWithCredentials:(CDVInvokedUrlCommand *)command;
48
+
49
+ - (void) loginWithToken:(CDVInvokedUrlCommand *)command;
50
+
51
+ - (void) logout:(CDVInvokedUrlCommand *)command;
52
+
53
+ - (void) logoutWithReason:(CDVInvokedUrlCommand *)command;
54
+
55
+ - (void) stop:(CDVInvokedUrlCommand *)command;
56
+
57
+ - (void) syncTasksState:(CDVInvokedUrlCommand *)command;
58
+
59
+ - (void) syncTasksStateLight:(CDVInvokedUrlCommand *)command;
60
+
61
+ - (void) refreshTasks:(CDVInvokedUrlCommand *)command;
62
+
63
+ - (void) startTask:(CDVInvokedUrlCommand *)command;
64
+
65
+ - (void) createTask:(CDVInvokedUrlCommand *)command;
66
+
67
+ - (void) setTaskPhase:(CDVInvokedUrlCommand *)command;
68
+
69
+ - (void) setTaskVisibility:(CDVInvokedUrlCommand *)command;
70
+
71
+ - (void) completeTask:(CDVInvokedUrlCommand *)command;
72
+
73
+ - (void) addOrUpdateMetadataItem:(CDVInvokedUrlCommand *)command;
74
+
75
+ - (void) sendMessageToTask:(CDVInvokedUrlCommand *)command;
76
+
77
+ - (void) markTaskMessagesAsRead:(CDVInvokedUrlCommand *)command;
78
+
79
+ - (void) confirmMessageRead:(CDVInvokedUrlCommand *)command;
80
+
81
+ - (void) syncSessionsState:(CDVInvokedUrlCommand *)command;
82
+
83
+ - (void) syncSessionsStateLight:(CDVInvokedUrlCommand *)command;
84
+
85
+ - (void) refreshSessions:(CDVInvokedUrlCommand *)command;
86
+
87
+ - (void) updateSessionTasks:(CDVInvokedUrlCommand *)command;
88
+
89
+ - (void) startEtaPlannerQuery:(CDVInvokedUrlCommand *)command;
90
+
91
+ - (void) abortEtaPlannerQuery:(CDVInvokedUrlCommand *)command;
92
+
93
+ - (void) overrideLoggingLevels:(CDVInvokedUrlCommand *)command;
94
+
95
+ - (void) setRemoteLoggingEnabled:(CDVInvokedUrlCommand *)command;
96
+
97
+ - (void) setFetchCompletedTasks:(CDVInvokedUrlCommand *)command;
98
+
99
+ - (void) refreshPickups:(CDVInvokedUrlCommand *)command;
100
+
101
+ - (void) setPickupPhase:(CDVInvokedUrlCommand *)command;
102
+
103
+ - (void) completePickup:(CDVInvokedUrlCommand *)command;
104
+
105
+ - (void) claimPickup:(CDVInvokedUrlCommand *)command;
106
+
107
+ - (void) unclaimPickup:(CDVInvokedUrlCommand *)command;
108
+
109
+ - (void) sendMessageToPickup:(CDVInvokedUrlCommand *)command;
110
+
111
+ - (void) markMessagesAsRead:(CDVInvokedUrlCommand *)command;
112
+
113
+ - (void) syncPickupsState:(CDVInvokedUrlCommand *)command;
114
+
115
+ - (void) syncPickupsStateLight:(CDVInvokedUrlCommand *)command;
116
+
117
+ - (void) syncPickup:(CDVInvokedUrlCommand *)command;
118
+
119
+ - (void) checkGoogleLocationAccuracy:(CDVInvokedUrlCommand *)command;
120
+
121
+ - (void) checkIsNetworkConstrained:(CDVInvokedUrlCommand *)command;
122
+
123
+ - (void) checkCellularDataAvailable:(CDVInvokedUrlCommand *)command;
124
+
125
+ - (void) started;
126
+
127
+ @end
128
+