You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -294,11 +298,10 @@ public class Assurance: NSObject, Extension {
294
298
/// are listened by assurance extension
295
299
/// @see readyForEvent
296
300
privatefunc shutDownAssurance(){
297
-
shouldProcessEvents =false
298
301
Log.debug(label:AssuranceConstants.LOG_TAG,"Timeout - Assurance extension did not receive session url. Shutting down from processing any further events.")
299
302
invalidateTimer()
300
303
Log.debug(label:AssuranceConstants.LOG_TAG,"Clearing the queued events and purging Assurance shared state.")
"Unable to form a valid socket URL for connection.",false)
42
43
case.noOrgId:
43
-
return("Invalid Launch & SDK Configuration",
44
-
"The Experience Cloud Org identifier is unavailable from SDK configuration. Please ensure the Launch mobile property is properly configured.",false)
44
+
return("Invalid Mobile SDK Configuration",
45
+
"The Experience Cloud organization identifier is unavailable. Ensure SDK configuration is setup correctly. See documentation for more detail.",false)
45
46
case.orgIDMismatch:
46
47
return("Unauthorized Access",
47
-
"The Experience Cloud organization for this Launch Property does not match that of the AEP Assurance session",false)
48
+
"The Experience Cloud organization identifier does not match with that of the Assurance session. Ensure the right Experience Cloud organization is being used. See documentation for more detail.",false)
48
49
case.connectionLimit:
49
50
return("Connection Limit Reached",
50
51
"You have reached the maximum number of connected device (50) allowed to a session.",false)
@@ -53,6 +54,9 @@ enum AssuranceConnectionError {
53
54
"You have reached the maximum number of events (10k) that can be sent per minute.",false)
54
55
// todo immediate: check with the team on better description.
55
56
// todo later: have griffon server return error description and how to solve... Same for connection & event limit errors
57
+
case.deletedSession:
58
+
return("Session Deleted",
59
+
"You attempted to connect to a deleted session.",false)
56
60
case.clientError:
57
61
return("Client Disconnected",
58
62
"This client has been disconnected due to an unexpected error. Error Code 4400.",false)
/// The maximum size of an event that can get through the socket is 32KB.
165
+
/// The factor 0.75 is introduced to accommodate blowing up of size due to the mandatory base64 encoding of AssuranceEvent before sending through the socket.
0 commit comments