Skip to content

Instantly share code, notes, and snippets.

View Develop-Bot-AI's full-sized avatar

Develop-Bot-AI

View GitHub Profile
2025-09-12 16:43:16.691 2783-3862 MIUIInput system_server I [MotionEvent] publisher action=0x0, deviceId=5, 392248022, channel '1712464 com.develop4god.devocional_nuevo/com.develop4god.devocional_nuevo.MainActivity (server)'
2025-09-12 16:43:16.694 2783-3862 MIUIInput system_server I [MotionEvent] publisher action=0x1, deviceId=5, 392248026, channel '1712464 com.develop4god.devocional_nuevo/com.develop4god.devocional_nuevo.MainActivity (server)'
2025-09-12 16:43:16.702 27351-27351 MIUIInput com.develop4god.devocional_nuevo I [MotionEvent] ViewRootImpl windowName 'com.develop4god.devocional_nuevo/com.develop4god.devocional_nuevo.MainActivity', { action=ACTION_DOWN, id[0]=0, pointerCount=1, eventTime=392248022, downTime=392248022, phoneEventTime=16:43:16.687 } moveCount:0
2025-09-12 16:43:16.711 27351-27351 MirrorManager com.develop4god.devocional_nuevo W this model don't Support
2025-09-12 16:43:16
I/flutter (26992): πŸ—οΈ [DEBUG] BackupSettingsPage build iniciado
I/flutter (26992): πŸ”§ [DEBUG] GoogleDriveAuthService constructor iniciado
I/flutter (26992): πŸ”§ [DEBUG] GoogleSignIn inicializado con scopes: [https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive]
I/flutter (26992): πŸ”§ [DEBUG] GoogleSignIn clientId: 758036195328-ngh8slj7ps17fiihu78hrms7mr8v9r1t.apps.googleusercontent.com
I/flutter (26992): πŸ”§ [DEBUG] GoogleDriveAuthService creado
I/flutter (26992): πŸ”§ [DEBUG] ConnectivityService creado
I/flutter (26992): πŸ”§ [DEBUG] SpiritualStatsService creado
I/flutter (26992): πŸ”§ [DEBUG] GoogleDriveBackupService creado con dependencias
I/flutter (26992): πŸ“ [DEBUG] Obteniendo Drive API...
I/flutter (26992): πŸ” [DEBUG] Obteniendo AuthClient...
@Develop-Bot-AI
Develop-Bot-AI / gist:947ea7a4abeddef42c95ad9ad6eacdf2
Created September 11, 2025 21:19
lib/pages/backup_settings_page.dart
// lib/pages/backup_settings_page.dart
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:provider/provider.dart';
import '../blocs/backup_bloc.dart';
import '../blocs/backup_event.dart';
import '../blocs/backup_state.dart';
@Develop-Bot-AI
Develop-Bot-AI / gist:59af62a6bbc53f881aa87f5474f17da0
Created September 11, 2025 21:18
lib/blocs/backup_bloc.dart
// lib/blocs/backup_bloc.dart
import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import '../providers/devocional_provider.dart';
import '../services/google_drive_backup_service.dart';
import 'backup_event.dart';
import 'backup_state.dart';
/// BLoC for managing Google Drive backup functionality
I/flutter (22086): πŸ—οΈ [DEBUG] BackupSettingsPage build iniciado
I/flutter (22086): πŸ”§ [DEBUG] GoogleDriveAuthService constructor iniciado
I/flutter (22086): πŸ”§ [DEBUG] GoogleSignIn inicializado con scopes: [https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive]
I/flutter (22086): πŸ”§ [DEBUG] GoogleSignIn clientId: null
I/flutter (22086): πŸ”§ [DEBUG] GoogleDriveAuthService creado
I/flutter (22086): πŸ”§ [DEBUG] ConnectivityService creado
I/flutter (22086): πŸ”§ [DEBUG] SpiritualStatsService creado
I/flutter (22086): πŸ”§ [DEBUG] GoogleDriveBackupService creado con dependencias
I/flutter (22086): πŸ“ [DEBUG] Obteniendo Drive API...
I/flutter (22086): πŸ” [DEBUG] Obteniendo AuthClient...
// lib/services/google_drive_auth_service.dart
import 'package:flutter/material.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:googleapis/drive/v3.dart' as drive;
import 'package:googleapis_auth/auth_io.dart';
import 'package:http/http.dart' as http;
import 'package:shared_preferences/shared_preferences.dart';
/// Service for managing Google Drive authentication
class GoogleDriveAuthService {
@Develop-Bot-AI
Develop-Bot-AI / gist:b1fb6f5279f282f0f59306fb7c5e3125
Created September 11, 2025 21:01
log drive luego de json nuevo
I/flutter (16607): πŸ—οΈ [DEBUG] BackupSettingsPage build iniciado
I/flutter (16607): πŸ”§ [DEBUG] GoogleDriveAuthService constructor iniciado
I/flutter (16607): πŸ”§ [DEBUG] GoogleSignIn inicializado con scopes: [https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive]
I/flutter (16607): πŸ”§ [DEBUG] GoogleSignIn clientId: null
I/flutter (16607): πŸ”§ [DEBUG] GoogleDriveAuthService creado
I/flutter (16607): πŸ”§ [DEBUG] ConnectivityService creado
I/flutter (16607): πŸ”§ [DEBUG] SpiritualStatsService creado
I/flutter (16607): πŸ”§ [DEBUG] GoogleDriveBackupService creado con dependencias
I/flutter (16607): πŸ“ [DEBUG] Obteniendo Drive API...
I/flutter (16607): πŸ” [DEBUG] Obteniendo AuthClient...
I/flutter (32729): πŸ—οΈ [DEBUG] BackupSettingsPage build iniciado
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveAuthService constructor iniciado
I/flutter (32729): πŸ”§ [DEBUG] GoogleSignIn inicializado con scopes: [https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive]
I/flutter (32729): πŸ”§ [DEBUG] GoogleSignIn clientId: null
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveAuthService creado
I/flutter (32729): πŸ”§ [DEBUG] ConnectivityService creado
I/flutter (32729): πŸ”§ [DEBUG] SpiritualStatsService creado
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveBackupService creado con dependencias
I/flutter (32729): πŸ“ [DEBUG] Obteniendo Drive API...
I/flutter (32729): πŸ” [DEBUG] Obteniendo AuthClient...
I/flutter (32729): πŸ—οΈ [DEBUG] BackupSettingsPage build iniciado
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveAuthService constructor iniciado
I/flutter (32729): πŸ”§ [DEBUG] GoogleSignIn inicializado con scopes: [https://www.googleapis.com/auth/drive.file, https://www.googleapis.com/auth/drive]
I/flutter (32729): πŸ”§ [DEBUG] GoogleSignIn clientId: null
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveAuthService creado
I/flutter (32729): πŸ”§ [DEBUG] ConnectivityService creado
I/flutter (32729): πŸ”§ [DEBUG] SpiritualStatsService creado
I/flutter (32729): πŸ”§ [DEBUG] GoogleDriveBackupService creado con dependencias
I/flutter (32729): πŸ“ [DEBUG] Obteniendo Drive API...
I/flutter (32729): πŸ” [DEBUG] Obteniendo AuthClient...
// Copyright 2022, the Chromium project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'dart:io';
import 'package:barcode_widget/barcode_widget.dart';
import 'package:collection/collection.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:firebase_auth_example/main.dart';