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
"The connection may be failing due to a network issue or an incorrect PIN. Please verify internet connectivity or the PIN and try again.",true)
33
+
return(NSLocalizedString("error_title_incorrect_pin_or_network", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Connection Error", comment:""),NSLocalizedString("error_desc_incorrect_pin_or_network", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"The connection may be failing due to a network issue or an incorrect PIN. Please verify internet connectivity or the PIN and try again.", comment:""),true)
39
34
case.noPincode:
40
-
return("HTML Error",
41
-
"Unable to extract the pincode entered.",true)
42
-
case.noURL:
43
-
return("Socket Connection Error",
44
-
"Unable to form a valid socket URL for connection.",false)
NSLocalizedString("error_desc_invalid_pin", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Unable to authorize Assurance connection. Please verify the PIN and try again.", comment:""),true)
45
37
case.noOrgId:
46
-
return("Invalid Mobile SDK Configuration",
47
-
"The Experience Cloud organization identifier is unavailable. Ensure SDK configuration is setup correctly. See documentation for more detail.",false)
38
+
return(NSLocalizedString("error_title_invalid_org_id", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Invalid Mobile SDK Configuration", comment:""),
39
+
NSLocalizedString("error_desc_invalid_org_id", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"The Experience Cloud organization identifier is unavailable. Ensure SDK configuration is setup correctly. See documentation for more detail.", comment:""),false)
48
40
case.orgIDMismatch:
49
-
return("Unauthorized Access",
50
-
"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)
NSLocalizedString("error_desc_unauthorized_access", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"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.", comment:""),false)
51
43
case.connectionLimit:
52
-
return("Connection Limit Reached",
53
-
"You have reached the maximum number of connected device (50) allowed to a session.",false)
NSLocalizedString("error_desc_connection_limit", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"You have reached the maximum number of connected device allowed to a session.", comment:""),false)
54
46
case.eventLimit:
55
-
return("Event Limit Reached",
56
-
"You have reached the maximum number of events (10k) that can be sent per minute.",false)
NSLocalizedString("error_desc_event_limit", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"You have reached the maximum number of events that can be sent per minute.", comment:""),false)
57
49
// todo immediate: check with the team on better description.
58
50
// todo later: have griffon server return error description and how to solve... Same for connection & event limit errors
59
51
case.deletedSession:
60
-
return("Session Deleted",
61
-
"You attempted to connect to a deleted session.",false)
NSLocalizedString("error_desc_session_deleted", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"You attempted to connect to a deleted session.", comment:""),false)
62
54
case.clientError:
63
-
return("Client Disconnected",
64
-
"This client has been disconnected due to an unexpected error. Error Code 4400.",false)
65
-
case.userCancelled:
66
-
return("Assurance session connection cancelled.",
67
-
"User has chosen to cancel the socket connection. To start again, please open the app with an assurance deeplink url.",false)
68
-
case.invalidURL(let url):
69
-
return("Invalid url",
70
-
"Attempted a network request with an invalid url: \(url)",false)
71
-
case.invalidResponseData:
72
-
return("Invalid response data",
73
-
"Received invalid response data",false)
74
-
case.invalidRequestBody:
75
-
return("Invalid request body",
76
-
"Attempted a network request with an invalid request body",false)
NSLocalizedString("error_desc_unexpected_error", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"This client has been disconnected due to an unexpected error.", comment:""),false)
NSLocalizedString("error_desc_invalid_url", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Attempted a network request with an invalid url.", comment:""),false)
NSLocalizedString("error_desc_invalid_registration_response", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Connection failed due to an invalid response.", comment:""),false)
NSLocalizedString("error_desc_invalid_registration_request", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"The connection may be failing due to an invalid network request.", comment:""),false)
NSLocalizedString("error_desc_registration_error", bundle:Bundle(identifier:"com.adobe.aep.assurance.AEPAssurance")??Bundle.main, value:"Error occurred during device registration or status check.", comment:""),false)
0 commit comments