Commit Graph

12 Commits

Author SHA1 Message Date
vergiLgood1 aa675f04f9 first commit 2025-08-05 14:30:36 +07:00
vergiLgood1 0eec492698 refactor: Update dependencies and clean up unused imports in face liveness detection 2025-05-24 16:54:00 +07:00
vergiLgood1 5dc7aa3cc7 feat: Update camera dependencies and implement selfie verification UI
- Updated camera package version to 0.11.0+2 and camera_android_camerax to 0.6.7+2 in pubspec.lock and pubspec.yaml.
- Removed unused google_ml_kit dependencies from pubspec.lock and pubspec.yaml.
- Added CameraPreviewWidget for displaying camera feed in registration form.
- Created CapturedSelfieView to show the captured selfie and verification status.
- Implemented Debug Panel for liveness detection with real-time status updates.
- Added ErrorStateWidget to handle and display error messages during verification.
- Introduced InstructionBanner to guide users through the verification process.
- Developed VerificationProgressWidget to visually represent the verification progress.
2025-05-24 16:27:58 +07:00
vergiLgood1 64c9f233a1 Refactor code structure for improved readability and maintainability 2025-05-24 14:50:31 +07:00
vergiLgood1 5c3faac8c3 feat: Implement registration form and verification steps
- Added FormRegistrationScreen for user profile completion with step navigation.
- Created SelfieVerificationStep for capturing and validating user selfies.
- Implemented OfficerInfoStep and UnitInfoStep for officer-specific information input.
- Introduced PanicButtonController and PanicButtonPage for emergency alert functionality.
- Developed CustomElevatedButton and CustomBottomNavigationBar for enhanced UI components.
2025-05-23 22:30:06 +07:00
vergiLgood1 6a85f75e3c feat: Add image upload and selection functionality with ImageSourceDialog and ImageUploader widgets
- Implemented ImageSourceDialog for selecting image source (camera or gallery).
- Created ImageUploader widget for displaying and managing image uploads, including error handling and validation.
- Added TipsContainer widget for displaying helpful tips with customizable styles.
- Developed OcrResultCard to present extracted information from KTP and KTA models.
- Introduced ValidationMessageCard for showing validation messages with confirmation options.
- Implemented FormKeyDebugger for tracking and debugging form keys in the application.
- Added AnimatedSplashScreen for customizable splash screen transitions and navigation.
2025-05-22 16:20:34 +07:00
vergiLgood1 498b71c184 feat: Refactor signup process with role selection and update app routes
- Updated app routes for backward compatibility and renamed registration form route.
- Added new image constants for various animations and background images.
- Removed webview_flutter dependency from macOS and updated pubspec.lock.
- Introduced SignupWithRoleController to manage signup logic based on user roles.
- Created SignupWithRoleScreen for user interface, allowing role selection and form submission.
- Implemented RoleSelector widget for displaying available roles.
- Enhanced social login options and integrated privacy policy acceptance in the signup form.
2025-05-20 00:02:35 +07:00
vergiLgood1 867efe0bc9 Add role selection 2025-05-19 13:35:57 +07:00
vergiLgood1 1fd17ee0af feat: Add branding and launch images for dark mode support
- Added dark mode branding images for the app.
- Created contents.json files for branding and launch background images.
- Implemented splash screen with animated Lottie assets based on theme.
- Developed authentication repository with email/password and social login functionalities.
- Introduced background service for heavy computations in isolates.
- Added splash controller to manage authentication flow during splash screen.
2025-05-19 00:12:05 +07:00
vergiLgood1 ffed8b8ede feat(panic-button): add models for events, evidences, incident logs, and sessions
- Implement EventModel with JSON serialization and deserialization.
- Create EvidenceModel with associated JSON handling.
- Develop IncidentLogModel to manage incident logs and their evidences.
- Introduce SessionsModel to track user sessions related to events.
- Update index file to export new models.

feat(personalization): introduce permissions and resources models

- Add PermissionModel to manage user permissions with JSON support.
- Create ResourceModel to define resources and their associated permissions.
- Ensure proper serialization and deserialization for both models.

chore(database): update Prisma schema for new models and relationships

- Add new models: events, evidences, incident_logs, sessions, permissions, and resources.
- Define relationships between users, roles, and permissions.
- Update existing models to maintain referential integrity.
- Introduce enums for session status, contact message status, crime rates, and crime status.
2025-05-16 18:41:16 +07:00
vergiLgood1 7ad427baf6 feat: Update pubspec.yaml with new dependencies and local assets
- Updated description format in pubspec.yaml
- Added multiple utility packages for enhanced functionality
- Included local assets and fonts for better UI design
- Updated widget test to reference the new app structure
- Registered new plugins in generated_plugin_registrant.cc for Windows
- Updated generated_plugins.cmake to include new plugins
- Modified Supabase config to allow additional redirect URLs
2025-05-16 15:42:03 +07:00
vergiLgood1 636f892a42 Add Flutter app sigap-mobile as regular folder 2025-05-16 06:36:07 +07:00