troubleshooting
Troubleshooting & FAQ
Common Issues
- Build fails with missing pods on iOS
- Run cd ios && pod install and ensure Cocoapods is installed
- Network errors when calling DigiKey
- Verify tokens via
digikey_token_manager.dart -
Ensure redirect/callback is configured and tokens exist
-
Empty Components list
- Pull-to-refresh to invalidate providers
-
Check repository implementation and backend connectivity
-
Scanner not working
- Verify camera permissions on the device
FAQ
- How do I add a new provider?
- Create a Provider/StateNotifier in lib/presentation/providers, expose domain repo via a Provider, and use ref.watch in UI.
- How do I add a new screen?
- Place under
lib/presentation/screens/, add navigation wiring inmobile_scafold.dart.