@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.
- package/package.json +34 -0
- package/plugin.xml +262 -0
- package/scripts/iosFixPCH.js +38 -0
- package/src/android/BootReceiver.java +13 -0
- package/src/android/EnRoutePlugin.java +1867 -0
- package/src/android/HealthCheckJobService.java +225 -0
- package/src/android/LocationAccuracyChecker.java +49 -0
- package/src/android/ManagerWrapper.java +205 -0
- package/src/android/NotificationService.java +81 -0
- package/src/android/PushReceiver.java +90 -0
- package/src/android/enroute/aars/enrouteapi-aar.gradle +17 -0
- package/src/android/enroute/aars/glympseapi-aar.gradle +17 -0
- package/src/android/enroute/aars/glympseapipush-aar.gradle +17 -0
- package/src/android/enroute/aars/glympseapitoolbox-aar.gradle +17 -0
- package/src/android/gradle/build.gradle +25 -0
- package/src/ios/EnRoutePlugin.h +128 -0
- package/src/ios/EnRoutePlugin.mm +1258 -0
- package/src/ios/EnRouteWrapper.h +30 -0
- package/src/ios/EnRouteWrapper.mm +176 -0
- package/www/Agent.js +48 -0
- package/www/AgentManager.js +422 -0
- package/www/CardMessage.js +49 -0
- package/www/ChatMessage.js +29 -0
- package/www/CustomerMessage.js +18 -0
- package/www/EnRouteManager.js +613 -0
- package/www/EtaPlanner.js +129 -0
- package/www/GlobalConfig.js +13 -0
- package/www/Invite.js +93 -0
- package/www/LatLng.js +28 -0
- package/www/Location.js +63 -0
- package/www/Native.js +215 -0
- package/www/Operation.js +67 -0
- package/www/OrderItem.js +43 -0
- package/www/OrgConfig.js +184 -0
- package/www/Organization.js +88 -0
- package/www/Pickup.js +119 -0
- package/www/PickupArrivalData.js +38 -0
- package/www/PickupManager.js +512 -0
- package/www/Place.js +33 -0
- package/www/Session.js +87 -0
- package/www/SessionManager.js +431 -0
- package/www/Task.js +106 -0
- package/www/TaskManager.js +443 -0
- package/www/Ticket.js +205 -0
- package/www/Track.js +75 -0
|
@@ -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
|
+
|