Extend CheckSessionUseCase to fetch /devices after confirming the session and return InitialRoute.deviceSetup when the list is empty (or the call fails). The splash builder now injects a SharedDevicesRepository alongside the user repository, and the app router maps the new route to legacyDeviceSetup / deviceSetup per shell. The legacy builder reads legacyDevicesProvider to derive isFirstDevice so the setup screen adapts its copy accordingly.
sf-app-platform
A new Flutter project.
Getting Started
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.