Skip to main content

Sign out

Driver App shows a logout control in Profile. Selecting it can start an active-order check, a server logout request, notification-token cleanup, local session cleanup, order-state reset, and broader storage cleanup.

Signing out can affect the server session, notification registration, local session data, order state, and app storage. Wait for the result before signing in again or retrying.

Availability​

The control is visible in the authenticated Profile actions. The Driver path checks for one returned active/assigned order before requesting logout. A matching order or a handled read error can block the flow with an error state.

Visibility of logout does not mean the account is eligible to sign out. The client guard, API guard, current order state, session strategy, notification state, local storage and follow-on effects are separate.

Before you start​

  • Open Profile and locate logout.
  • Make sure the correct Driver account is open and follow your organization's sign-out process.
  • Do not accept, reject, update, or complete an order to make logout available.
  • Do not clear app data, delete sessions, remove notification permissions, or disable connectivity as a workaround.

An apparently empty order list is not proof that the active-order guard or server will allow logout.

Complete the task​

To sign out:

  1. Verify that the authenticated Profile screen is visible.
  2. Identify the logout row and icon.
  3. Select logout once and wait for the app to finish. Do not repeat the selection while it is loading.

When selected, the client disables repeated presses while it works, reads stored notification state, checks active orders, and may send a logout request with notification information. After a server response without an error, the default flow requests local session and order-state reset; the Profile wrapper then starts broader storage cleanup.

Verify the result​

After sign-out, the app may return to the signed-out screen. This does not confirm that every server, notification, or device cleanup step has completed:

  • If an error appears or the result is unclear, contact the account or session owner before retrying.

States and variations​

Possible state after a real pressMeaningWhat remains unproven
Loading/disabled controlClient guard or logout flow is in progress.Which step is active or whether it will settle
Active-order guard errorGuard read failed or current result could not be used.That logout did not continue on every failure path
Assigned-order messageClient guard found a matching active order.Complete server order truth or which action resolves it
Server logout errorAPI reported an error or request failed.Token/availability/provider state and partial server effects
Server logout success resultAPI primary response had no error.All push, availability, log, job, socket, session and provider cleanup
Local session resetStored user/token and related local session values are requested for removal.Durable storage completion or server invalidation
Broader storage cleanupApp requests removal while preserving tutorial and language values.Completion timing; the multi-key removal is not awaited in reviewed helper
Signed-out navigation visibleRoot reacted to local auth state.Server cleanup, remote session closure, push-token removal, or absence of late effects

The client active-order guard catches its own read error but can return no response to the caller; that caller can continue to the logout request. Do not assume every guard-read failure blocks logout.

Troubleshooting​

What you seeWhat to checkSafe recovery
Can't logout, You have assigned ordersCurrent active delivery/assignment state and the order ownerDo not mutate an order solely to sign out. Ask the dispatcher/order owner for the supported next step.
A guard/read error appearsConnectivity, session and current order-read stateDo not press again. The failure path can be ambiguous; escalate with sanitized time/error class only.
logout remains disabled/loadingGuard, API request, or client state has not settled.Do not kill storage or repeat the press; report the visible state.
Error appears after logout requestServer or client reported a failure.Treat the session as indeterminate and avoid order/session actions until the account owner verifies it.
Signed-out screen appears but notifications or session state seem activeNavigation can react before every local/server/provider cleanup is verified.Do not inspect or share tokens. Ask the session/notification owner to reconcile current state.
Profile remains visible after a reported successLocal session/order/storage/root transitions may have partially settled.Do not repeat logout or clear app data. Escalate.
You need to remove another device sessionLogout is not the sessions-management flow.Use Manage sessions.

Related guides: View the Driver profile · Active delivery · Manage sessions · Delete account