Tripgrok is a Flutter-based tourist safety app prototype with:
- Login/check-in flow
- Digital tourist ID and QR scanning
- Safety dashboard with emergency actions
- Interactive map with risk and safety markers
- Localization support (English/Hindi)
- Flutter SDK (stable)
- Dart SDK (as bundled with Flutter)
flutter pub get
flutter runflutter analyze
flutter test- Fixed widget test compilation by updating
MyAppinitialization to use required named parameters (locale,isDarkMode). - Fixed potential runtime crash in the ID screen by safely formatting short/empty tourist IDs before preview rendering.
- Migrated tourist identity data storage from
SharedPreferencestoflutter_secure_storagefor sensitive fields. - Added iOS camera permission usage description for QR scan support (
NSCameraUsageDescription). - Added mounted-guard protections for async/delayed UI flows to prevent post-dispose updates.
- Wired settings screen theme/language controls to apply live via app-level callbacks (no restart required).
- Updated logout flow to clear only tourist session data while preserving user preferences.
- Pruned unused dependencies from
pubspec.yamlto match actual imports and reduce maintenance surface. - Removed tracked Android build artifacts and deleted unused
lib/core/theme/core_theme.dart. - Expanded localization coverage for primary login/dashboard user flows with new English/Hindi ARB keys.
- Replaced deprecated opacity usage patterns and updated deprecated UI APIs (
DropdownButtonFormFieldinitial value, map-style dialog radio usage).