feat: implement splash and onboarding flows, update app assets, and add project design documentation
This commit is contained in:
@@ -28,6 +28,8 @@ class ApiClient {
|
||||
dio.interceptors.add(InterceptorsWrapper(
|
||||
onRequest: (options, handler) async {
|
||||
options.headers['x-tenant-id'] = AppConfig.tenantSlug;
|
||||
// راكب أم سائق — هويتان منفصلتان لنفس الرقم (قرار المالك 2026-07-20 — ب).
|
||||
options.headers['x-app-role'] = AppConfig.appRole;
|
||||
|
||||
final device = await _resolveDeviceId();
|
||||
if (device != null) options.headers['x-device-id'] = device;
|
||||
|
||||
Reference in New Issue
Block a user