hi,
Slow login/logout and session API latency in a Mendix native mobile app under load is common and usually not a single bug — it’s caused by the way the native client initializes and synchronizes data.
Reduce synchronization scope
Only sync what’s truly needed at startup. Full synchronization (even with “Clear Data”) still runs expensive checks. Use filtered sync or sync on demand instead.
Simplify security/access rules
Each login and session call must evaluate access rules. Reducing rule complexity and the number of roles decreases evaluation time.
Keep initial screens light
Avoid heavy data loads or nanoflows on the first screen — load minimal UI first and sync/refresh after login navigation.
Profile and log startup
Enable Client_Startup and Client_Synchronization logs to see where time is spent and tune accordingly.
Mobile login/logouts feel slow because the native client must initialize, evaluate access rules, and sync data before rendering. There’s no single switch to fix it — instead, reduce synchronized data, simplify access rules, and optimize your startup flow for performance.