refactor: upgrade API endpoints to v3 and refactor navigation and response handling across controllers

This commit is contained in:
Hamza-Ayed
2026-04-28 01:13:15 +03:00
parent 13ef5f21b7
commit 6bfc15abb2
10 changed files with 366 additions and 220 deletions

View File

@@ -147,6 +147,10 @@ class SplashScreenController extends GetxController
await _getPackageInfo();
SecureStorage().saveData('iss', 'mobile-app:');
// ── [OPTIMIZATION] جلب التوكن عند بداية تشغيل التطبيق ────────────────
Log.print("SplashScreen: Initializing JWT...");
await Get.find<LoginController>().getJWT();
if (box.read(BoxName.onBoarding) == null) {
Get.off(() => OnBoardingPage());
} else if (box.read(BoxName.email) != null &&