diff --git a/mobile/lib/pages/temp/welcome_page.dart b/mobile/lib/pages/temp/welcome_page.dart deleted file mode 100644 index 0064340..0000000 --- a/mobile/lib/pages/temp/welcome_page.dart +++ /dev/null @@ -1,61 +0,0 @@ -import 'package:mobile/pages/temp/phone_number_page.dart'; -import 'package:mobile/players/intro_animation.dart'; -import 'package:flutter/material.dart'; - -class WelcomePage extends StatelessWidget { - const WelcomePage({super.key}); - - @override - Widget build(BuildContext context) { - return Scaffold( - body: Center( - child: Column( - mainAxisAlignment: .center, - children: [ - Spacer(flex: 4), - Container( - clipBehavior: .hardEdge, - height: 300, - decoration: BoxDecoration( - borderRadius: BorderRadius.all(Radius.circular(10)), - ), - child: IntroAnimation(), - ), - Spacer(), - const Text( - 'Welcome to Elephant', - style: TextStyle(fontSize: 25, fontWeight: .bold), - ), - const SizedBox(height: 10), - const Text('Privacy that fits in your pocket.'), - Spacer(flex: 1), - Container( - margin: .symmetric(horizontal: 20), - child: FilledButton( - style: ButtonStyle( - minimumSize: WidgetStatePropertyAll( - Size(double.infinity, 40), - ), - ), - onPressed: () { - Navigator.of(context).push( - MaterialPageRoute(builder: (context) => PhoneNumberPage()), - ); - }, - child: Text('Get Started'), - ), - ), - const SizedBox(height: 15), - GestureDetector( - child: Text( - 'Already have an account? Sign in', - style: TextStyle(color: Theme.of(context).primaryColor), - ), - ), - Spacer(flex: 4), - ], - ), - ), - ); - } -} diff --git a/mobile/lib/players/intro_animation.dart b/mobile/lib/players/intro_animation.dart deleted file mode 100644 index 05eedd2..0000000 --- a/mobile/lib/players/intro_animation.dart +++ /dev/null @@ -1,45 +0,0 @@ -import 'package:flutter/material.dart'; -import 'package:video_player/video_player.dart'; - -class IntroAnimation extends StatefulWidget { - const IntroAnimation({super.key}); - - @override - State createState() => _IntroAnimationState(); -} - -class _IntroAnimationState extends State { - late VideoPlayerController controller; - - @override - void initState() { - super.initState(); - - controller = VideoPlayerController.asset('assets/animations/intro.mp4') - ..initialize().then((_) { - setState(() {}); - controller.setVolume(0); - controller.play(); - controller.setLooping(true); - }); - } - - @override - void dispose() { - controller.dispose(); - controller.pause(); - super.dispose(); - } - - @override - Widget build(BuildContext context) { - if (!controller.value.isInitialized) { - return const Center(child: CircularProgressIndicator()); - } - - return AspectRatio( - aspectRatio: controller.value.aspectRatio, - child: VideoPlayer(controller), - ); - } -} diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux deleted file mode 120000 index 43da4fb..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/file_selector_linux-0.9.4/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/flutter_secure_storage_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/flutter_secure_storage_linux deleted file mode 120000 index 950e32c..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/flutter_secure_storage_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_linux-3.0.1/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux deleted file mode 120000 index 3987e94..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/image_picker_linux-0.2.2/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/jni b/mobile/linux/flutter/ephemeral/.plugin_symlinks/jni deleted file mode 120000 index 351fccc..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/jni +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/jni-1.0.0/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux deleted file mode 120000 index b061973..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.2/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/shared_preferences_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/shared_preferences_linux deleted file mode 120000 index 45a351a..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/shared_preferences_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ \ No newline at end of file diff --git a/mobile/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux b/mobile/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux deleted file mode 120000 index 27fe177..0000000 --- a/mobile/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux +++ /dev/null @@ -1 +0,0 @@ -C:/Users/Chandragouda M K/AppData/Local/Pub/Cache/hosted/pub.dev/url_launcher_linux-3.2.2/ \ No newline at end of file diff --git a/mobile/linux/flutter/generated_plugin_registrant.cc b/mobile/linux/flutter/generated_plugin_registrant.cc deleted file mode 100644 index 3ccd551..0000000 --- a/mobile/linux/flutter/generated_plugin_registrant.cc +++ /dev/null @@ -1,23 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#include "generated_plugin_registrant.h" - -#include -#include -#include - -void fl_register_plugins(FlPluginRegistry* registry) { - g_autoptr(FlPluginRegistrar) file_selector_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "FileSelectorPlugin"); - file_selector_plugin_register_with_registrar(file_selector_linux_registrar); - g_autoptr(FlPluginRegistrar) flutter_secure_storage_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterSecureStorageLinuxPlugin"); - flutter_secure_storage_linux_plugin_register_with_registrar(flutter_secure_storage_linux_registrar); - g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar = - fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin"); - url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar); -} diff --git a/mobile/linux/flutter/generated_plugin_registrant.h b/mobile/linux/flutter/generated_plugin_registrant.h deleted file mode 100644 index e0f0a47..0000000 --- a/mobile/linux/flutter/generated_plugin_registrant.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// Generated file. Do not edit. -// - -// clang-format off - -#ifndef GENERATED_PLUGIN_REGISTRANT_ -#define GENERATED_PLUGIN_REGISTRANT_ - -#include - -// Registers Flutter plugins. -void fl_register_plugins(FlPluginRegistry* registry); - -#endif // GENERATED_PLUGIN_REGISTRANT_ diff --git a/mobile/linux/flutter/generated_plugins.cmake b/mobile/linux/flutter/generated_plugins.cmake deleted file mode 100644 index fbedf4a..0000000 --- a/mobile/linux/flutter/generated_plugins.cmake +++ /dev/null @@ -1,27 +0,0 @@ -# -# Generated file, do not edit. -# - -list(APPEND FLUTTER_PLUGIN_LIST - file_selector_linux - flutter_secure_storage_linux - url_launcher_linux -) - -list(APPEND FLUTTER_FFI_PLUGIN_LIST - jni -) - -set(PLUGIN_BUNDLED_LIBRARIES) - -foreach(plugin ${FLUTTER_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/linux plugins/${plugin}) - target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin) - list(APPEND PLUGIN_BUNDLED_LIBRARIES $) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries}) -endforeach(plugin) - -foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST}) - add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/linux plugins/${ffi_plugin}) - list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries}) -endforeach(ffi_plugin) diff --git a/mobile/macos/Flutter/GeneratedPluginRegistrant.swift b/mobile/macos/Flutter/GeneratedPluginRegistrant.swift deleted file mode 100644 index 9d23cd1..0000000 --- a/mobile/macos/Flutter/GeneratedPluginRegistrant.swift +++ /dev/null @@ -1,22 +0,0 @@ -// -// Generated file. Do not edit. -// - -import FlutterMacOS -import Foundation - -import file_selector_macos -import flutter_secure_storage_darwin -import shared_preferences_foundation -import sqflite_darwin -import url_launcher_macos -import video_player_avfoundation - -func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { - FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin")) - FlutterSecureStorageDarwinPlugin.register(with: registry.registrar(forPlugin: "FlutterSecureStorageDarwinPlugin")) - SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) - SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin")) - UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin")) - VideoPlayerPlugin.register(with: registry.registrar(forPlugin: "VideoPlayerPlugin")) -} diff --git a/mobile/macos/Flutter/ephemeral/Flutter-Generated.xcconfig b/mobile/macos/Flutter/ephemeral/Flutter-Generated.xcconfig deleted file mode 100644 index 3fd7d7b..0000000 --- a/mobile/macos/Flutter/ephemeral/Flutter-Generated.xcconfig +++ /dev/null @@ -1,12 +0,0 @@ -// This is a generated file; do not edit or check into version control. -FLUTTER_ROOT=C:\flutter -FLUTTER_APPLICATION_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile -FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile\macos\Flutter\ephemeral\Packages\.packages\FlutterFramework -COCOAPODS_PARALLEL_CODE_SIGN=true -FLUTTER_BUILD_DIR=build -FLUTTER_BUILD_NAME=0.2.0 -FLUTTER_BUILD_NUMBER=2 -DART_OBFUSCATION=false -TRACK_WIDGET_CREATION=true -TREE_SHAKE_ICONS=false -PACKAGE_CONFIG=.dart_tool/package_config.json diff --git a/mobile/macos/Flutter/ephemeral/flutter_export_environment.sh b/mobile/macos/Flutter/ephemeral/flutter_export_environment.sh deleted file mode 100644 index 7fd7e90..0000000 --- a/mobile/macos/Flutter/ephemeral/flutter_export_environment.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/sh -# This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=C:\flutter" -export "FLUTTER_APPLICATION_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile" -export "FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile\macos\Flutter\ephemeral\Packages\.packages\FlutterFramework" -export "COCOAPODS_PARALLEL_CODE_SIGN=true" -export "FLUTTER_BUILD_DIR=build" -export "FLUTTER_BUILD_NAME=0.2.0" -export "FLUTTER_BUILD_NUMBER=2" -export "DART_OBFUSCATION=false" -export "TRACK_WIDGET_CREATION=true" -export "TREE_SHAKE_ICONS=false" -export "PACKAGE_CONFIG=.dart_tool/package_config.json" diff --git a/mobile/macos/Flutter/ephemeral/flutter_native_integration.env b/mobile/macos/Flutter/ephemeral/flutter_native_integration.env deleted file mode 100644 index 3bcc25c..0000000 --- a/mobile/macos/Flutter/ephemeral/flutter_native_integration.env +++ /dev/null @@ -1,11 +0,0 @@ -FLUTTER_ROOT=C:\flutter -FLUTTER_APPLICATION_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile -FLUTTER_FRAMEWORK_SWIFT_PACKAGE_PATH=C:\Users\Chandragouda M K\Repo clones\Elephant\mobile\macos\Flutter\ephemeral\Packages\.packages\FlutterFramework -COCOAPODS_PARALLEL_CODE_SIGN=true -FLUTTER_BUILD_DIR=build -FLUTTER_BUILD_NAME=0.2.0 -FLUTTER_BUILD_NUMBER=2 -DART_OBFUSCATION=false -TRACK_WIDGET_CREATION=true -TREE_SHAKE_ICONS=false -PACKAGE_CONFIG=.dart_tool/package_config.json diff --git a/mobile/pubspec.lock b/mobile/pubspec.lock index b9d1046..939010b 100644 --- a/mobile/pubspec.lock +++ b/mobile/pubspec.lock @@ -93,10 +93,10 @@ packages: dependency: transitive description: name: cross_file - sha256: "28bb3ae56f117b5aec029d702a90f57d285cd975c3c5c281eaca38dbc47c5937" + sha256: "92c9c43c383bfa1c32079d3bc492d55d6d4318044b7b47edaff8971cbb555c51" url: "https://pub.dev" source: hosted - version: "0.3.5+2" + version: "0.3.5+4" crypto: dependency: transitive description: @@ -105,14 +105,6 @@ packages: url: "https://pub.dev" source: hosted version: "3.0.7" - csslib: - dependency: transitive - description: - name: csslib - sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" - url: "https://pub.dev" - source: hosted - version: "1.0.2" cupertino_icons: dependency: "direct main" description: @@ -141,18 +133,18 @@ packages: dependency: transitive description: name: dio_web_adapter - sha256: "2f9e64323a7c3c7ef69567d5c800424a11f8337b8b228bad02524c9fb3c1f340" + sha256: dd58dc3861eb36edb13b217efc006a1c21e5bbc341de8c229b85634fa5e362e4 url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.2.0" equatable: dependency: transitive description: name: equatable - sha256: "3e0141505477fd8ad55d6eb4e7776d3fe8430be8e497ccb1521370c3f21a3e2b" + sha256: "3bce007a596ff8b3119c45d68aaef631272537c03d30e5d4534dd24bf4c5eaa2" url: "https://pub.dev" source: hosted - version: "2.0.8" + version: "2.1.0" fake_async: dependency: transitive description: @@ -266,10 +258,10 @@ packages: dependency: "direct main" description: name: flutter_markdown_plus - sha256: "039177906850278e8fb1cd364115ee0a46281135932fa8ecea8455522166d2de" + sha256: fce641d6c2106cc495de1cd603f97a4f9d615a97a64011928ded380dbdade935 url: "https://pub.dev" source: hosted - version: "1.0.7" + version: "1.0.12" flutter_plugin_android_lifecycle: dependency: transitive description: @@ -352,14 +344,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.0.2" - html: - dependency: transitive - description: - name: html - sha256: "6d1264f2dffa1b1101c25a91dff0dc2daee4c18e87cd8538729773c073dbf602" - url: "https://pub.dev" - source: hosted - version: "0.15.6" http: dependency: "direct main" description: @@ -380,10 +364,10 @@ packages: dependency: transitive description: name: idb_shim - sha256: "2c81d22578b71951004f85ad3cf0eca23aeea1e18b74cf5efce2a267dce17579" + sha256: "3448298f244bc76a14aca71461eeab6add2b8a877930521c42c2e8b71b644590" url: "https://pub.dev" source: hosted - version: "2.9.5" + version: "2.9.6+2" image: dependency: transitive description: @@ -396,10 +380,10 @@ packages: dependency: "direct main" description: name: image_picker - sha256: "91c025426c2881c551100bce834e201c835a170151545f58d17da5180ca7d9ac" + sha256: d8402284df184bc05f4a2210c6c23983b0720f4cd87cbd05c5390a78af602667 url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.2.3" image_picker_android: dependency: transitive description: @@ -1013,46 +997,6 @@ packages: url: "https://pub.dev" source: hosted version: "2.2.0" - video_player: - dependency: "direct main" - description: - name: video_player - sha256: "48a7bdaa38a3d50ec10c78627abdbfad863fdf6f0d6e08c7c3c040cfd80ae36f" - url: "https://pub.dev" - source: hosted - version: "2.11.1" - video_player_android: - dependency: transitive - description: - name: video_player_android - sha256: "5d18d04084cc0cfc7afde39d0a308d4041e8ae6e9d5255bc086c263998dd1201" - url: "https://pub.dev" - source: hosted - version: "2.9.6" - video_player_avfoundation: - dependency: transitive - description: - name: video_player_avfoundation - sha256: "9338f3ec22774f88146b22f13273a446719b1da010fd200c4d1d97802156ac58" - url: "https://pub.dev" - source: hosted - version: "2.9.7" - video_player_platform_interface: - dependency: transitive - description: - name: video_player_platform_interface - sha256: "16eaed5268c571c31840dc58ef8da5f0cd4db2a98490c3b8f1cf70122546c6e0" - url: "https://pub.dev" - source: hosted - version: "6.7.0" - video_player_web: - dependency: transitive - description: - name: video_player_web - sha256: "9f3c00be2ef9b76a95d94ac5119fb843dca6f2c69e6c9968f6f2b6c9e7afbdeb" - url: "https://pub.dev" - source: hosted - version: "2.4.0" vm_service: dependency: transitive description: diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml index 0e519e1..3590274 100644 --- a/mobile/pubspec.yaml +++ b/mobile/pubspec.yaml @@ -36,7 +36,6 @@ dependencies: sqflite: ^2.4.3 path: ^1.9.1 cupertino_icons: ^1.0.8 - video_player: ^2.11.1 intl_phone_field: ^3.2.0 pinput: ^6.0.2 provider: ^6.1.5+1