Skip to content

ararext/tripgrok

Repository files navigation

Tripgrok

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)

Prerequisites

  • Flutter SDK (stable)
  • Dart SDK (as bundled with Flutter)

Run

flutter pub get
flutter run

Quality Checks

flutter analyze
flutter test

Recent Fixes

  • Fixed widget test compilation by updating MyApp initialization 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 SharedPreferences to flutter_secure_storage for 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.yaml to 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 (DropdownButtonFormField initial value, map-style dialog radio usage).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors