This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:developer' as developer; | |
| import 'dart:io' show Platform; | |
| import 'package:devocional_nuevo/models/devocional_model.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_tts/flutter_tts.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; | |
| enum TtsState { idle, initializing, playing, paused, stopping, error } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| I/flutter (12572): Devotional read attempt: col4v2RVR1960 | |
| I/flutter (12572): Reading time: 9s, Scroll: 0.0% | |
| I/flutter (12572): Meets criteria: false | |
| I/MIUIInput(12572): [MotionEvent] ViewRootImpl windowName 'com.develop4god.devocional_nuevo/com.develop4god.devocional_nuevo.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=193128642, downTime=193128642, phoneEventTime=13:55:04.142 } moveCount:0 | |
| W/MirrorManager(12572): this model don't Support | |
| I/MIUIInput(12572): [MotionEvent] ViewRootImpl windowName 'com.develop4god.devocional_nuevo/com.develop4god.devocional_nuevo.MainActivity', { action=ACTION_UP, id[0]=0, pointerCount=1, eventTime=193128691, downTime=193128642, phoneEventTime=13:55:04.191 } moveCount:2 | |
| I/flutter (12572): TtsPlayerWidget: Button pressed - currentState: TtsState.idle, isThisDevocional: false | |
| I/flutter (12572): AudioController: Starting playback for col4v2RVR1960 | |
| I/flutter (12572): AudioController: Starting operation: playDevotional | |
| I/flutter (12572): 🎤 TTS: Starting devo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ######controller | |
| import 'dart:async'; | |
| import 'package:devocional_nuevo/models/devocional_model.dart'; | |
| import 'package:devocional_nuevo/services/tts_service.dart'; | |
| import 'package:flutter/widgets.dart'; | |
| /// AudioController refactorizado como proxy reactivo puro | |
| /// Eliminado estado local duplicado - solo retransmite estados del TtsService |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // lib/services/spiritual_stats_service.dart - VERSIÓN CON AUTO-BACKUP | |
| import 'dart:convert'; | |
| import 'dart:io'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; | |
| import '../models/spiritual_stats_model.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| lib/models/prayer_model.dart | |
| +140 | |
| Lines changed: 140 additions & 0 deletions | |
| Original file line number Diff line number Diff line change | |
| @@ -0,0 +1,140 @@ | |
| // lib/models/prayer_model.dart | |
| import 'package:flutter/material.dart'; | |
| /// Modelo de datos para una oración personal. | |
| /// | |
| /// Contiene el ID, texto de la oración, fecha de creación, estado (activa/respondida) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Code | |
| Issues | |
| 10 | |
| Pull requests | |
| 4 | |
| Discussions | |
| Actions | |
| Projects | |
| Copilot requested your review on this pull request. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| All testing requirements from the detailed instructions have been implemented and verified: | |
| 🎯 Phase 1: Critical Tests ✅ COMPLETE | |
| Constants validation tests: 100% passing (8/8) | |
| Backward compatibility tests: 100% passing (11/11) | |
| Basic multilingual provider tests: 100% passing (12/12) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // lib/services/spiritual_stats_service.dart - VERSIÓN CON AUTO-BACKUP | |
| import 'dart:convert'; | |
| import 'dart:io'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; | |
| import '../models/spiritual_stats_model.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:developer' as developer; | |
| import 'dart:io' show Platform; | |
| import 'package:devocional_nuevo/models/devocional_model.dart'; | |
| import 'package:devocional_nuevo/services/spiritual_stats_service.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_tts/flutter_tts.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import 'dart:async'; | |
| import 'dart:developer' as developer; | |
| import 'dart:io' show Platform; | |
| import 'package:devocional_nuevo/models/devocional_model.dart'; | |
| import 'package:devocional_nuevo/services/spiritual_stats_service.dart'; | |
| import 'package:flutter/material.dart'; | |
| import 'package:flutter_tts/flutter_tts.dart'; | |
| import 'package:shared_preferences/shared_preferences.dart'; |