[READ ONLY MIRROR] Open Source TikTok alternative built on AT Protocol github.com/sprksocial/client
flutter atproto video dart
10
fork

Configure Feed

Select the types of activity you want to include in your feed.

use fvp for video backend

+30
+2
lib/main.dart
··· 14 14 import 'screens/auth_prompt_screen.dart'; 15 15 import 'services/auth_service.dart'; 16 16 import 'services/profile_service.dart'; 17 + import 'package:fvp/fvp.dart' as fvp; 17 18 18 19 void main() { 19 20 WidgetsFlutterBinding.ensureInitialized(); ··· 21 22 DeviceOrientation.portraitUp, 22 23 DeviceOrientation.portraitDown, 23 24 ]); 25 + fvp.registerWith(); 24 26 runApp(const MyApp()); 25 27 } 26 28
+4
linux/flutter/generated_plugin_registrant.cc
··· 6 6 7 7 #include "generated_plugin_registrant.h" 8 8 9 + #include <fvp/fvp_plugin.h> 9 10 10 11 void fl_register_plugins(FlPluginRegistry* registry) { 12 + g_autoptr(FlPluginRegistrar) fvp_registrar = 13 + fl_plugin_registry_get_registrar_for_plugin(registry, "FvpPlugin"); 14 + fvp_plugin_register_with_registrar(fvp_registrar); 11 15 }
+1
linux/flutter/generated_plugins.cmake
··· 3 3 # 4 4 5 5 list(APPEND FLUTTER_PLUGIN_LIST 6 + fvp 6 7 ) 7 8 8 9 list(APPEND FLUTTER_FFI_PLUGIN_LIST
+2
macos/Flutter/GeneratedPluginRegistrant.swift
··· 5 5 import FlutterMacOS 6 6 import Foundation 7 7 8 + import fvp 8 9 import path_provider_foundation 9 10 import shared_preferences_foundation 10 11 import sqflite_darwin 11 12 import video_player_avfoundation 12 13 13 14 func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 15 + FvpPlugin.register(with: registry.registrar(forPlugin: "FvpPlugin")) 14 16 PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 15 17 SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) 16 18 SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
+16
pubspec.lock
··· 352 352 url: "https://pub.dev" 353 353 source: hosted 354 354 version: "2.4.4" 355 + fvp: 356 + dependency: "direct main" 357 + description: 358 + name: fvp 359 + sha256: f5012756985f7c8c19caaea2d65baf8a6cf5fee9fe520e1fabb8bc61e1d5f468 360 + url: "https://pub.dev" 361 + source: hosted 362 + version: "0.30.0" 355 363 hex: 356 364 dependency: transitive 357 365 description: ··· 456 464 url: "https://pub.dev" 457 465 source: hosted 458 466 version: "5.1.1" 467 + logging: 468 + dependency: transitive 469 + description: 470 + name: logging 471 + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 472 + url: "https://pub.dev" 473 + source: hosted 474 + version: "1.3.0" 459 475 matcher: 460 476 dependency: transitive 461 477 description:
+1
pubspec.yaml
··· 23 23 http: ^1.1.0 24 24 shared_preferences: ^2.5.2 25 25 visibility_detector: ^0.4.0+2 26 + fvp: ^0.30.0 26 27 27 28 dev_dependencies: 28 29 flutter_test:
+3
windows/flutter/generated_plugin_registrant.cc
··· 6 6 7 7 #include "generated_plugin_registrant.h" 8 8 9 + #include <fvp/fvp_plugin_c_api.h> 9 10 10 11 void RegisterPlugins(flutter::PluginRegistry* registry) { 12 + FvpPluginCApiRegisterWithRegistrar( 13 + registry->GetRegistrarForPlugin("FvpPluginCApi")); 11 14 }
+1
windows/flutter/generated_plugins.cmake
··· 3 3 # 4 4 5 5 list(APPEND FLUTTER_PLUGIN_LIST 6 + fvp 6 7 ) 7 8 8 9 list(APPEND FLUTTER_FFI_PLUGIN_LIST