From bf31c422b7beecd793e9eeb2db41bee1ee15097c Mon Sep 17 00:00:00 2001 From: shubham Date: Tue, 4 Mar 2025 13:09:46 +0530 Subject: [PATCH 1/7] fixes --- .gitignore | 2 + ios/Podfile.lock | 28 ++--- ios/Runner/AppDelegate.swift | 2 +- lib/main.dart | 4 +- lib/models/planka_user.dart | 6 +- lib/providers/attachment_provider.dart | 4 +- lib/providers/auth_provider.dart | 4 +- lib/providers/board_provider.dart | 8 +- lib/providers/card_actions_provider.dart | 8 +- lib/providers/card_provider.dart | 28 ++--- lib/providers/list_provider.dart | 4 +- lib/providers/project_provider.dart | 11 +- lib/providers/user_provider.dart | 4 +- lib/screens/login_screen.dart | 124 ++--------------------- lib/widgets/card_list.dart | 2 +- pubspec.lock | 30 +++--- 16 files changed, 81 insertions(+), 188 deletions(-) diff --git a/.gitignore b/.gitignore index 29a3a50..79c113f 100644 --- a/.gitignore +++ b/.gitignore @@ -5,9 +5,11 @@ *.swp .DS_Store .atom/ +.build/ .buildlog/ .history .svn/ +.swiftpm/ migrate_working_dir/ # IntelliJ related diff --git a/ios/Podfile.lock b/ios/Podfile.lock index da4c4c4..871b130 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -121,25 +121,25 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" SPEC CHECKSUMS: - audio_session: 088d2483ebd1dc43f51d253d4a1c517d9a2e7207 + audio_session: f08db0697111ac84ba46191b55488c0563bb29c6 DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 - file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655 + file_picker: 9b3292d7c8bc68c8a7bf8eb78f730e49c8efc517 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - flutter_file_dialog: 4c014a45b105709a27391e266c277d7e588e9299 - image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 - just_audio: baa7252489dbcf47a4c7cc9ca663e9661c99aafa - package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c - path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 + flutter_file_dialog: ca8d7fbd1772d4f0c2777b4ab20a7787ef4e7dd8 + image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a + just_audio: 6c031bb61297cf218b4462be616638e81c058e97 + package_info_plus: 580e9a5f1b6ca5594e7c9ed5f92d1dfb2a66b5e1 + path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 SDWebImage: 8a6b7b160b4d710e2a22b6900e25301075c34cb3 - shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 - sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec + shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 + sqflite: c35dad70033b8862124f8337cc994a809fcd9fa3 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 - url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe - video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3 - wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1 - webview_flutter_wkwebview: 2a23822e9039b7b1bc52e5add778e5d89ad488d1 + url_launcher_ios: 694010445543906933d732453a59da0a173ae33d + video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b + wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03 + webview_flutter_wkwebview: 45a041c7831641076618876de3ba75c712860c6b PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 -COCOAPODS: 1.15.2 +COCOAPODS: 1.16.2 diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 9074fee..6266644 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import Flutter import UIKit -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/lib/main.dart b/lib/main.dart index 7b6a790..b7ae860 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -33,9 +33,9 @@ Future main() async { Locale('it', 'IT'), ], path: 'assets/translations', - fallbackLocale: const Locale('de', 'DE'), + fallbackLocale: const Locale('en', 'US'), saveLocale: true, - startLocale: const Locale('de', 'DE'), + startLocale: const Locale('en', 'US'), child: const MyApp() ), ); diff --git a/lib/models/planka_user.dart b/lib/models/planka_user.dart index 58f3c59..7ca7c39 100644 --- a/lib/models/planka_user.dart +++ b/lib/models/planka_user.dart @@ -5,7 +5,7 @@ class PlankaUser { final String email; final bool? isAdmin; final String name; - final String username; + final String? username; final String? phone; final String? organization; final String? language; @@ -24,7 +24,7 @@ class PlankaUser { required this.email, this.isAdmin, required this.name, - required this.username, + this.username, this.phone, this.organization, this.language, @@ -45,7 +45,7 @@ class PlankaUser { email: json['email'], isAdmin: json['isAdmin'], name: json['name'], - username: json['username'], + username: json['username'] ?? '', phone: json['phone'], organization: json['organization'], language: json['language'], diff --git a/lib/providers/attachment_provider.dart b/lib/providers/attachment_provider.dart index 2660752..042f953 100644 --- a/lib/providers/attachment_provider.dart +++ b/lib/providers/attachment_provider.dart @@ -126,7 +126,7 @@ class AttachmentProvider with ChangeNotifier { throw Exception('Failed to delete attachment: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteAttachment: $error'); throw Exception('Failed to delete attachment'); } } @@ -203,7 +203,7 @@ class AttachmentProvider with ChangeNotifier { throw Exception('Failed to update attachment name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-renameAttachment: $error'); throw Exception('Failed to update attachment name'); } } diff --git a/lib/providers/auth_provider.dart b/lib/providers/auth_provider.dart index c46ba00..ae700af 100644 --- a/lib/providers/auth_provider.dart +++ b/lib/providers/auth_provider.dart @@ -48,7 +48,7 @@ class AuthProvider with ChangeNotifier { throw Exception('failed_to_authenticate'.tr()); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-login: $error'); showTopSnackBar( Overlay.of(context), CustomSnackBar.error( @@ -79,7 +79,7 @@ class AuthProvider with ChangeNotifier { return false; } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-logout: $error'); throw Exception('Failed to logout'); } } diff --git a/lib/providers/board_provider.dart b/lib/providers/board_provider.dart index 0aeb67c..0018998 100644 --- a/lib/providers/board_provider.dart +++ b/lib/providers/board_provider.dart @@ -188,7 +188,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to update board: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateBoardName: $error'); throw Exception('Failed to update board'); } } @@ -218,7 +218,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to add Board user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-addBoardMember: $error'); throw Exception('Failed to add Board user'); } } @@ -245,7 +245,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to delete Board user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-removeBoardMember: $error'); throw Exception('Failed to delete Board user'); } } @@ -263,7 +263,7 @@ class BoardProvider with ChangeNotifier { notifyListeners(); } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateLabel: $error'); throw Exception('Failed to update board'); } } diff --git a/lib/providers/card_actions_provider.dart b/lib/providers/card_actions_provider.dart index c802c51..4b58075 100644 --- a/lib/providers/card_actions_provider.dart +++ b/lib/providers/card_actions_provider.dart @@ -36,7 +36,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-fetchCardComment: $error'); throw Exception('Failed to load card actions'); } } @@ -57,7 +57,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteComment: $error'); throw Exception('Failed to load card actions'); } } @@ -80,7 +80,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-createComment: $error'); throw Exception('Failed to load card actions'); } } @@ -102,7 +102,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateComment: $error'); throw Exception('Failed to load card actions'); } } diff --git a/lib/providers/card_provider.dart b/lib/providers/card_provider.dart index 1f2bbd6..2da2076 100644 --- a/lib/providers/card_provider.dart +++ b/lib/providers/card_provider.dart @@ -63,7 +63,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateCardTitle: $error'); throw Exception('Failed to update card name'); } } @@ -95,7 +95,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateStopwatch: $error'); throw Exception('Failed to update card'); } } @@ -126,7 +126,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteStopwatch: $error'); throw Exception('Failed to update card'); } } @@ -149,7 +149,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateCardDueDate: $error'); throw Exception('Failed to update card name'); } } @@ -178,7 +178,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to fetch card data: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-addCardLabel: $error'); throw Exception('Failed to update labels'); } } @@ -207,7 +207,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to add card user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-addCardMember: $error'); throw Exception('Failed to add card user'); } } @@ -236,7 +236,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to delete card user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-removeCardMember: $error'); throw Exception('Failed to delete card user'); } } @@ -261,7 +261,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to fetch card data: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-removeCardLabel: $error'); throw Exception('Failed to update labels'); } } @@ -279,7 +279,7 @@ class CardProvider with ChangeNotifier { notifyListeners(); } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteCard: $error'); throw Exception('Failed to delete card'); } } @@ -302,7 +302,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateCardDescription: $error'); throw Exception('Failed to card name'); } } @@ -327,7 +327,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateCardCoverAttachId: $error'); throw Exception('Failed to card name'); } } @@ -350,7 +350,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to add task: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-addTask: $error'); throw Exception('Failed to add task'); } } @@ -372,7 +372,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to remove task: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-removeTask: $error'); throw Exception('Failed to remove task'); } } @@ -395,7 +395,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to toggle task completion: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-toggleTaskCompletion: $error'); throw Exception('Failed to toggle task completion'); } } diff --git a/lib/providers/list_provider.dart b/lib/providers/list_provider.dart index 3d7ba35..4366234 100644 --- a/lib/providers/list_provider.dart +++ b/lib/providers/list_provider.dart @@ -273,7 +273,7 @@ class ListProvider with ChangeNotifier { throw Exception('Failed to delete list: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteList: $error'); throw Exception('Failed to delete list'); } } @@ -313,7 +313,7 @@ class ListProvider with ChangeNotifier { throw Exception('Failed to update list: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateListName: $error'); throw Exception('Failed to update list'); } } diff --git a/lib/providers/project_provider.dart b/lib/providers/project_provider.dart index 10509db..70c0b03 100644 --- a/lib/providers/project_provider.dart +++ b/lib/providers/project_provider.dart @@ -17,6 +17,9 @@ class ProjectProvider with ChangeNotifier { Future fetchProjects() async { final url = Uri.parse('${authProvider.selectedProtocol}://${authProvider.domain}/api/projects'); + debugPrint('url: ${url}'); + debugPrint('domain: ${authProvider.domain}'); + debugPrint('selectedProtocol: ${authProvider.selectedProtocol}'); try { final response = await http.get( @@ -36,7 +39,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-fetchProjects: $error'); throw Exception('Failed to load projects'); } } @@ -64,7 +67,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-createProject: $error'); throw Exception('Failed to create project'); } } @@ -92,7 +95,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-deleteProject: $error'); throw Exception('Failed to load projects'); } } @@ -122,7 +125,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to update project: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-updateProjectName: $error'); throw Exception('Failed to update project'); } } diff --git a/lib/providers/user_provider.dart b/lib/providers/user_provider.dart index e9607b6..5711a70 100644 --- a/lib/providers/user_provider.dart +++ b/lib/providers/user_provider.dart @@ -55,7 +55,7 @@ class UserProvider with ChangeNotifier { throw Exception('Failed to load users'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-fetchUsers: $error'); throw Exception('Failed to load users'); } } @@ -95,7 +95,7 @@ class UserProvider with ChangeNotifier { throw Exception('Failed to load user'); } } catch (error) { - debugPrint('Error: $error'); + debugPrint('Error-fetchSpecificUser: $error'); throw Exception('Failed to load user'); } } diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index ac323f4..1ba2883 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -1,4 +1,3 @@ -import 'package:country_flags/country_flags.dart'; import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; @@ -14,54 +13,14 @@ class LoginScreen extends StatefulWidget { class _LoginScreenState extends State { final _usernameController = TextEditingController(); final _passwordController = TextEditingController(); - final _domainController = TextEditingController(); // FocusNodes for each input field final _usernameFocusNode = FocusNode(); final _passwordFocusNode = FocusNode(); - final _domainFocusNode = FocusNode(); - - // List of languages - String _selectedLanguage = 'Language'; - - final List> _languages = [ - { - 'name': 'English', - 'flag': 'gb', - 'code1': 'en', - 'code2': 'US', - }, - { - 'name': 'Deutsch', - 'flag': 'de', - 'code1': 'de', - 'code2': 'DE', - }, - { - 'name': 'Türkçe', - 'flag': 'tr', - 'code1': 'tr', - 'code2': 'TR', - }, - { - 'name': 'Italiano', - 'flag': 'it', - 'code1': 'it', - 'code2': 'IT', - }, - { - 'name': 'Español', - 'flag': 'es', - 'code1': 'es', - 'code2': 'ES', - }, - ]; String _selectedProtocol = 'https'; - - // List of protocol options final List _protocolOptions = ['https', 'http', 'localhost']; - + final String _defaultDomain = 'planko.011bq.app'; // Set your domain internally @override void initState() { @@ -71,16 +30,13 @@ class _LoginScreenState extends State { void _tryAutoLogin() async { AuthProvider provider = Provider.of(context, listen: false); - _selectedProtocol = provider.selectedProtocol; - await provider.tryAutoLogin(); - if (Provider.of(context, listen: false).token.isNotEmpty) { + if (provider.token.isNotEmpty) { Navigator.of(context).pushReplacementNamed('/projects'); } } - // Helper function to check for empty fields and focus on the first empty one bool _validateAndFocusFields() { if (_usernameController.text.isEmpty) { FocusScope.of(context).requestFocus(_usernameFocusNode); @@ -90,22 +46,17 @@ class _LoginScreenState extends State { FocusScope.of(context).requestFocus(_passwordFocusNode); return false; } - if (_domainController.text.isEmpty) { - FocusScope.of(context).requestFocus(_domainFocusNode); - return false; - } return true; } void _login() async { - // Check if all fields are filled, focus on the first empty field if (_validateAndFocusFields()) { try { await Provider.of(context, listen: false).login( _selectedProtocol, _usernameController.text, _passwordController.text, - _domainController.text, + _defaultDomain, // Use internal domain value context, ); Navigator.of(context).pushReplacementNamed('/projects'); @@ -117,24 +68,15 @@ class _LoginScreenState extends State { @override void dispose() { - // Dispose controllers and focus nodes _usernameController.dispose(); _passwordController.dispose(); - _domainController.dispose(); _usernameFocusNode.dispose(); _passwordFocusNode.dispose(); - _domainFocusNode.dispose(); super.dispose(); } @override Widget build(BuildContext context) { - - ///Init SelectedLanguage with current real language - _selectedLanguage = _languages.firstWhere( - (lang) => lang['code1'] == context.locale.languageCode && lang['code2'] == context.locale.countryCode, - )['name'] as String; - return Scaffold( appBar: AppBar(title: Text('login'.tr())), body: Padding( @@ -146,24 +88,16 @@ class _LoginScreenState extends State { decoration: InputDecoration(labelText: 'login_fields.0'.tr()), focusNode: _usernameFocusNode, textInputAction: TextInputAction.next, - onSubmitted: (_) => _login(), // Submit when Enter is pressed + onSubmitted: (_) => _login(), ), TextField( controller: _passwordController, decoration: InputDecoration(labelText: 'login_fields.1'.tr()), obscureText: true, focusNode: _passwordFocusNode, - textInputAction: TextInputAction.next, - onSubmitted: (_) => _login(), - ), - TextField( - controller: _domainController, - decoration: InputDecoration(labelText: 'login_fields.2'.tr()), - focusNode: _domainFocusNode, textInputAction: TextInputAction.done, - onSubmitted: (result) => _login(), + onSubmitted: (_) => _login(), ), - DropdownButton( value: _selectedProtocol, isExpanded: true, @@ -187,52 +121,6 @@ class _LoginScreenState extends State { ); }).toList(), ), - - // Language dropdown - DropdownButton( - value: _selectedLanguage, - isExpanded: true, - icon: const Icon(Icons.keyboard_arrow_down), - iconSize: 24, - elevation: 16, - style: const TextStyle(color: Colors.black), - underline: Container( - height: 2, - color: Colors.indigo, - ), - onChanged: (String? newValue) { - setState(() { - _selectedLanguage = newValue!; - - // Find the selected language's locale codes - final selectedLanguageData = _languages.firstWhere( - (lang) => lang['name'] == _selectedLanguage, - ); - - // Set the locale using the found language and region codes - context.setLocale(Locale(selectedLanguageData['code1'], selectedLanguageData['code2'])); - }); - }, - items: _languages.map>((language) { - return DropdownMenuItem( - value: language['name'], - child: Row( - children: [ - CountryFlag.fromLanguageCode( - language['code1'], - // shape: const Circle(), - shape: const RoundedRectangle(6), - height: 20, - width: 30, - ), - const SizedBox(width: 10), - Text(language['name']), - ], - ), - ); - }).toList(), - ), - const SizedBox(height: 10), ElevatedButton( onPressed: _login, @@ -243,4 +131,4 @@ class _LoginScreenState extends State { ), ); } -} \ No newline at end of file +} diff --git a/lib/widgets/card_list.dart b/lib/widgets/card_list.dart index 2337010..9ae5072 100644 --- a/lib/widgets/card_list.dart +++ b/lib/widgets/card_list.dart @@ -1432,7 +1432,7 @@ class _CardListState extends State with SingleTickerProviderStateMixin }) .catchError((error) { // Handle any errors that occur during the chain of operations - debugPrint('Error: $error'); + debugPrint('Error-_takePhoto: $error'); }); } diff --git a/pubspec.lock b/pubspec.lock index ad81e73..8f4b9ab 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -117,10 +117,10 @@ packages: dependency: transitive description: name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a + sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf url: "https://pub.dev" source: hosted - version: "1.18.0" + version: "1.19.0" convert: dependency: transitive description: @@ -625,18 +625,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" + sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" url: "https://pub.dev" source: hosted - version: "10.0.5" + version: "10.0.7" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" + sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.8" leak_tracker_testing: dependency: transitive description: @@ -929,7 +929,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.99" + version: "0.0.0" source_span: dependency: transitive description: @@ -966,10 +966,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" + sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" url: "https://pub.dev" source: hosted - version: "1.11.1" + version: "1.12.0" state_notifier: dependency: transitive description: @@ -990,10 +990,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" + sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" synchronized: dependency: transitive description: @@ -1014,10 +1014,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" url: "https://pub.dev" source: hosted - version: "0.7.2" + version: "0.7.3" top_snackbar_flutter: dependency: "direct main" description: @@ -1182,10 +1182,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" + sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b url: "https://pub.dev" source: hosted - version: "14.2.5" + version: "14.3.0" wakelock_plus: dependency: transitive description: From fedc8377e815894eff5604c2d538a6f4b804ef1c Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 18:11:40 +0530 Subject: [PATCH 2/7] fixes --- android/gradle.properties | 1 + .../gradle/wrapper/gradle-wrapper.properties | 3 +- android/settings.gradle | 4 +- ios/Podfile.lock | 32 +- ios/Runner.xcodeproj/project.pbxproj | 21 +- ios/Runner/Info.plist | 106 ++--- lib/screens/login_screen.dart | 23 - pubspec.lock | 392 +++++++++--------- pubspec.yaml | 2 +- 9 files changed, 292 insertions(+), 292 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index 3b5b324..b80bf94 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,3 +1,4 @@ org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true +org.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index e1ca574..4eb4c4d 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Wed Mar 05 16:23:30 IST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip diff --git a/android/settings.gradle b/android/settings.gradle index 536165d..a3e1c0b 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -18,8 +18,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "7.3.0" apply false - id "org.jetbrains.kotlin.android" version "1.7.10" apply false + id "com.android.application" version "8.2.2" apply false // Updated Gradle Plugin + id "org.jetbrains.kotlin.android" version "1.9.22" apply false // Updated Kotlin } include ":app" diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 871b130..53f3c9d 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -42,6 +42,7 @@ PODS: - Flutter - just_audio (0.0.1): - Flutter + - FlutterMacOS - package_info_plus (0.4.5): - Flutter - path_provider_foundation (0.0.1): @@ -53,7 +54,7 @@ PODS: - shared_preferences_foundation (0.0.1): - Flutter - FlutterMacOS - - sqflite (0.0.3): + - sqflite_darwin (0.0.4): - Flutter - FlutterMacOS - SwiftyGif (5.4.5) @@ -66,6 +67,7 @@ PODS: - Flutter - webview_flutter_wkwebview (0.0.1): - Flutter + - FlutterMacOS DEPENDENCIES: - audio_session (from `.symlinks/plugins/audio_session/ios`) @@ -73,15 +75,15 @@ DEPENDENCIES: - Flutter (from `Flutter`) - flutter_file_dialog (from `.symlinks/plugins/flutter_file_dialog/ios`) - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - - just_audio (from `.symlinks/plugins/just_audio/ios`) + - just_audio (from `.symlinks/plugins/just_audio/darwin`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - - sqflite (from `.symlinks/plugins/sqflite/darwin`) + - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`) - wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`) - - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) + - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) SPEC REPOS: trunk: @@ -102,15 +104,15 @@ EXTERNAL SOURCES: image_picker_ios: :path: ".symlinks/plugins/image_picker_ios/ios" just_audio: - :path: ".symlinks/plugins/just_audio/ios" + :path: ".symlinks/plugins/just_audio/darwin" package_info_plus: :path: ".symlinks/plugins/package_info_plus/ios" path_provider_foundation: :path: ".symlinks/plugins/path_provider_foundation/darwin" shared_preferences_foundation: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" - sqflite: - :path: ".symlinks/plugins/sqflite/darwin" + sqflite_darwin: + :path: ".symlinks/plugins/sqflite_darwin/darwin" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" video_player_avfoundation: @@ -118,27 +120,27 @@ EXTERNAL SOURCES: wakelock_plus: :path: ".symlinks/plugins/wakelock_plus/ios" webview_flutter_wkwebview: - :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" + :path: ".symlinks/plugins/webview_flutter_wkwebview/darwin" SPEC CHECKSUMS: - audio_session: f08db0697111ac84ba46191b55488c0563bb29c6 + audio_session: 9bb7f6c970f21241b19f5a3658097ae459681ba0 DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 - file_picker: 9b3292d7c8bc68c8a7bf8eb78f730e49c8efc517 + file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_file_dialog: ca8d7fbd1772d4f0c2777b4ab20a7787ef4e7dd8 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a - just_audio: 6c031bb61297cf218b4462be616638e81c058e97 - package_info_plus: 580e9a5f1b6ca5594e7c9ed5f92d1dfb2a66b5e1 + just_audio: 4e391f57b79cad2b0674030a00453ca5ce817eed + package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 SDWebImage: 8a6b7b160b4d710e2a22b6900e25301075c34cb3 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 - sqflite: c35dad70033b8862124f8337cc994a809fcd9fa3 + sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 url_launcher_ios: 694010445543906933d732453a59da0a173ae33d video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b - wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03 - webview_flutter_wkwebview: 45a041c7831641076618876de3ba75c712860c6b + wakelock_plus: 04623e3f525556020ebd4034310f20fe7fda8b49 + webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 845e50d..b44f9b2 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -469,8 +469,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ZB6CDJCDYG; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = PSJZU2LQBR; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -478,7 +478,8 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; + MARKETING_VERSION = 1.1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -658,8 +659,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ZB6CDJCDYG; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = PSJZU2LQBR; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -667,7 +668,8 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; + MARKETING_VERSION = 1.1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -687,8 +689,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = ZB6CDJCDYG; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = PSJZU2LQBR; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -696,7 +698,8 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; + MARKETING_VERSION = 1.1.0; + PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 7e415d7..66fc4d6 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -2,58 +2,58 @@ - CADisableMinimumFrameDurationOnPhone - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Planka App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - planka_app - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - ITSAppUsesNonExemptEncryption - - LSRequiresIPhoneOS - - NSCalendarsUsageDescription - This app needs calendar access to create cards - NSCameraUsageDescription - This app needs camera access to take profile photo or to scan QR codes - NSMicrophoneUsageDescription - This app needs this permission because of using Camera Plugin to create profile photo - NSPhotoLibraryUsageDescription - This app needs photo library access to pick images for profile photo - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Planka App + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + planka_app + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + ITSAppUsesNonExemptEncryption + + LSRequiresIPhoneOS + + NSCalendarsUsageDescription + This app needs calendar access to create cards + NSCameraUsageDescription + This app needs camera access to take profile photo or to scan QR codes + NSMicrophoneUsageDescription + This app needs this permission because of using Camera Plugin to create profile photo + NSPhotoLibraryUsageDescription + This app needs photo library access to pick images for profile photo + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index 1ba2883..37a5ba2 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -98,29 +98,6 @@ class _LoginScreenState extends State { textInputAction: TextInputAction.done, onSubmitted: (_) => _login(), ), - DropdownButton( - value: _selectedProtocol, - isExpanded: true, - icon: const Icon(Icons.keyboard_arrow_down), - iconSize: 24, - elevation: 16, - style: const TextStyle(color: Colors.black), - underline: Container( - height: 2, - color: Colors.indigo, - ), - onChanged: (String? newProtocol) { - setState(() { - _selectedProtocol = newProtocol!; - }); - }, - items: _protocolOptions.map>((protocol) { - return DropdownMenuItem( - value: protocol, - child: Text(protocol.toUpperCase()), - ); - }).toList(), - ), const SizedBox(height: 10), ElevatedButton( onPressed: _login, diff --git a/pubspec.lock b/pubspec.lock index 8f4b9ab..6a4d74b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: archive - sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + sha256: "0c64e928dcbefddecd234205422bcfc2b5e6d31be0b86fef0d0dd48d7b4c9742" url: "https://pub.dev" source: hosted - version: "3.6.1" + version: "4.0.4" args: dependency: transitive description: name: args - sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" + sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 url: "https://pub.dev" source: hosted - version: "2.5.0" + version: "2.6.0" async: dependency: transitive description: @@ -29,18 +29,18 @@ packages: dependency: transitive description: name: audio_session - sha256: "343e83bc7809fbda2591a49e525d6b63213ade10c76f15813be9aed6657b3261" + sha256: "2b7fff16a552486d078bfc09a8cde19f426dc6d6329262b684182597bec5b1ac" url: "https://pub.dev" source: hosted - version: "0.1.21" + version: "0.1.25" bloc: dependency: transitive description: name: bloc - sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" + sha256: "52c10575f4445c61dd9e0cafcc6356fdd827c4c64dd7945ef3c4105f6b6ac189" url: "https://pub.dev" source: hosted - version: "8.1.4" + version: "9.0.0" boolean_selector: dependency: transitive description: @@ -93,18 +93,18 @@ packages: dependency: transitive description: name: chewie - sha256: "2243e41e79e865d426d9dd9c1a9624aa33c4ad11de2d0cd680f826e2cd30e879" + sha256: "645fbca3f22309381edb5af59a4c8aa544a3d3872d7b7b7c986c2b18b3bdd265" url: "https://pub.dev" source: hosted - version: "1.8.3" + version: "1.10.0" cli_util: dependency: transitive description: name: cli_util - sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 + sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c url: "https://pub.dev" source: hosted - version: "0.4.1" + version: "0.4.2" clock: dependency: transitive description: @@ -125,18 +125,18 @@ packages: dependency: transitive description: name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 url: "https://pub.dev" source: hosted - version: "3.1.1" + version: "3.1.2" country_flags: dependency: "direct main" description: name: country_flags - sha256: "0c2d9f0673ad0a5ec148f5b264c9e7338208b83000336bb4db8d189cd50df2bb" + sha256: "66726c7070d60c2f90c4a1d58980e9188fa04335d6287e98aef835461019c3c2" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "3.2.0" cross_file: dependency: transitive description: @@ -149,18 +149,18 @@ packages: dependency: transitive description: name: crypto - sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 + sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" csslib: dependency: transitive description: name: csslib - sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb" + sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.0.2" cupertino_icons: dependency: "direct main" description: @@ -173,26 +173,26 @@ packages: dependency: transitive description: name: dbus - sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac" + sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c" url: "https://pub.dev" source: hosted - version: "0.7.10" + version: "0.7.11" download: dependency: "direct main" description: name: download - sha256: d3f39f5799913f61f84a2cfac8153a32fe71b7cd3d2282702886e6190f103c6a + sha256: c05f06c71237e543740ac58ded7146fe1a270caeb7d1b664d6910382143e1c3e url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.0.1" easy_localization: dependency: "direct main" description: name: easy_localization - sha256: fa59bcdbbb911a764aa6acf96bbb6fa7a5cf8234354fc45ec1a43a0349ef0201 + sha256: "0f5239c7b8ab06c66440cfb0e9aa4b4640429c6668d5a42fe389c5de42220b12" url: "https://pub.dev" source: hosted - version: "3.0.7" + version: "3.0.7+1" easy_logger: dependency: transitive description: @@ -205,10 +205,10 @@ packages: dependency: transitive description: name: equatable - sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 + sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" url: "https://pub.dev" source: hosted - version: "2.0.5" + version: "2.0.7" expandable: dependency: transitive description: @@ -237,34 +237,34 @@ packages: dependency: transitive description: name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" + sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 url: "https://pub.dev" source: hosted - version: "7.0.0" + version: "7.0.1" file_picker: dependency: "direct main" description: name: file_picker - sha256: "167bb619cdddaa10ef2907609feb8a79c16dfa479d3afaf960f8e223f754bf12" + sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810 url: "https://pub.dev" source: hosted - version: "8.1.2" + version: "8.3.7" file_selector_linux: dependency: transitive description: name: file_selector_linux - sha256: "045d372bf19b02aeb69cacf8b4009555fb5f6f0b7ad8016e5f46dd1387ddd492" + sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" url: "https://pub.dev" source: hosted - version: "0.9.2+1" + version: "0.9.3+2" file_selector_macos: dependency: transitive description: name: file_selector_macos - sha256: f42eacb83b318e183b1ae24eead1373ab1334084404c8c16e0354f9a3e55d385 + sha256: "271ab9986df0c135d45c3cdb6bd0faa5db6f4976d3e4b437cf7d0f258d941bfc" url: "https://pub.dev" source: hosted - version: "0.9.4" + version: "0.9.4+2" file_selector_platform_interface: dependency: transitive description: @@ -277,18 +277,18 @@ packages: dependency: transitive description: name: file_selector_windows - sha256: "2ad726953f6e8affbc4df8dc78b77c3b4a060967a291e528ef72ae846c60fb69" + sha256: "320fcfb6f33caa90f0b58380489fc5ac05d99ee94b61aa96ec2bff0ba81d3c2b" url: "https://pub.dev" source: hosted - version: "0.9.3+2" + version: "0.9.3+4" fixnum: dependency: transitive description: name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" + sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.1.1" floating_action_bubble: dependency: "direct main" description: @@ -306,10 +306,10 @@ packages: dependency: transitive description: name: flutter_bloc - sha256: b594505eac31a0518bdcb4b5b79573b8d9117b193cc80cc12e17d639b10aa27a + sha256: "1046d719fbdf230330d3443187cc33cc11963d15c9089f6cc56faa42a4c5f0cc" url: "https://pub.dev" source: hosted - version: "8.1.6" + version: "9.1.0" flutter_cache_manager: dependency: transitive description: @@ -351,34 +351,34 @@ packages: dependency: "direct main" description: name: flutter_markdown - sha256: a23c41ee57573e62fc2190a1f36a0480c4d90bde3a8a8d7126e5d5992fb53fb7 + sha256: e7bbc718adc9476aa14cfddc1ef048d2e21e4e8f18311aaac723266db9f9e7b5 url: "https://pub.dev" source: hosted - version: "0.7.3+1" + version: "0.7.6+2" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" + sha256: "5a1e6fb2c0561958d7e4c33574674bda7b77caaca7a33b758876956f2902eea3" url: "https://pub.dev" source: hosted - version: "2.0.22" + version: "2.0.27" flutter_riverpod: dependency: "direct main" description: name: flutter_riverpod - sha256: "0f1974eff5bbe774bf1d870e406fc6f29e3d6f1c46bd9c58e7172ff68a785d7d" + sha256: "9532ee6db4a943a1ed8383072a2e3eeda041db5657cdf6d2acecf3c21ecbe7e1" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.1" flutter_svg: dependency: transitive description: name: flutter_svg - sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" + sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b url: "https://pub.dev" source: hosted - version: "2.0.10+1" + version: "2.0.17" flutter_test: dependency: "direct dev" description: flutter @@ -409,10 +409,10 @@ packages: dependency: transitive description: name: font_awesome_flutter - sha256: "275ff26905134bcb59417cf60ad979136f1f8257f2f449914b2c3e05bbb4cd6f" + sha256: d3a89184101baec7f4600d58840a764d2ef760fe1c5a20ef9e6b0e9b24a07a3a url: "https://pub.dev" source: hosted - version: "10.7.0" + version: "10.8.0" fwfh_cached_network_image: dependency: transitive description: @@ -441,10 +441,10 @@ packages: dependency: transitive description: name: fwfh_svg - sha256: c6bb6b513f7ce2766aba76d7276caf9a96b6fee729ac3a492c366a42f82ef02e + sha256: "550b1014d12b5528d8bdb6e3b44b58721f3fb1f65d7a852d1623a817008bdfc4" url: "https://pub.dev" source: hosted - version: "0.8.2" + version: "0.8.3" fwfh_url_launcher: dependency: transitive description: @@ -465,34 +465,34 @@ packages: dependency: "direct main" description: name: html - sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" + sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" url: "https://pub.dev" source: hosted - version: "0.15.4" + version: "0.15.5" http: dependency: "direct main" description: name: http - sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 + sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.3.0" http_parser: dependency: "direct main" description: name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" + sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" url: "https://pub.dev" source: hosted - version: "4.0.2" + version: "4.1.2" image: dependency: transitive description: name: image - sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" + sha256: "13d3349ace88f12f4a0d175eb5c12dcdd39d35c4c109a8a13dfeb6d0bd9e31c3" url: "https://pub.dev" source: hosted - version: "4.2.0" + version: "4.5.3" image_picker: dependency: "direct main" description: @@ -505,26 +505,26 @@ packages: dependency: transitive description: name: image_picker_android - sha256: "8c5abf0dcc24fe6e8e0b4a5c0b51a5cf30cefdf6407a3213dae61edc75a70f56" + sha256: "82652a75e3dd667a91187769a6a2cc81bd8c111bbead698d8e938d2b63e5e89a" url: "https://pub.dev" source: hosted - version: "0.8.12+12" + version: "0.8.12+21" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: "65d94623e15372c5c51bebbcb820848d7bcb323836e12dfdba60b5d3a8b39e50" + sha256: "717eb042ab08c40767684327be06a5d8dbb341fe791d514e4b92c7bbe1b7bb83" url: "https://pub.dev" source: hosted - version: "3.0.5" + version: "3.0.6" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: "6703696ad49f5c3c8356d576d7ace84d1faf459afb07accbb0fae780753ff447" + sha256: "05da758e67bc7839e886b3959848aa6b44ff123ab4b28f67891008afe8ef9100" url: "https://pub.dev" source: hosted - version: "0.8.12" + version: "0.8.12+2" image_picker_linux: dependency: transitive description: @@ -537,18 +537,18 @@ packages: dependency: transitive description: name: image_picker_macos - sha256: "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62" + sha256: "1b90ebbd9dcf98fb6c1d01427e49a55bd96b5d67b8c67cf955d60a5de74207c1" url: "https://pub.dev" source: hosted - version: "0.2.1+1" + version: "0.2.1+2" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface - sha256: "9ec26d410ff46f483c5519c29c02ef0e02e13a543f882b152d4bfd2f06802f80" + sha256: "886d57f0be73c4b140004e78b9f28a8914a09e50c2d816bdd0520051a71236a0" url: "https://pub.dev" source: hosted - version: "2.10.0" + version: "2.10.1" image_picker_windows: dependency: transitive description: @@ -569,26 +569,18 @@ packages: dependency: transitive description: name: jovial_misc - sha256: f6e64f789ee311025bb367be9c9afe9759f76dd8209070b7f38e735b5f529eb1 + sha256: "4301011027d87b8b919cb862db84071a34448eadbb32cc8d40fe505424dfe69a" url: "https://pub.dev" source: hosted - version: "0.8.5" + version: "0.9.2" jovial_svg: dependency: transitive description: name: jovial_svg - sha256: "893dab3d9bbb8dd03e8225d457004950b9cf828d0009fd14c185cedacb96839c" + sha256: "5e45b05845c8cbfec99ea32f177473ab2573d2c48479b29922c44ad329881d72" url: "https://pub.dev" source: hosted - version: "1.1.22" - js: - dependency: transitive - description: - name: js - sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf - url: "https://pub.dev" - source: hosted - version: "0.7.1" + version: "1.1.25" json_annotation: dependency: transitive description: @@ -601,26 +593,26 @@ packages: dependency: transitive description: name: just_audio - sha256: b7cb6bbf3750caa924d03f432ba401ec300fd90936b3f73a9b33d58b1e96286b + sha256: f978d5b4ccea08f267dae0232ec5405c1b05d3f3cd63f82097ea46c015d5c09e url: "https://pub.dev" source: hosted - version: "0.9.37" + version: "0.9.46" just_audio_platform_interface: dependency: transitive description: name: just_audio_platform_interface - sha256: "0243828cce503c8366cc2090cefb2b3c871aa8ed2f520670d76fd47aa1ab2790" + sha256: "271b93b484c6f494ecd72a107fffbdb26b425f170c665b9777a0a24a726f2f24" url: "https://pub.dev" source: hosted - version: "4.3.0" + version: "4.4.0" just_audio_web: dependency: transitive description: name: just_audio_web - sha256: "134356b0fe3d898293102b33b5fd618831ffdc72bb7a1b726140abdf22772b70" + sha256: "58915be64509a7683c44bf11cd1a23c15a48de104927bee116e3c63c8eeea0d4" url: "https://pub.dev" source: hosted - version: "0.4.9" + version: "0.4.14" leak_tracker: dependency: transitive description: @@ -657,18 +649,18 @@ packages: dependency: transitive description: name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" + sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 url: "https://pub.dev" source: hosted - version: "1.2.0" + version: "1.3.0" markdown: dependency: transitive description: name: markdown - sha256: ef2a1298144e3f985cc736b22e0ccdaf188b5b3970648f2d9dc13efd1d9df051 + sha256: "935e23e1ff3bc02d390bad4d4be001208ee92cc217cb5b5a6c19bc14aaa318c1" url: "https://pub.dev" source: hosted - version: "7.2.2" + version: "7.3.0" markdown_editor_plus: dependency: "direct main" description: @@ -729,26 +721,26 @@ packages: dependency: "direct main" description: name: omni_datetime_picker - sha256: "3d42a649d7a03c7735fe4e24c396376f128f95fecd236e0bf1a2623fdf4618bd" + sha256: "6e2bd22e2a0ab75ac5fe83bc8d8c2413df08afe27bc78333f5e7e4614f9ddfc3" url: "https://pub.dev" source: hosted - version: "2.0.3" + version: "2.1.0" package_info_plus: dependency: transitive description: name: package_info_plus - sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918 + sha256: "7976bfe4c583170d6cdc7077e3237560b364149fcd268b5f53d95a991963b191" url: "https://pub.dev" source: hosted - version: "8.0.2" + version: "8.3.0" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 + sha256: "6c935fb612dff8e3cc9632c2b301720c77450a126114126ffaafe28d2e87956c" url: "https://pub.dev" source: hosted - version: "3.0.1" + version: "3.2.0" path: dependency: transitive description: @@ -761,34 +753,34 @@ packages: dependency: transitive description: name: path_parsing - sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf + sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.1.0" path_provider: dependency: transitive description: name: path_provider - sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 + sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" url: "https://pub.dev" source: hosted - version: "2.1.4" + version: "2.1.5" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" + sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" url: "https://pub.dev" source: hosted - version: "2.2.10" + version: "2.2.15" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 + sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.4.1" path_provider_linux: dependency: transitive description: @@ -825,10 +817,10 @@ packages: dependency: transitive description: name: platform - sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" + sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" url: "https://pub.dev" source: hosted - version: "3.1.5" + version: "3.1.6" plugin_platform_interface: dependency: transitive description: @@ -837,14 +829,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" - pointycastle: + posix: dependency: transitive description: - name: pointycastle - sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" + name: posix + sha256: a0117dc2167805aa9125b82eee515cc891819bac2f538c83646d355b16f58b9a url: "https://pub.dev" source: hosted - version: "3.9.1" + version: "6.0.1" provider: dependency: "direct main" description: @@ -857,42 +849,42 @@ packages: dependency: transitive description: name: riverpod - sha256: f21b32ffd26a36555e501b04f4a5dca43ed59e16343f1a30c13632b2351dfa4d + sha256: "59062512288d3056b2321804332a13ffdd1bf16df70dcc8e506e411280a72959" url: "https://pub.dev" source: hosted - version: "2.5.1" + version: "2.6.1" rxdart: dependency: transitive description: name: rxdart - sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" + sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" url: "https://pub.dev" source: hosted - version: "0.27.7" + version: "0.28.0" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051" + sha256: "846849e3e9b68f3ef4b60c60cf4b3e02e9321bc7f4d8c4692cf87ffa82fc8a3a" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.5.2" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974 + sha256: a768fc8ede5f0c8e6150476e14f38e2417c0864ca36bb4582be8e21925a03c22 url: "https://pub.dev" source: hosted - version: "2.3.1" + version: "2.4.6" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: c4b35f6cb8f63c147312c054ce7c2254c8066745125264f0c88739c417fc9d9f + sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03" url: "https://pub.dev" source: hosted - version: "2.5.2" + version: "2.5.4" shared_preferences_linux: dependency: transitive description: @@ -913,10 +905,10 @@ packages: dependency: transitive description: name: shared_preferences_web - sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e + sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 url: "https://pub.dev" source: hosted - version: "2.4.2" + version: "2.4.3" shared_preferences_windows: dependency: transitive description: @@ -950,18 +942,42 @@ packages: dependency: transitive description: name: sqflite - sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d + sha256: "2d7299468485dca85efeeadf5d38986909c5eb0cd71fd3db2c2f000e6c9454bb" url: "https://pub.dev" source: hosted - version: "2.3.3+1" + version: "2.4.1" + sqflite_android: + dependency: transitive + description: + name: sqflite_android + sha256: "78f489aab276260cdd26676d2169446c7ecd3484bbd5fead4ca14f3ed4dd9ee3" + url: "https://pub.dev" + source: hosted + version: "2.4.0" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" + sha256: "761b9740ecbd4d3e66b8916d784e581861fd3c3553eda85e167bc49fdb68f709" url: "https://pub.dev" source: hosted - version: "2.5.4" + version: "2.5.4+6" + sqflite_darwin: + dependency: transitive + description: + name: sqflite_darwin + sha256: "22adfd9a2c7d634041e96d6241e6e1c8138ca6817018afc5d443fef91dcefa9c" + url: "https://pub.dev" + source: hosted + version: "2.4.1+1" + sqflite_platform_interface: + dependency: transitive + description: + name: sqflite_platform_interface + sha256: "8dd4515c7bdcae0a785b0062859336de775e8c65db81ae33dd5445f35be61920" + url: "https://pub.dev" + source: hosted + version: "2.4.0" stack_trace: dependency: transitive description: @@ -998,10 +1014,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" + sha256: "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225" url: "https://pub.dev" source: hosted - version: "3.1.0+1" + version: "3.3.0+3" term_glyph: dependency: transitive description: @@ -1022,58 +1038,58 @@ packages: dependency: "direct main" description: name: top_snackbar_flutter - sha256: "22d14664a13db6ac714934c3382bd8d4daa57fb888a672f922df71981c5a5cb2" + sha256: f86ec477c60b716fac33a767f278fa2de275193b1d7a1f4fc4838b6088d7d338 url: "https://pub.dev" source: hosted - version: "3.1.0" + version: "3.2.0" typed_data: dependency: transitive description: name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c + sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 url: "https://pub.dev" source: hosted - version: "1.3.2" + version: "1.4.0" url_launcher: dependency: transitive description: name: url_launcher - sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" + sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.3.1" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79 + sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193" url: "https://pub.dev" source: hosted - version: "6.3.9" + version: "6.3.14" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e + sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.2" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af + sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.2.1" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "9a1a42d5d2d95400c795b2914c36fdcb525870c752569438e4ebb09a2b5d90de" + sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.2.2" url_launcher_platform_interface: dependency: transitive description: @@ -1086,50 +1102,50 @@ packages: dependency: transitive description: name: url_launcher_web - sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" + sha256: "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9" url: "https://pub.dev" source: hosted - version: "2.3.3" + version: "2.4.0" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185" + sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.4" uuid: dependency: transitive description: name: uuid - sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" + sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff url: "https://pub.dev" source: hosted - version: "4.4.2" + version: "4.5.1" vector_graphics: dependency: transitive description: name: vector_graphics - sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" + sha256: "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.18" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da + sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.13" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" + sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" url: "https://pub.dev" source: hosted - version: "1.1.11+1" + version: "1.1.16" vector_math: dependency: transitive description: @@ -1142,42 +1158,42 @@ packages: dependency: transitive description: name: video_player - sha256: e30df0d226c4ef82e2c150ebf6834b3522cf3f654d8e2f9419d376cdc071425d + sha256: "48941c8b05732f9582116b1c01850b74dbee1d8520cd7e34ad4609d6df666845" url: "https://pub.dev" source: hosted - version: "2.9.1" + version: "2.9.3" video_player_android: dependency: transitive description: name: video_player_android - sha256: "4de50df9ee786f5891d3281e1e633d7b142ef1acf47392592eb91cba5d355849" + sha256: "412e0b474c79bb7df14bf25d2b278a1e025760d3a1aaaa9fd712d9d17f589151" url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.8.0" video_player_avfoundation: dependency: transitive description: name: video_player_avfoundation - sha256: d1e9a824f2b324000dc8fb2dcb2a3285b6c1c7c487521c63306cc5b394f68a7c + sha256: "84b4752745eeccb6e75865c9aab39b3d28eb27ba5726d352d45db8297fbd75bc" url: "https://pub.dev" source: hosted - version: "2.6.1" + version: "2.7.0" video_player_platform_interface: dependency: transitive description: name: video_player_platform_interface - sha256: "236454725fafcacf98f0f39af0d7c7ab2ce84762e3b63f2cbb3ef9a7e0550bc6" + sha256: df534476c341ab2c6a835078066fc681b8265048addd853a1e3c78740316a844 url: "https://pub.dev" source: hosted - version: "6.2.2" + version: "6.3.0" video_player_web: dependency: transitive description: name: video_player_web - sha256: "6dcdd298136523eaf7dfc31abaf0dfba9aa8a8dbc96670e87e9d42b6f2caf774" + sha256: "3ef40ea6d72434edbfdba4624b90fd3a80a0740d260667d91e7ecd2d79e13476" url: "https://pub.dev" source: hosted - version: "2.3.2" + version: "2.3.4" vm_service: dependency: transitive description: @@ -1190,42 +1206,42 @@ packages: dependency: transitive description: name: wakelock_plus - sha256: bf4ee6f17a2fa373ed3753ad0e602b7603f8c75af006d5b9bdade263928c0484 + sha256: "36c88af0b930121941345306d259ec4cc4ecca3b151c02e3a9e71aede83c615e" url: "https://pub.dev" source: hosted - version: "1.2.8" + version: "1.2.10" wakelock_plus_platform_interface: dependency: transitive description: name: wakelock_plus_platform_interface - sha256: "422d1cdbb448079a8a62a5a770b69baa489f8f7ca21aef47800c726d404f9d16" + sha256: "70e780bc99796e1db82fe764b1e7dcb89a86f1e5b3afb1db354de50f2e41eb7a" url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" web: dependency: transitive description: name: web - sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 + sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" url: "https://pub.dev" source: hosted - version: "1.0.0" + version: "1.1.1" webview_flutter: dependency: transitive description: name: webview_flutter - sha256: "6869c8786d179f929144b4a1f86e09ac0eddfe475984951ea6c634774c16b522" + sha256: ec81f57aa1611f8ebecf1d2259da4ef052281cb5ad624131c93546c79ccc7736 url: "https://pub.dev" source: hosted - version: "4.8.0" + version: "4.9.0" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: c66651fba15f9d7ddd31daec42da8d6bce46c85610a7127e3ebcb39a4395c3c9 + sha256: "47a8da40d02befda5b151a26dba71f47df471cddd91dfdb7802d0a87c5442558" url: "https://pub.dev" source: hosted - version: "3.16.6" + version: "3.16.9" webview_flutter_platform_interface: dependency: transitive description: @@ -1238,10 +1254,10 @@ packages: dependency: transitive description: name: webview_flutter_wkwebview - sha256: "9c62cc46fa4f2d41e10ab81014c1de470a6c6f26051a2de32111b2ee55287feb" + sha256: c49a98510080378b1525132f407a92c3dcd3b7145bef04fb8137724aadcf1cf0 url: "https://pub.dev" source: hosted - version: "3.14.0" + version: "3.18.4" widget_zoom: dependency: "direct main" description: @@ -1254,18 +1270,18 @@ packages: dependency: transitive description: name: win32 - sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" + sha256: daf97c9d80197ed7b619040e86c8ab9a9dad285e7671ee7390f9180cc828a51e url: "https://pub.dev" source: hosted - version: "5.5.4" + version: "5.10.1" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d + sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "1.1.0" xml: dependency: transitive description: @@ -1278,10 +1294,10 @@ packages: dependency: transitive description: name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" + sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.3" sdks: - dart: ">=3.4.3 <4.0.0" - flutter: ">=3.22.0" + dart: ">=3.6.0 <4.0.0" + flutter: ">=3.27.0" diff --git a/pubspec.yaml b/pubspec.yaml index ab59310..33db766 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.0.9 +version: 0.0.1 environment: sdk: '>=3.4.3 <4.0.0' From f0fab9b098b13fdf92af34f2dd188675a0be6055 Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 19:04:41 +0530 Subject: [PATCH 3/7] update keystore --- android/app/build.gradle | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 81db9cb..e8b98b8 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -44,11 +44,23 @@ android { versionName = flutterVersionName } + signingConfigs { + release { + storeFile file("my-release-key.jks") // Ensure this file exists + storePassword "deadpool" + keyAlias "my-key-alias" + keyPassword "deadpool" + } + } + buildTypes { release { - // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. - signingConfig = signingConfigs.debug + // signingConfig = signingConfigs.debug + minifyEnabled true + shrinkResources true + signingConfig = signingConfigs.release + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } } From e14c3e8448d2dbc7434cb2799f06a1979397237c Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 19:44:11 +0530 Subject: [PATCH 4/7] Revert "update keystore" This reverts commit f0fab9b098b13fdf92af34f2dd188675a0be6055. --- android/app/build.gradle | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index e8b98b8..81db9cb 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -44,23 +44,11 @@ android { versionName = flutterVersionName } - signingConfigs { - release { - storeFile file("my-release-key.jks") // Ensure this file exists - storePassword "deadpool" - keyAlias "my-key-alias" - keyPassword "deadpool" - } - } - buildTypes { release { + // TODO: Add your own signing config for the release build. // Signing with the debug keys for now, so `flutter run --release` works. - // signingConfig = signingConfigs.debug - minifyEnabled true - shrinkResources true - signingConfig = signingConfigs.release - proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' + signingConfig = signingConfigs.debug } } } From 7516c2fc7eb51c2baf33e7bc90e790f7a212b161 Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 19:45:54 +0530 Subject: [PATCH 5/7] Revert "fixes" This reverts commit fedc8377e815894eff5604c2d538a6f4b804ef1c. --- android/gradle.properties | 1 - .../gradle/wrapper/gradle-wrapper.properties | 3 +- android/settings.gradle | 4 +- ios/Podfile.lock | 32 +- ios/Runner.xcodeproj/project.pbxproj | 21 +- ios/Runner/Info.plist | 106 ++--- lib/screens/login_screen.dart | 23 + pubspec.lock | 392 +++++++++--------- pubspec.yaml | 2 +- 9 files changed, 292 insertions(+), 292 deletions(-) diff --git a/android/gradle.properties b/android/gradle.properties index b80bf94..3b5b324 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,3 @@ org.gradle.jvmargs=-Xmx4G -XX:+HeapDumpOnOutOfMemoryError android.useAndroidX=true android.enableJetifier=true -org.gradle.java.home=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index 4eb4c4d..e1ca574 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,5 @@ -#Wed Mar 05 16:23:30 IST 2025 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip diff --git a/android/settings.gradle b/android/settings.gradle index a3e1c0b..536165d 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -18,8 +18,8 @@ pluginManagement { plugins { id "dev.flutter.flutter-plugin-loader" version "1.0.0" - id "com.android.application" version "8.2.2" apply false // Updated Gradle Plugin - id "org.jetbrains.kotlin.android" version "1.9.22" apply false // Updated Kotlin + id "com.android.application" version "7.3.0" apply false + id "org.jetbrains.kotlin.android" version "1.7.10" apply false } include ":app" diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 53f3c9d..871b130 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -42,7 +42,6 @@ PODS: - Flutter - just_audio (0.0.1): - Flutter - - FlutterMacOS - package_info_plus (0.4.5): - Flutter - path_provider_foundation (0.0.1): @@ -54,7 +53,7 @@ PODS: - shared_preferences_foundation (0.0.1): - Flutter - FlutterMacOS - - sqflite_darwin (0.0.4): + - sqflite (0.0.3): - Flutter - FlutterMacOS - SwiftyGif (5.4.5) @@ -67,7 +66,6 @@ PODS: - Flutter - webview_flutter_wkwebview (0.0.1): - Flutter - - FlutterMacOS DEPENDENCIES: - audio_session (from `.symlinks/plugins/audio_session/ios`) @@ -75,15 +73,15 @@ DEPENDENCIES: - Flutter (from `Flutter`) - flutter_file_dialog (from `.symlinks/plugins/flutter_file_dialog/ios`) - image_picker_ios (from `.symlinks/plugins/image_picker_ios/ios`) - - just_audio (from `.symlinks/plugins/just_audio/darwin`) + - just_audio (from `.symlinks/plugins/just_audio/ios`) - package_info_plus (from `.symlinks/plugins/package_info_plus/ios`) - path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`) - shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`) - - sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`) + - sqflite (from `.symlinks/plugins/sqflite/darwin`) - url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`) - video_player_avfoundation (from `.symlinks/plugins/video_player_avfoundation/darwin`) - wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`) - - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`) + - webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`) SPEC REPOS: trunk: @@ -104,15 +102,15 @@ EXTERNAL SOURCES: image_picker_ios: :path: ".symlinks/plugins/image_picker_ios/ios" just_audio: - :path: ".symlinks/plugins/just_audio/darwin" + :path: ".symlinks/plugins/just_audio/ios" package_info_plus: :path: ".symlinks/plugins/package_info_plus/ios" path_provider_foundation: :path: ".symlinks/plugins/path_provider_foundation/darwin" shared_preferences_foundation: :path: ".symlinks/plugins/shared_preferences_foundation/darwin" - sqflite_darwin: - :path: ".symlinks/plugins/sqflite_darwin/darwin" + sqflite: + :path: ".symlinks/plugins/sqflite/darwin" url_launcher_ios: :path: ".symlinks/plugins/url_launcher_ios/ios" video_player_avfoundation: @@ -120,27 +118,27 @@ EXTERNAL SOURCES: wakelock_plus: :path: ".symlinks/plugins/wakelock_plus/ios" webview_flutter_wkwebview: - :path: ".symlinks/plugins/webview_flutter_wkwebview/darwin" + :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" SPEC CHECKSUMS: - audio_session: 9bb7f6c970f21241b19f5a3658097ae459681ba0 + audio_session: f08db0697111ac84ba46191b55488c0563bb29c6 DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 - file_picker: a0560bc09d61de87f12d246fc47d2119e6ef37be + file_picker: 9b3292d7c8bc68c8a7bf8eb78f730e49c8efc517 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 flutter_file_dialog: ca8d7fbd1772d4f0c2777b4ab20a7787ef4e7dd8 image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a - just_audio: 4e391f57b79cad2b0674030a00453ca5ce817eed - package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499 + just_audio: 6c031bb61297cf218b4462be616638e81c058e97 + package_info_plus: 580e9a5f1b6ca5594e7c9ed5f92d1dfb2a66b5e1 path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 SDWebImage: 8a6b7b160b4d710e2a22b6900e25301075c34cb3 shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 - sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0 + sqflite: c35dad70033b8862124f8337cc994a809fcd9fa3 SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 url_launcher_ios: 694010445543906933d732453a59da0a173ae33d video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b - wakelock_plus: 04623e3f525556020ebd4034310f20fe7fda8b49 - webview_flutter_wkwebview: 1821ceac936eba6f7984d89a9f3bcb4dea99ebb2 + wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03 + webview_flutter_wkwebview: 45a041c7831641076618876de3ba75c712860c6b PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index b44f9b2..845e50d 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -469,8 +469,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = PSJZU2LQBR; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = ZB6CDJCDYG; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -478,8 +478,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; + PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -659,8 +658,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = PSJZU2LQBR; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = ZB6CDJCDYG; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -668,8 +667,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; + PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; @@ -689,8 +687,8 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = PSJZU2LQBR; + CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = ZB6CDJCDYG; ENABLE_BITCODE = NO; INFOPLIST_FILE = Runner/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = Planka; @@ -698,8 +696,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.bytequests.planka; + PRODUCT_BUNDLE_IDENTIFIER = de.bbsl.planka; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; SUPPORTS_MACCATALYST = NO; diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 66fc4d6..7e415d7 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -2,58 +2,58 @@ - CADisableMinimumFrameDurationOnPhone - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Planka App - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - planka_app - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - ITSAppUsesNonExemptEncryption - - LSRequiresIPhoneOS - - NSCalendarsUsageDescription - This app needs calendar access to create cards - NSCameraUsageDescription - This app needs camera access to take profile photo or to scan QR codes - NSMicrophoneUsageDescription - This app needs this permission because of using Camera Plugin to create profile photo - NSPhotoLibraryUsageDescription - This app needs photo library access to pick images for profile photo - UIApplicationSupportsIndirectInputEvents - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - + CADisableMinimumFrameDurationOnPhone + + CFBundleDevelopmentRegion + $(DEVELOPMENT_LANGUAGE) + CFBundleDisplayName + Planka App + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + planka_app + CFBundlePackageType + APPL + CFBundleShortVersionString + $(FLUTTER_BUILD_NAME) + CFBundleSignature + ???? + CFBundleVersion + $(FLUTTER_BUILD_NUMBER) + ITSAppUsesNonExemptEncryption + + LSRequiresIPhoneOS + + NSCalendarsUsageDescription + This app needs calendar access to create cards + NSCameraUsageDescription + This app needs camera access to take profile photo or to scan QR codes + NSMicrophoneUsageDescription + This app needs this permission because of using Camera Plugin to create profile photo + NSPhotoLibraryUsageDescription + This app needs photo library access to pick images for profile photo + UIApplicationSupportsIndirectInputEvents + + UILaunchStoryboardName + LaunchScreen + UIMainStoryboardFile + Main + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UISupportedInterfaceOrientations~ipad + + UIInterfaceOrientationPortrait + UIInterfaceOrientationPortraitUpsideDown + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index 37a5ba2..1ba2883 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -98,6 +98,29 @@ class _LoginScreenState extends State { textInputAction: TextInputAction.done, onSubmitted: (_) => _login(), ), + DropdownButton( + value: _selectedProtocol, + isExpanded: true, + icon: const Icon(Icons.keyboard_arrow_down), + iconSize: 24, + elevation: 16, + style: const TextStyle(color: Colors.black), + underline: Container( + height: 2, + color: Colors.indigo, + ), + onChanged: (String? newProtocol) { + setState(() { + _selectedProtocol = newProtocol!; + }); + }, + items: _protocolOptions.map>((protocol) { + return DropdownMenuItem( + value: protocol, + child: Text(protocol.toUpperCase()), + ); + }).toList(), + ), const SizedBox(height: 10), ElevatedButton( onPressed: _login, diff --git a/pubspec.lock b/pubspec.lock index 6a4d74b..8f4b9ab 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -5,18 +5,18 @@ packages: dependency: transitive description: name: archive - sha256: "0c64e928dcbefddecd234205422bcfc2b5e6d31be0b86fef0d0dd48d7b4c9742" + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d url: "https://pub.dev" source: hosted - version: "4.0.4" + version: "3.6.1" args: dependency: transitive description: name: args - sha256: bf9f5caeea8d8fe6721a9c358dd8a5c1947b27f1cfaa18b39c301273594919e6 + sha256: "7cf60b9f0cc88203c5a190b4cd62a99feea42759a7fa695010eb5de1c0b2252a" url: "https://pub.dev" source: hosted - version: "2.6.0" + version: "2.5.0" async: dependency: transitive description: @@ -29,18 +29,18 @@ packages: dependency: transitive description: name: audio_session - sha256: "2b7fff16a552486d078bfc09a8cde19f426dc6d6329262b684182597bec5b1ac" + sha256: "343e83bc7809fbda2591a49e525d6b63213ade10c76f15813be9aed6657b3261" url: "https://pub.dev" source: hosted - version: "0.1.25" + version: "0.1.21" bloc: dependency: transitive description: name: bloc - sha256: "52c10575f4445c61dd9e0cafcc6356fdd827c4c64dd7945ef3c4105f6b6ac189" + sha256: "106842ad6569f0b60297619e9e0b1885c2fb9bf84812935490e6c5275777804e" url: "https://pub.dev" source: hosted - version: "9.0.0" + version: "8.1.4" boolean_selector: dependency: transitive description: @@ -93,18 +93,18 @@ packages: dependency: transitive description: name: chewie - sha256: "645fbca3f22309381edb5af59a4c8aa544a3d3872d7b7b7c986c2b18b3bdd265" + sha256: "2243e41e79e865d426d9dd9c1a9624aa33c4ad11de2d0cd680f826e2cd30e879" url: "https://pub.dev" source: hosted - version: "1.10.0" + version: "1.8.3" cli_util: dependency: transitive description: name: cli_util - sha256: ff6785f7e9e3c38ac98b2fb035701789de90154024a75b6cb926445e83197d1c + sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 url: "https://pub.dev" source: hosted - version: "0.4.2" + version: "0.4.1" clock: dependency: transitive description: @@ -125,18 +125,18 @@ packages: dependency: transitive description: name: convert - sha256: b30acd5944035672bc15c6b7a8b47d773e41e2f17de064350988c5d02adb1c68 + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" url: "https://pub.dev" source: hosted - version: "3.1.2" + version: "3.1.1" country_flags: dependency: "direct main" description: name: country_flags - sha256: "66726c7070d60c2f90c4a1d58980e9188fa04335d6287e98aef835461019c3c2" + sha256: "0c2d9f0673ad0a5ec148f5b264c9e7338208b83000336bb4db8d189cd50df2bb" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.0.0" cross_file: dependency: transitive description: @@ -149,18 +149,18 @@ packages: dependency: transitive description: name: crypto - sha256: "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855" + sha256: ec30d999af904f33454ba22ed9a86162b35e52b44ac4807d1d93c288041d7d27 url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.0.5" csslib: dependency: transitive description: name: csslib - sha256: "09bad715f418841f976c77db72d5398dc1253c21fb9c0c7f0b0b985860b2d58e" + sha256: "706b5707578e0c1b4b7550f64078f0a0f19dec3f50a178ffae7006b0a9ca58fb" url: "https://pub.dev" source: hosted - version: "1.0.2" + version: "1.0.0" cupertino_icons: dependency: "direct main" description: @@ -173,26 +173,26 @@ packages: dependency: transitive description: name: dbus - sha256: "79e0c23480ff85dc68de79e2cd6334add97e48f7f4865d17686dd6ea81a47e8c" + sha256: "365c771ac3b0e58845f39ec6deebc76e3276aa9922b0cc60840712094d9047ac" url: "https://pub.dev" source: hosted - version: "0.7.11" + version: "0.7.10" download: dependency: "direct main" description: name: download - sha256: c05f06c71237e543740ac58ded7146fe1a270caeb7d1b664d6910382143e1c3e + sha256: d3f39f5799913f61f84a2cfac8153a32fe71b7cd3d2282702886e6190f103c6a url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "1.0.0" easy_localization: dependency: "direct main" description: name: easy_localization - sha256: "0f5239c7b8ab06c66440cfb0e9aa4b4640429c6668d5a42fe389c5de42220b12" + sha256: fa59bcdbbb911a764aa6acf96bbb6fa7a5cf8234354fc45ec1a43a0349ef0201 url: "https://pub.dev" source: hosted - version: "3.0.7+1" + version: "3.0.7" easy_logger: dependency: transitive description: @@ -205,10 +205,10 @@ packages: dependency: transitive description: name: equatable - sha256: "567c64b3cb4cf82397aac55f4f0cbd3ca20d77c6c03bedbc4ceaddc08904aef7" + sha256: c2b87cb7756efdf69892005af546c56c0b5037f54d2a88269b4f347a505e3ca2 url: "https://pub.dev" source: hosted - version: "2.0.7" + version: "2.0.5" expandable: dependency: transitive description: @@ -237,34 +237,34 @@ packages: dependency: transitive description: name: file - sha256: a3b4f84adafef897088c160faf7dfffb7696046cb13ae90b508c2cbc95d3b8d4 + sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" url: "https://pub.dev" source: hosted - version: "7.0.1" + version: "7.0.0" file_picker: dependency: "direct main" description: name: file_picker - sha256: ab13ae8ef5580a411c458d6207b6774a6c237d77ac37011b13994879f68a8810 + sha256: "167bb619cdddaa10ef2907609feb8a79c16dfa479d3afaf960f8e223f754bf12" url: "https://pub.dev" source: hosted - version: "8.3.7" + version: "8.1.2" file_selector_linux: dependency: transitive description: name: file_selector_linux - sha256: "54cbbd957e1156d29548c7d9b9ec0c0ebb6de0a90452198683a7d23aed617a33" + sha256: "045d372bf19b02aeb69cacf8b4009555fb5f6f0b7ad8016e5f46dd1387ddd492" url: "https://pub.dev" source: hosted - version: "0.9.3+2" + version: "0.9.2+1" file_selector_macos: dependency: transitive description: name: file_selector_macos - sha256: "271ab9986df0c135d45c3cdb6bd0faa5db6f4976d3e4b437cf7d0f258d941bfc" + sha256: f42eacb83b318e183b1ae24eead1373ab1334084404c8c16e0354f9a3e55d385 url: "https://pub.dev" source: hosted - version: "0.9.4+2" + version: "0.9.4" file_selector_platform_interface: dependency: transitive description: @@ -277,18 +277,18 @@ packages: dependency: transitive description: name: file_selector_windows - sha256: "320fcfb6f33caa90f0b58380489fc5ac05d99ee94b61aa96ec2bff0ba81d3c2b" + sha256: "2ad726953f6e8affbc4df8dc78b77c3b4a060967a291e528ef72ae846c60fb69" url: "https://pub.dev" source: hosted - version: "0.9.3+4" + version: "0.9.3+2" fixnum: dependency: transitive description: name: fixnum - sha256: b6dc7065e46c974bc7c5f143080a6764ec7a4be6da1285ececdc37be96de53be + sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.1.0" floating_action_bubble: dependency: "direct main" description: @@ -306,10 +306,10 @@ packages: dependency: transitive description: name: flutter_bloc - sha256: "1046d719fbdf230330d3443187cc33cc11963d15c9089f6cc56faa42a4c5f0cc" + sha256: b594505eac31a0518bdcb4b5b79573b8d9117b193cc80cc12e17d639b10aa27a url: "https://pub.dev" source: hosted - version: "9.1.0" + version: "8.1.6" flutter_cache_manager: dependency: transitive description: @@ -351,34 +351,34 @@ packages: dependency: "direct main" description: name: flutter_markdown - sha256: e7bbc718adc9476aa14cfddc1ef048d2e21e4e8f18311aaac723266db9f9e7b5 + sha256: a23c41ee57573e62fc2190a1f36a0480c4d90bde3a8a8d7126e5d5992fb53fb7 url: "https://pub.dev" source: hosted - version: "0.7.6+2" + version: "0.7.3+1" flutter_plugin_android_lifecycle: dependency: transitive description: name: flutter_plugin_android_lifecycle - sha256: "5a1e6fb2c0561958d7e4c33574674bda7b77caaca7a33b758876956f2902eea3" + sha256: "9ee02950848f61c4129af3d6ec84a1cfc0e47931abc746b03e7a3bc3e8ff6eda" url: "https://pub.dev" source: hosted - version: "2.0.27" + version: "2.0.22" flutter_riverpod: dependency: "direct main" description: name: flutter_riverpod - sha256: "9532ee6db4a943a1ed8383072a2e3eeda041db5657cdf6d2acecf3c21ecbe7e1" + sha256: "0f1974eff5bbe774bf1d870e406fc6f29e3d6f1c46bd9c58e7172ff68a785d7d" url: "https://pub.dev" source: hosted - version: "2.6.1" + version: "2.5.1" flutter_svg: dependency: transitive description: name: flutter_svg - sha256: c200fd79c918a40c5cd50ea0877fa13f81bdaf6f0a5d3dbcc2a13e3285d6aa1b + sha256: "7b4ca6cf3304575fe9c8ec64813c8d02ee41d2afe60bcfe0678bcb5375d596a2" url: "https://pub.dev" source: hosted - version: "2.0.17" + version: "2.0.10+1" flutter_test: dependency: "direct dev" description: flutter @@ -409,10 +409,10 @@ packages: dependency: transitive description: name: font_awesome_flutter - sha256: d3a89184101baec7f4600d58840a764d2ef760fe1c5a20ef9e6b0e9b24a07a3a + sha256: "275ff26905134bcb59417cf60ad979136f1f8257f2f449914b2c3e05bbb4cd6f" url: "https://pub.dev" source: hosted - version: "10.8.0" + version: "10.7.0" fwfh_cached_network_image: dependency: transitive description: @@ -441,10 +441,10 @@ packages: dependency: transitive description: name: fwfh_svg - sha256: "550b1014d12b5528d8bdb6e3b44b58721f3fb1f65d7a852d1623a817008bdfc4" + sha256: c6bb6b513f7ce2766aba76d7276caf9a96b6fee729ac3a492c366a42f82ef02e url: "https://pub.dev" source: hosted - version: "0.8.3" + version: "0.8.2" fwfh_url_launcher: dependency: transitive description: @@ -465,34 +465,34 @@ packages: dependency: "direct main" description: name: html - sha256: "1fc58edeaec4307368c60d59b7e15b9d658b57d7f3125098b6294153c75337ec" + sha256: "3a7812d5bcd2894edf53dfaf8cd640876cf6cef50a8f238745c8b8120ea74d3a" url: "https://pub.dev" source: hosted - version: "0.15.5" + version: "0.15.4" http: dependency: "direct main" description: name: http - sha256: fe7ab022b76f3034adc518fb6ea04a82387620e19977665ea18d30a1cf43442f + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.2.2" http_parser: dependency: "direct main" description: name: http_parser - sha256: "178d74305e7866013777bab2c3d8726205dc5a4dd935297175b19a23a2e66571" + sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" url: "https://pub.dev" source: hosted - version: "4.1.2" + version: "4.0.2" image: dependency: transitive description: name: image - sha256: "13d3349ace88f12f4a0d175eb5c12dcdd39d35c4c109a8a13dfeb6d0bd9e31c3" + sha256: "2237616a36c0d69aef7549ab439b833fb7f9fb9fc861af2cc9ac3eedddd69ca8" url: "https://pub.dev" source: hosted - version: "4.5.3" + version: "4.2.0" image_picker: dependency: "direct main" description: @@ -505,26 +505,26 @@ packages: dependency: transitive description: name: image_picker_android - sha256: "82652a75e3dd667a91187769a6a2cc81bd8c111bbead698d8e938d2b63e5e89a" + sha256: "8c5abf0dcc24fe6e8e0b4a5c0b51a5cf30cefdf6407a3213dae61edc75a70f56" url: "https://pub.dev" source: hosted - version: "0.8.12+21" + version: "0.8.12+12" image_picker_for_web: dependency: transitive description: name: image_picker_for_web - sha256: "717eb042ab08c40767684327be06a5d8dbb341fe791d514e4b92c7bbe1b7bb83" + sha256: "65d94623e15372c5c51bebbcb820848d7bcb323836e12dfdba60b5d3a8b39e50" url: "https://pub.dev" source: hosted - version: "3.0.6" + version: "3.0.5" image_picker_ios: dependency: transitive description: name: image_picker_ios - sha256: "05da758e67bc7839e886b3959848aa6b44ff123ab4b28f67891008afe8ef9100" + sha256: "6703696ad49f5c3c8356d576d7ace84d1faf459afb07accbb0fae780753ff447" url: "https://pub.dev" source: hosted - version: "0.8.12+2" + version: "0.8.12" image_picker_linux: dependency: transitive description: @@ -537,18 +537,18 @@ packages: dependency: transitive description: name: image_picker_macos - sha256: "1b90ebbd9dcf98fb6c1d01427e49a55bd96b5d67b8c67cf955d60a5de74207c1" + sha256: "3f5ad1e8112a9a6111c46d0b57a7be2286a9a07fc6e1976fdf5be2bd31d4ff62" url: "https://pub.dev" source: hosted - version: "0.2.1+2" + version: "0.2.1+1" image_picker_platform_interface: dependency: transitive description: name: image_picker_platform_interface - sha256: "886d57f0be73c4b140004e78b9f28a8914a09e50c2d816bdd0520051a71236a0" + sha256: "9ec26d410ff46f483c5519c29c02ef0e02e13a543f882b152d4bfd2f06802f80" url: "https://pub.dev" source: hosted - version: "2.10.1" + version: "2.10.0" image_picker_windows: dependency: transitive description: @@ -569,18 +569,26 @@ packages: dependency: transitive description: name: jovial_misc - sha256: "4301011027d87b8b919cb862db84071a34448eadbb32cc8d40fe505424dfe69a" + sha256: f6e64f789ee311025bb367be9c9afe9759f76dd8209070b7f38e735b5f529eb1 url: "https://pub.dev" source: hosted - version: "0.9.2" + version: "0.8.5" jovial_svg: dependency: transitive description: name: jovial_svg - sha256: "5e45b05845c8cbfec99ea32f177473ab2573d2c48479b29922c44ad329881d72" + sha256: "893dab3d9bbb8dd03e8225d457004950b9cf828d0009fd14c185cedacb96839c" url: "https://pub.dev" source: hosted - version: "1.1.25" + version: "1.1.22" + js: + dependency: transitive + description: + name: js + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf + url: "https://pub.dev" + source: hosted + version: "0.7.1" json_annotation: dependency: transitive description: @@ -593,26 +601,26 @@ packages: dependency: transitive description: name: just_audio - sha256: f978d5b4ccea08f267dae0232ec5405c1b05d3f3cd63f82097ea46c015d5c09e + sha256: b7cb6bbf3750caa924d03f432ba401ec300fd90936b3f73a9b33d58b1e96286b url: "https://pub.dev" source: hosted - version: "0.9.46" + version: "0.9.37" just_audio_platform_interface: dependency: transitive description: name: just_audio_platform_interface - sha256: "271b93b484c6f494ecd72a107fffbdb26b425f170c665b9777a0a24a726f2f24" + sha256: "0243828cce503c8366cc2090cefb2b3c871aa8ed2f520670d76fd47aa1ab2790" url: "https://pub.dev" source: hosted - version: "4.4.0" + version: "4.3.0" just_audio_web: dependency: transitive description: name: just_audio_web - sha256: "58915be64509a7683c44bf11cd1a23c15a48de104927bee116e3c63c8eeea0d4" + sha256: "134356b0fe3d898293102b33b5fd618831ffdc72bb7a1b726140abdf22772b70" url: "https://pub.dev" source: hosted - version: "0.4.14" + version: "0.4.9" leak_tracker: dependency: transitive description: @@ -649,18 +657,18 @@ packages: dependency: transitive description: name: logging - sha256: c8245ada5f1717ed44271ed1c26b8ce85ca3228fd2ffdb75468ab01979309d61 + sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.2.0" markdown: dependency: transitive description: name: markdown - sha256: "935e23e1ff3bc02d390bad4d4be001208ee92cc217cb5b5a6c19bc14aaa318c1" + sha256: ef2a1298144e3f985cc736b22e0ccdaf188b5b3970648f2d9dc13efd1d9df051 url: "https://pub.dev" source: hosted - version: "7.3.0" + version: "7.2.2" markdown_editor_plus: dependency: "direct main" description: @@ -721,26 +729,26 @@ packages: dependency: "direct main" description: name: omni_datetime_picker - sha256: "6e2bd22e2a0ab75ac5fe83bc8d8c2413df08afe27bc78333f5e7e4614f9ddfc3" + sha256: "3d42a649d7a03c7735fe4e24c396376f128f95fecd236e0bf1a2623fdf4618bd" url: "https://pub.dev" source: hosted - version: "2.1.0" + version: "2.0.3" package_info_plus: dependency: transitive description: name: package_info_plus - sha256: "7976bfe4c583170d6cdc7077e3237560b364149fcd268b5f53d95a991963b191" + sha256: a75164ade98cb7d24cfd0a13c6408927c6b217fa60dee5a7ff5c116a58f28918 url: "https://pub.dev" source: hosted - version: "8.3.0" + version: "8.0.2" package_info_plus_platform_interface: dependency: transitive description: name: package_info_plus_platform_interface - sha256: "6c935fb612dff8e3cc9632c2b301720c77450a126114126ffaafe28d2e87956c" + sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66 url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.0.1" path: dependency: transitive description: @@ -753,34 +761,34 @@ packages: dependency: transitive description: name: path_parsing - sha256: "883402936929eac138ee0a45da5b0f2c80f89913e6dc3bf77eb65b84b409c6ca" + sha256: e3e67b1629e6f7e8100b367d3db6ba6af4b1f0bb80f64db18ef1fbabd2fa9ccf url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.0.1" path_provider: dependency: transitive description: name: path_provider - sha256: "50c5dd5b6e1aaf6fb3a78b33f6aa3afca52bf903a8a5298f53101fdaee55bbcd" + sha256: fec0d61223fba3154d87759e3cc27fe2c8dc498f6386c6d6fc80d1afdd1bf378 url: "https://pub.dev" source: hosted - version: "2.1.5" + version: "2.1.4" path_provider_android: dependency: transitive description: name: path_provider_android - sha256: "4adf4fd5423ec60a29506c76581bc05854c55e3a0b72d35bb28d661c9686edf2" + sha256: "6f01f8e37ec30b07bc424b4deabac37cacb1bc7e2e515ad74486039918a37eb7" url: "https://pub.dev" source: hosted - version: "2.2.15" + version: "2.2.10" path_provider_foundation: dependency: transitive description: name: path_provider_foundation - sha256: "4843174df4d288f5e29185bd6e72a6fbdf5a4a4602717eed565497429f179942" + sha256: f234384a3fdd67f989b4d54a5d73ca2a6c422fa55ae694381ae0f4375cd1ea16 url: "https://pub.dev" source: hosted - version: "2.4.1" + version: "2.4.0" path_provider_linux: dependency: transitive description: @@ -817,10 +825,10 @@ packages: dependency: transitive description: name: platform - sha256: "5d6b1b0036a5f331ebc77c850ebc8506cbc1e9416c27e59b439f917a902a4984" + sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65" url: "https://pub.dev" source: hosted - version: "3.1.6" + version: "3.1.5" plugin_platform_interface: dependency: transitive description: @@ -829,14 +837,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" - posix: + pointycastle: dependency: transitive description: - name: posix - sha256: a0117dc2167805aa9125b82eee515cc891819bac2f538c83646d355b16f58b9a + name: pointycastle + sha256: "4be0097fcf3fd3e8449e53730c631200ebc7b88016acecab2b0da2f0149222fe" url: "https://pub.dev" source: hosted - version: "6.0.1" + version: "3.9.1" provider: dependency: "direct main" description: @@ -849,42 +857,42 @@ packages: dependency: transitive description: name: riverpod - sha256: "59062512288d3056b2321804332a13ffdd1bf16df70dcc8e506e411280a72959" + sha256: f21b32ffd26a36555e501b04f4a5dca43ed59e16343f1a30c13632b2351dfa4d url: "https://pub.dev" source: hosted - version: "2.6.1" + version: "2.5.1" rxdart: dependency: transitive description: name: rxdart - sha256: "5c3004a4a8dbb94bd4bf5412a4def4acdaa12e12f269737a5751369e12d1a962" + sha256: "0c7c0cedd93788d996e33041ffecda924cc54389199cde4e6a34b440f50044cb" url: "https://pub.dev" source: hosted - version: "0.28.0" + version: "0.27.7" shared_preferences: dependency: "direct main" description: name: shared_preferences - sha256: "846849e3e9b68f3ef4b60c60cf4b3e02e9321bc7f4d8c4692cf87ffa82fc8a3a" + sha256: "746e5369a43170c25816cc472ee016d3a66bc13fcf430c0bc41ad7b4b2922051" url: "https://pub.dev" source: hosted - version: "2.5.2" + version: "2.3.2" shared_preferences_android: dependency: transitive description: name: shared_preferences_android - sha256: a768fc8ede5f0c8e6150476e14f38e2417c0864ca36bb4582be8e21925a03c22 + sha256: a7e8467e9181cef109f601e3f65765685786c1a738a83d7fbbde377589c0d974 url: "https://pub.dev" source: hosted - version: "2.4.6" + version: "2.3.1" shared_preferences_foundation: dependency: transitive description: name: shared_preferences_foundation - sha256: "6a52cfcdaeac77cad8c97b539ff688ccfc458c007b4db12be584fbe5c0e49e03" + sha256: c4b35f6cb8f63c147312c054ce7c2254c8066745125264f0c88739c417fc9d9f url: "https://pub.dev" source: hosted - version: "2.5.4" + version: "2.5.2" shared_preferences_linux: dependency: transitive description: @@ -905,10 +913,10 @@ packages: dependency: transitive description: name: shared_preferences_web - sha256: c49bd060261c9a3f0ff445892695d6212ff603ef3115edbb448509d407600019 + sha256: d2ca4132d3946fec2184261726b355836a82c33d7d5b67af32692aff18a4684e url: "https://pub.dev" source: hosted - version: "2.4.3" + version: "2.4.2" shared_preferences_windows: dependency: transitive description: @@ -942,42 +950,18 @@ packages: dependency: transitive description: name: sqflite - sha256: "2d7299468485dca85efeeadf5d38986909c5eb0cd71fd3db2c2f000e6c9454bb" + sha256: a43e5a27235518c03ca238e7b4732cf35eabe863a369ceba6cbefa537a66f16d url: "https://pub.dev" source: hosted - version: "2.4.1" - sqflite_android: - dependency: transitive - description: - name: sqflite_android - sha256: "78f489aab276260cdd26676d2169446c7ecd3484bbd5fead4ca14f3ed4dd9ee3" - url: "https://pub.dev" - source: hosted - version: "2.4.0" + version: "2.3.3+1" sqflite_common: dependency: transitive description: name: sqflite_common - sha256: "761b9740ecbd4d3e66b8916d784e581861fd3c3553eda85e167bc49fdb68f709" - url: "https://pub.dev" - source: hosted - version: "2.5.4+6" - sqflite_darwin: - dependency: transitive - description: - name: sqflite_darwin - sha256: "22adfd9a2c7d634041e96d6241e6e1c8138ca6817018afc5d443fef91dcefa9c" + sha256: "3da423ce7baf868be70e2c0976c28a1bb2f73644268b7ffa7d2e08eab71f16a4" url: "https://pub.dev" source: hosted - version: "2.4.1+1" - sqflite_platform_interface: - dependency: transitive - description: - name: sqflite_platform_interface - sha256: "8dd4515c7bdcae0a785b0062859336de775e8c65db81ae33dd5445f35be61920" - url: "https://pub.dev" - source: hosted - version: "2.4.0" + version: "2.5.4" stack_trace: dependency: transitive description: @@ -1014,10 +998,10 @@ packages: dependency: transitive description: name: synchronized - sha256: "69fe30f3a8b04a0be0c15ae6490fc859a78ef4c43ae2dd5e8a623d45bfcf9225" + sha256: "539ef412b170d65ecdafd780f924e5be3f60032a1128df156adad6c5b373d558" url: "https://pub.dev" source: hosted - version: "3.3.0+3" + version: "3.1.0+1" term_glyph: dependency: transitive description: @@ -1038,58 +1022,58 @@ packages: dependency: "direct main" description: name: top_snackbar_flutter - sha256: f86ec477c60b716fac33a767f278fa2de275193b1d7a1f4fc4838b6088d7d338 + sha256: "22d14664a13db6ac714934c3382bd8d4daa57fb888a672f922df71981c5a5cb2" url: "https://pub.dev" source: hosted - version: "3.2.0" + version: "3.1.0" typed_data: dependency: transitive description: name: typed_data - sha256: f9049c039ebfeb4cf7a7104a675823cd72dba8297f264b6637062516699fa006 + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "1.4.0" + version: "1.3.2" url_launcher: dependency: transitive description: name: url_launcher - sha256: "9d06212b1362abc2f0f0d78e6f09f726608c74e3b9462e8368bb03314aa8d603" + sha256: "21b704ce5fa560ea9f3b525b43601c678728ba46725bab9b01187b4831377ed3" url: "https://pub.dev" source: hosted - version: "6.3.1" + version: "6.3.0" url_launcher_android: dependency: transitive description: name: url_launcher_android - sha256: "6fc2f56536ee873eeb867ad176ae15f304ccccc357848b351f6f0d8d4a40d193" + sha256: f0c73347dfcfa5b3db8bc06e1502668265d39c08f310c29bff4e28eea9699f79 url: "https://pub.dev" source: hosted - version: "6.3.14" + version: "6.3.9" url_launcher_ios: dependency: transitive description: name: url_launcher_ios - sha256: "16a513b6c12bb419304e72ea0ae2ab4fed569920d1c7cb850263fe3acc824626" + sha256: e43b677296fadce447e987a2f519dcf5f6d1e527dc35d01ffab4fff5b8a7063e url: "https://pub.dev" source: hosted - version: "6.3.2" + version: "6.3.1" url_launcher_linux: dependency: transitive description: name: url_launcher_linux - sha256: "4e9ba368772369e3e08f231d2301b4ef72b9ff87c31192ef471b380ef29a4935" + sha256: e2b9622b4007f97f504cd64c0128309dfb978ae66adbe944125ed9e1750f06af url: "https://pub.dev" source: hosted - version: "3.2.1" + version: "3.2.0" url_launcher_macos: dependency: transitive description: name: url_launcher_macos - sha256: "17ba2000b847f334f16626a574c702b196723af2a289e7a93ffcb79acff855c2" + sha256: "9a1a42d5d2d95400c795b2914c36fdcb525870c752569438e4ebb09a2b5d90de" url: "https://pub.dev" source: hosted - version: "3.2.2" + version: "3.2.0" url_launcher_platform_interface: dependency: transitive description: @@ -1102,50 +1086,50 @@ packages: dependency: transitive description: name: url_launcher_web - sha256: "3ba963161bd0fe395917ba881d320b9c4f6dd3c4a233da62ab18a5025c85f1e9" + sha256: "772638d3b34c779ede05ba3d38af34657a05ac55b06279ea6edd409e323dca8e" url: "https://pub.dev" source: hosted - version: "2.4.0" + version: "2.3.3" url_launcher_windows: dependency: transitive description: name: url_launcher_windows - sha256: "3284b6d2ac454cf34f114e1d3319866fdd1e19cdc329999057e44ffe936cfa77" + sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185" url: "https://pub.dev" source: hosted - version: "3.1.4" + version: "3.1.2" uuid: dependency: transitive description: name: uuid - sha256: a5be9ef6618a7ac1e964353ef476418026db906c4facdedaa299b7a2e71690ff + sha256: "83d37c7ad7aaf9aa8e275490669535c8080377cfa7a7004c24dfac53afffaa90" url: "https://pub.dev" source: hosted - version: "4.5.1" + version: "4.4.2" vector_graphics: dependency: transitive description: name: vector_graphics - sha256: "44cc7104ff32563122a929e4620cf3efd584194eec6d1d913eb5ba593dbcf6de" + sha256: "32c3c684e02f9bc0afb0ae0aa653337a2fe022e8ab064bcd7ffda27a74e288e3" url: "https://pub.dev" source: hosted - version: "1.1.18" + version: "1.1.11+1" vector_graphics_codec: dependency: transitive description: name: vector_graphics_codec - sha256: "99fd9fbd34d9f9a32efd7b6a6aae14125d8237b10403b422a6a6dfeac2806146" + sha256: c86987475f162fadff579e7320c7ddda04cd2fdeffbe1129227a85d9ac9e03da url: "https://pub.dev" source: hosted - version: "1.1.13" + version: "1.1.11+1" vector_graphics_compiler: dependency: transitive description: name: vector_graphics_compiler - sha256: "1b4b9e706a10294258727674a340ae0d6e64a7231980f9f9a3d12e4b42407aad" + sha256: "12faff3f73b1741a36ca7e31b292ddeb629af819ca9efe9953b70bd63fc8cd81" url: "https://pub.dev" source: hosted - version: "1.1.16" + version: "1.1.11+1" vector_math: dependency: transitive description: @@ -1158,42 +1142,42 @@ packages: dependency: transitive description: name: video_player - sha256: "48941c8b05732f9582116b1c01850b74dbee1d8520cd7e34ad4609d6df666845" + sha256: e30df0d226c4ef82e2c150ebf6834b3522cf3f654d8e2f9419d376cdc071425d url: "https://pub.dev" source: hosted - version: "2.9.3" + version: "2.9.1" video_player_android: dependency: transitive description: name: video_player_android - sha256: "412e0b474c79bb7df14bf25d2b278a1e025760d3a1aaaa9fd712d9d17f589151" + sha256: "4de50df9ee786f5891d3281e1e633d7b142ef1acf47392592eb91cba5d355849" url: "https://pub.dev" source: hosted - version: "2.8.0" + version: "2.6.0" video_player_avfoundation: dependency: transitive description: name: video_player_avfoundation - sha256: "84b4752745eeccb6e75865c9aab39b3d28eb27ba5726d352d45db8297fbd75bc" + sha256: d1e9a824f2b324000dc8fb2dcb2a3285b6c1c7c487521c63306cc5b394f68a7c url: "https://pub.dev" source: hosted - version: "2.7.0" + version: "2.6.1" video_player_platform_interface: dependency: transitive description: name: video_player_platform_interface - sha256: df534476c341ab2c6a835078066fc681b8265048addd853a1e3c78740316a844 + sha256: "236454725fafcacf98f0f39af0d7c7ab2ce84762e3b63f2cbb3ef9a7e0550bc6" url: "https://pub.dev" source: hosted - version: "6.3.0" + version: "6.2.2" video_player_web: dependency: transitive description: name: video_player_web - sha256: "3ef40ea6d72434edbfdba4624b90fd3a80a0740d260667d91e7ecd2d79e13476" + sha256: "6dcdd298136523eaf7dfc31abaf0dfba9aa8a8dbc96670e87e9d42b6f2caf774" url: "https://pub.dev" source: hosted - version: "2.3.4" + version: "2.3.2" vm_service: dependency: transitive description: @@ -1206,42 +1190,42 @@ packages: dependency: transitive description: name: wakelock_plus - sha256: "36c88af0b930121941345306d259ec4cc4ecca3b151c02e3a9e71aede83c615e" + sha256: bf4ee6f17a2fa373ed3753ad0e602b7603f8c75af006d5b9bdade263928c0484 url: "https://pub.dev" source: hosted - version: "1.2.10" + version: "1.2.8" wakelock_plus_platform_interface: dependency: transitive description: name: wakelock_plus_platform_interface - sha256: "70e780bc99796e1db82fe764b1e7dcb89a86f1e5b3afb1db354de50f2e41eb7a" + sha256: "422d1cdbb448079a8a62a5a770b69baa489f8f7ca21aef47800c726d404f9d16" url: "https://pub.dev" source: hosted - version: "1.2.2" + version: "1.2.1" web: dependency: transitive description: name: web - sha256: "868d88a33d8a87b18ffc05f9f030ba328ffefba92d6c127917a2ba740f9cfe4a" + sha256: d43c1d6b787bf0afad444700ae7f4db8827f701bc61c255ac8d328c6f4d52062 url: "https://pub.dev" source: hosted - version: "1.1.1" + version: "1.0.0" webview_flutter: dependency: transitive description: name: webview_flutter - sha256: ec81f57aa1611f8ebecf1d2259da4ef052281cb5ad624131c93546c79ccc7736 + sha256: "6869c8786d179f929144b4a1f86e09ac0eddfe475984951ea6c634774c16b522" url: "https://pub.dev" source: hosted - version: "4.9.0" + version: "4.8.0" webview_flutter_android: dependency: transitive description: name: webview_flutter_android - sha256: "47a8da40d02befda5b151a26dba71f47df471cddd91dfdb7802d0a87c5442558" + sha256: c66651fba15f9d7ddd31daec42da8d6bce46c85610a7127e3ebcb39a4395c3c9 url: "https://pub.dev" source: hosted - version: "3.16.9" + version: "3.16.6" webview_flutter_platform_interface: dependency: transitive description: @@ -1254,10 +1238,10 @@ packages: dependency: transitive description: name: webview_flutter_wkwebview - sha256: c49a98510080378b1525132f407a92c3dcd3b7145bef04fb8137724aadcf1cf0 + sha256: "9c62cc46fa4f2d41e10ab81014c1de470a6c6f26051a2de32111b2ee55287feb" url: "https://pub.dev" source: hosted - version: "3.18.4" + version: "3.14.0" widget_zoom: dependency: "direct main" description: @@ -1270,18 +1254,18 @@ packages: dependency: transitive description: name: win32 - sha256: daf97c9d80197ed7b619040e86c8ab9a9dad285e7671ee7390f9180cc828a51e + sha256: "68d1e89a91ed61ad9c370f9f8b6effed9ae5e0ede22a270bdfa6daf79fc2290a" url: "https://pub.dev" source: hosted - version: "5.10.1" + version: "5.5.4" xdg_directories: dependency: transitive description: name: xdg_directories - sha256: "7a3f37b05d989967cdddcbb571f1ea834867ae2faa29725fd085180e0883aa15" + sha256: faea9dee56b520b55a566385b84f2e8de55e7496104adada9962e0bd11bcff1d url: "https://pub.dev" source: hosted - version: "1.1.0" + version: "1.0.4" xml: dependency: transitive description: @@ -1294,10 +1278,10 @@ packages: dependency: transitive description: name: yaml - sha256: b9da305ac7c39faa3f030eccd175340f968459dae4af175130b3fc47e40d76ce + sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" url: "https://pub.dev" source: hosted - version: "3.1.3" + version: "3.1.2" sdks: - dart: ">=3.6.0 <4.0.0" - flutter: ">=3.27.0" + dart: ">=3.4.3 <4.0.0" + flutter: ">=3.22.0" diff --git a/pubspec.yaml b/pubspec.yaml index 33db766..ab59310 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.0.1 +version: 0.0.9 environment: sdk: '>=3.4.3 <4.0.0' From 3030dc3f28f42628328ddf48836c255be839b7e9 Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 19:46:20 +0530 Subject: [PATCH 6/7] Revert "fixes" This reverts commit bf31c422b7beecd793e9eeb2db41bee1ee15097c. --- .gitignore | 2 - ios/Podfile.lock | 28 ++--- ios/Runner/AppDelegate.swift | 2 +- lib/main.dart | 4 +- lib/models/planka_user.dart | 6 +- lib/providers/attachment_provider.dart | 4 +- lib/providers/auth_provider.dart | 4 +- lib/providers/board_provider.dart | 8 +- lib/providers/card_actions_provider.dart | 8 +- lib/providers/card_provider.dart | 28 ++--- lib/providers/list_provider.dart | 4 +- lib/providers/project_provider.dart | 11 +- lib/providers/user_provider.dart | 4 +- lib/screens/login_screen.dart | 124 +++++++++++++++++++++-- lib/widgets/card_list.dart | 2 +- pubspec.lock | 30 +++--- 16 files changed, 188 insertions(+), 81 deletions(-) diff --git a/.gitignore b/.gitignore index 79c113f..29a3a50 100644 --- a/.gitignore +++ b/.gitignore @@ -5,11 +5,9 @@ *.swp .DS_Store .atom/ -.build/ .buildlog/ .history .svn/ -.swiftpm/ migrate_working_dir/ # IntelliJ related diff --git a/ios/Podfile.lock b/ios/Podfile.lock index 871b130..da4c4c4 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -121,25 +121,25 @@ EXTERNAL SOURCES: :path: ".symlinks/plugins/webview_flutter_wkwebview/ios" SPEC CHECKSUMS: - audio_session: f08db0697111ac84ba46191b55488c0563bb29c6 + audio_session: 088d2483ebd1dc43f51d253d4a1c517d9a2e7207 DKImagePickerController: 946cec48c7873164274ecc4624d19e3da4c1ef3c DKPhotoGallery: b3834fecb755ee09a593d7c9e389d8b5d6deed60 - file_picker: 9b3292d7c8bc68c8a7bf8eb78f730e49c8efc517 + file_picker: 09aa5ec1ab24135ccd7a1621c46c84134bfd6655 Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7 - flutter_file_dialog: ca8d7fbd1772d4f0c2777b4ab20a7787ef4e7dd8 - image_picker_ios: 7fe1ff8e34c1790d6fff70a32484959f563a928a - just_audio: 6c031bb61297cf218b4462be616638e81c058e97 - package_info_plus: 580e9a5f1b6ca5594e7c9ed5f92d1dfb2a66b5e1 - path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564 + flutter_file_dialog: 4c014a45b105709a27391e266c277d7e588e9299 + image_picker_ios: c560581cceedb403a6ff17f2f816d7fea1421fc1 + just_audio: baa7252489dbcf47a4c7cc9ca663e9661c99aafa + package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c + path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46 SDWebImage: 8a6b7b160b4d710e2a22b6900e25301075c34cb3 - shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7 - sqflite: c35dad70033b8862124f8337cc994a809fcd9fa3 + shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78 + sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec SwiftyGif: 706c60cf65fa2bc5ee0313beece843c8eb8194d4 - url_launcher_ios: 694010445543906933d732453a59da0a173ae33d - video_player_avfoundation: 2cef49524dd1f16c5300b9cd6efd9611ce03639b - wakelock_plus: fd58c82b1388f4afe3fe8aa2c856503a262a5b03 - webview_flutter_wkwebview: 45a041c7831641076618876de3ba75c712860c6b + url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe + video_player_avfoundation: 7c6c11d8470e1675df7397027218274b6d2360b3 + wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1 + webview_flutter_wkwebview: 2a23822e9039b7b1bc52e5add778e5d89ad488d1 PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796 -COCOAPODS: 1.16.2 +COCOAPODS: 1.15.2 diff --git a/ios/Runner/AppDelegate.swift b/ios/Runner/AppDelegate.swift index 6266644..9074fee 100644 --- a/ios/Runner/AppDelegate.swift +++ b/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import Flutter import UIKit -@main +@UIApplicationMain @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, diff --git a/lib/main.dart b/lib/main.dart index b7ae860..7b6a790 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -33,9 +33,9 @@ Future main() async { Locale('it', 'IT'), ], path: 'assets/translations', - fallbackLocale: const Locale('en', 'US'), + fallbackLocale: const Locale('de', 'DE'), saveLocale: true, - startLocale: const Locale('en', 'US'), + startLocale: const Locale('de', 'DE'), child: const MyApp() ), ); diff --git a/lib/models/planka_user.dart b/lib/models/planka_user.dart index 7ca7c39..58f3c59 100644 --- a/lib/models/planka_user.dart +++ b/lib/models/planka_user.dart @@ -5,7 +5,7 @@ class PlankaUser { final String email; final bool? isAdmin; final String name; - final String? username; + final String username; final String? phone; final String? organization; final String? language; @@ -24,7 +24,7 @@ class PlankaUser { required this.email, this.isAdmin, required this.name, - this.username, + required this.username, this.phone, this.organization, this.language, @@ -45,7 +45,7 @@ class PlankaUser { email: json['email'], isAdmin: json['isAdmin'], name: json['name'], - username: json['username'] ?? '', + username: json['username'], phone: json['phone'], organization: json['organization'], language: json['language'], diff --git a/lib/providers/attachment_provider.dart b/lib/providers/attachment_provider.dart index 042f953..2660752 100644 --- a/lib/providers/attachment_provider.dart +++ b/lib/providers/attachment_provider.dart @@ -126,7 +126,7 @@ class AttachmentProvider with ChangeNotifier { throw Exception('Failed to delete attachment: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-deleteAttachment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to delete attachment'); } } @@ -203,7 +203,7 @@ class AttachmentProvider with ChangeNotifier { throw Exception('Failed to update attachment name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-renameAttachment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update attachment name'); } } diff --git a/lib/providers/auth_provider.dart b/lib/providers/auth_provider.dart index ae700af..c46ba00 100644 --- a/lib/providers/auth_provider.dart +++ b/lib/providers/auth_provider.dart @@ -48,7 +48,7 @@ class AuthProvider with ChangeNotifier { throw Exception('failed_to_authenticate'.tr()); } } catch (error) { - debugPrint('Error-login: $error'); + debugPrint('Error: $error'); showTopSnackBar( Overlay.of(context), CustomSnackBar.error( @@ -79,7 +79,7 @@ class AuthProvider with ChangeNotifier { return false; } } catch (error) { - debugPrint('Error-logout: $error'); + debugPrint('Error: $error'); throw Exception('Failed to logout'); } } diff --git a/lib/providers/board_provider.dart b/lib/providers/board_provider.dart index 0018998..0aeb67c 100644 --- a/lib/providers/board_provider.dart +++ b/lib/providers/board_provider.dart @@ -188,7 +188,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to update board: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateBoardName: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update board'); } } @@ -218,7 +218,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to add Board user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-addBoardMember: $error'); + debugPrint('Error: $error'); throw Exception('Failed to add Board user'); } } @@ -245,7 +245,7 @@ class BoardProvider with ChangeNotifier { throw Exception('Failed to delete Board user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-removeBoardMember: $error'); + debugPrint('Error: $error'); throw Exception('Failed to delete Board user'); } } @@ -263,7 +263,7 @@ class BoardProvider with ChangeNotifier { notifyListeners(); } catch (error) { - debugPrint('Error-updateLabel: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update board'); } } diff --git a/lib/providers/card_actions_provider.dart b/lib/providers/card_actions_provider.dart index 4b58075..c802c51 100644 --- a/lib/providers/card_actions_provider.dart +++ b/lib/providers/card_actions_provider.dart @@ -36,7 +36,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error-fetchCardComment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load card actions'); } } @@ -57,7 +57,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error-deleteComment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load card actions'); } } @@ -80,7 +80,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error-createComment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load card actions'); } } @@ -102,7 +102,7 @@ class CardActionsProvider with ChangeNotifier { throw Exception('Failed to load card actions'); } } catch (error) { - debugPrint('Error-updateComment: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load card actions'); } } diff --git a/lib/providers/card_provider.dart b/lib/providers/card_provider.dart index 2da2076..1f2bbd6 100644 --- a/lib/providers/card_provider.dart +++ b/lib/providers/card_provider.dart @@ -63,7 +63,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateCardTitle: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update card name'); } } @@ -95,7 +95,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateStopwatch: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update card'); } } @@ -126,7 +126,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-deleteStopwatch: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update card'); } } @@ -149,7 +149,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to update card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateCardDueDate: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update card name'); } } @@ -178,7 +178,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to fetch card data: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-addCardLabel: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update labels'); } } @@ -207,7 +207,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to add card user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-addCardMember: $error'); + debugPrint('Error: $error'); throw Exception('Failed to add card user'); } } @@ -236,7 +236,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to delete card user: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-removeCardMember: $error'); + debugPrint('Error: $error'); throw Exception('Failed to delete card user'); } } @@ -261,7 +261,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to fetch card data: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-removeCardLabel: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update labels'); } } @@ -279,7 +279,7 @@ class CardProvider with ChangeNotifier { notifyListeners(); } catch (error) { - debugPrint('Error-deleteCard: $error'); + debugPrint('Error: $error'); throw Exception('Failed to delete card'); } } @@ -302,7 +302,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateCardDescription: $error'); + debugPrint('Error: $error'); throw Exception('Failed to card name'); } } @@ -327,7 +327,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to card name: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateCardCoverAttachId: $error'); + debugPrint('Error: $error'); throw Exception('Failed to card name'); } } @@ -350,7 +350,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to add task: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-addTask: $error'); + debugPrint('Error: $error'); throw Exception('Failed to add task'); } } @@ -372,7 +372,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to remove task: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-removeTask: $error'); + debugPrint('Error: $error'); throw Exception('Failed to remove task'); } } @@ -395,7 +395,7 @@ class CardProvider with ChangeNotifier { throw Exception('Failed to toggle task completion: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-toggleTaskCompletion: $error'); + debugPrint('Error: $error'); throw Exception('Failed to toggle task completion'); } } diff --git a/lib/providers/list_provider.dart b/lib/providers/list_provider.dart index 4366234..3d7ba35 100644 --- a/lib/providers/list_provider.dart +++ b/lib/providers/list_provider.dart @@ -273,7 +273,7 @@ class ListProvider with ChangeNotifier { throw Exception('Failed to delete list: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-deleteList: $error'); + debugPrint('Error: $error'); throw Exception('Failed to delete list'); } } @@ -313,7 +313,7 @@ class ListProvider with ChangeNotifier { throw Exception('Failed to update list: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateListName: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update list'); } } diff --git a/lib/providers/project_provider.dart b/lib/providers/project_provider.dart index 70c0b03..10509db 100644 --- a/lib/providers/project_provider.dart +++ b/lib/providers/project_provider.dart @@ -17,9 +17,6 @@ class ProjectProvider with ChangeNotifier { Future fetchProjects() async { final url = Uri.parse('${authProvider.selectedProtocol}://${authProvider.domain}/api/projects'); - debugPrint('url: ${url}'); - debugPrint('domain: ${authProvider.domain}'); - debugPrint('selectedProtocol: ${authProvider.selectedProtocol}'); try { final response = await http.get( @@ -39,7 +36,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error-fetchProjects: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load projects'); } } @@ -67,7 +64,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error-createProject: $error'); + debugPrint('Error: $error'); throw Exception('Failed to create project'); } } @@ -95,7 +92,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to load projects'); } } catch (error) { - debugPrint('Error-deleteProject: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load projects'); } } @@ -125,7 +122,7 @@ class ProjectProvider with ChangeNotifier { throw Exception('Failed to update project: ${response.reasonPhrase}'); } } catch (error) { - debugPrint('Error-updateProjectName: $error'); + debugPrint('Error: $error'); throw Exception('Failed to update project'); } } diff --git a/lib/providers/user_provider.dart b/lib/providers/user_provider.dart index 5711a70..e9607b6 100644 --- a/lib/providers/user_provider.dart +++ b/lib/providers/user_provider.dart @@ -55,7 +55,7 @@ class UserProvider with ChangeNotifier { throw Exception('Failed to load users'); } } catch (error) { - debugPrint('Error-fetchUsers: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load users'); } } @@ -95,7 +95,7 @@ class UserProvider with ChangeNotifier { throw Exception('Failed to load user'); } } catch (error) { - debugPrint('Error-fetchSpecificUser: $error'); + debugPrint('Error: $error'); throw Exception('Failed to load user'); } } diff --git a/lib/screens/login_screen.dart b/lib/screens/login_screen.dart index 1ba2883..ac323f4 100644 --- a/lib/screens/login_screen.dart +++ b/lib/screens/login_screen.dart @@ -1,3 +1,4 @@ +import 'package:country_flags/country_flags.dart'; import 'package:easy_localization/easy_localization.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; @@ -13,14 +14,54 @@ class LoginScreen extends StatefulWidget { class _LoginScreenState extends State { final _usernameController = TextEditingController(); final _passwordController = TextEditingController(); + final _domainController = TextEditingController(); // FocusNodes for each input field final _usernameFocusNode = FocusNode(); final _passwordFocusNode = FocusNode(); + final _domainFocusNode = FocusNode(); + + // List of languages + String _selectedLanguage = 'Language'; + + final List> _languages = [ + { + 'name': 'English', + 'flag': 'gb', + 'code1': 'en', + 'code2': 'US', + }, + { + 'name': 'Deutsch', + 'flag': 'de', + 'code1': 'de', + 'code2': 'DE', + }, + { + 'name': 'Türkçe', + 'flag': 'tr', + 'code1': 'tr', + 'code2': 'TR', + }, + { + 'name': 'Italiano', + 'flag': 'it', + 'code1': 'it', + 'code2': 'IT', + }, + { + 'name': 'Español', + 'flag': 'es', + 'code1': 'es', + 'code2': 'ES', + }, + ]; String _selectedProtocol = 'https'; + + // List of protocol options final List _protocolOptions = ['https', 'http', 'localhost']; - final String _defaultDomain = 'planko.011bq.app'; // Set your domain internally + @override void initState() { @@ -30,13 +71,16 @@ class _LoginScreenState extends State { void _tryAutoLogin() async { AuthProvider provider = Provider.of(context, listen: false); + _selectedProtocol = provider.selectedProtocol; + await provider.tryAutoLogin(); - if (provider.token.isNotEmpty) { + if (Provider.of(context, listen: false).token.isNotEmpty) { Navigator.of(context).pushReplacementNamed('/projects'); } } + // Helper function to check for empty fields and focus on the first empty one bool _validateAndFocusFields() { if (_usernameController.text.isEmpty) { FocusScope.of(context).requestFocus(_usernameFocusNode); @@ -46,17 +90,22 @@ class _LoginScreenState extends State { FocusScope.of(context).requestFocus(_passwordFocusNode); return false; } + if (_domainController.text.isEmpty) { + FocusScope.of(context).requestFocus(_domainFocusNode); + return false; + } return true; } void _login() async { + // Check if all fields are filled, focus on the first empty field if (_validateAndFocusFields()) { try { await Provider.of(context, listen: false).login( _selectedProtocol, _usernameController.text, _passwordController.text, - _defaultDomain, // Use internal domain value + _domainController.text, context, ); Navigator.of(context).pushReplacementNamed('/projects'); @@ -68,15 +117,24 @@ class _LoginScreenState extends State { @override void dispose() { + // Dispose controllers and focus nodes _usernameController.dispose(); _passwordController.dispose(); + _domainController.dispose(); _usernameFocusNode.dispose(); _passwordFocusNode.dispose(); + _domainFocusNode.dispose(); super.dispose(); } @override Widget build(BuildContext context) { + + ///Init SelectedLanguage with current real language + _selectedLanguage = _languages.firstWhere( + (lang) => lang['code1'] == context.locale.languageCode && lang['code2'] == context.locale.countryCode, + )['name'] as String; + return Scaffold( appBar: AppBar(title: Text('login'.tr())), body: Padding( @@ -88,16 +146,24 @@ class _LoginScreenState extends State { decoration: InputDecoration(labelText: 'login_fields.0'.tr()), focusNode: _usernameFocusNode, textInputAction: TextInputAction.next, - onSubmitted: (_) => _login(), + onSubmitted: (_) => _login(), // Submit when Enter is pressed ), TextField( controller: _passwordController, decoration: InputDecoration(labelText: 'login_fields.1'.tr()), obscureText: true, focusNode: _passwordFocusNode, - textInputAction: TextInputAction.done, + textInputAction: TextInputAction.next, onSubmitted: (_) => _login(), ), + TextField( + controller: _domainController, + decoration: InputDecoration(labelText: 'login_fields.2'.tr()), + focusNode: _domainFocusNode, + textInputAction: TextInputAction.done, + onSubmitted: (result) => _login(), + ), + DropdownButton( value: _selectedProtocol, isExpanded: true, @@ -121,6 +187,52 @@ class _LoginScreenState extends State { ); }).toList(), ), + + // Language dropdown + DropdownButton( + value: _selectedLanguage, + isExpanded: true, + icon: const Icon(Icons.keyboard_arrow_down), + iconSize: 24, + elevation: 16, + style: const TextStyle(color: Colors.black), + underline: Container( + height: 2, + color: Colors.indigo, + ), + onChanged: (String? newValue) { + setState(() { + _selectedLanguage = newValue!; + + // Find the selected language's locale codes + final selectedLanguageData = _languages.firstWhere( + (lang) => lang['name'] == _selectedLanguage, + ); + + // Set the locale using the found language and region codes + context.setLocale(Locale(selectedLanguageData['code1'], selectedLanguageData['code2'])); + }); + }, + items: _languages.map>((language) { + return DropdownMenuItem( + value: language['name'], + child: Row( + children: [ + CountryFlag.fromLanguageCode( + language['code1'], + // shape: const Circle(), + shape: const RoundedRectangle(6), + height: 20, + width: 30, + ), + const SizedBox(width: 10), + Text(language['name']), + ], + ), + ); + }).toList(), + ), + const SizedBox(height: 10), ElevatedButton( onPressed: _login, @@ -131,4 +243,4 @@ class _LoginScreenState extends State { ), ); } -} +} \ No newline at end of file diff --git a/lib/widgets/card_list.dart b/lib/widgets/card_list.dart index 9ae5072..2337010 100644 --- a/lib/widgets/card_list.dart +++ b/lib/widgets/card_list.dart @@ -1432,7 +1432,7 @@ class _CardListState extends State with SingleTickerProviderStateMixin }) .catchError((error) { // Handle any errors that occur during the chain of operations - debugPrint('Error-_takePhoto: $error'); + debugPrint('Error: $error'); }); } diff --git a/pubspec.lock b/pubspec.lock index 8f4b9ab..ad81e73 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -117,10 +117,10 @@ packages: dependency: transitive description: name: collection - sha256: a1ace0a119f20aabc852d165077c036cd864315bd99b7eaa10a60100341941bf + sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a url: "https://pub.dev" source: hosted - version: "1.19.0" + version: "1.18.0" convert: dependency: transitive description: @@ -625,18 +625,18 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "7bb2830ebd849694d1ec25bf1f44582d6ac531a57a365a803a6034ff751d2d06" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.7" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "9491a714cca3667b60b5c420da8217e6de0d1ba7a5ec322fab01758f6998f379" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.8" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -929,7 +929,7 @@ packages: dependency: transitive description: flutter source: sdk - version: "0.0.0" + version: "0.0.99" source_span: dependency: transitive description: @@ -966,10 +966,10 @@ packages: dependency: transitive description: name: stack_trace - sha256: "9f47fd3630d76be3ab26f0ee06d213679aa425996925ff3feffdec504931c377" + sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.11.1" state_notifier: dependency: transitive description: @@ -990,10 +990,10 @@ packages: dependency: transitive description: name: string_scanner - sha256: "688af5ed3402a4bde5b3a6c15fd768dbf2621a614950b17f04626c431ab3c4c3" + sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" url: "https://pub.dev" source: hosted - version: "1.3.0" + version: "1.2.0" synchronized: dependency: transitive description: @@ -1014,10 +1014,10 @@ packages: dependency: transitive description: name: test_api - sha256: "664d3a9a64782fcdeb83ce9c6b39e78fd2971d4e37827b9b06c3aa1edc5e760c" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.7.3" + version: "0.7.2" top_snackbar_flutter: dependency: "direct main" description: @@ -1182,10 +1182,10 @@ packages: dependency: transitive description: name: vm_service - sha256: f6be3ed8bd01289b34d679c2b62226f63c0e69f9fd2e50a6b3c1c729a961041b + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.3.0" + version: "14.2.5" wakelock_plus: dependency: transitive description: From b6c47c8911a1092a0c4369135f1cefbc602333a2 Mon Sep 17 00:00:00 2001 From: shubham Date: Wed, 5 Mar 2025 19:47:50 +0530 Subject: [PATCH 7/7] username blank issue --- lib/models/planka_user.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/models/planka_user.dart b/lib/models/planka_user.dart index 58f3c59..7ca7c39 100644 --- a/lib/models/planka_user.dart +++ b/lib/models/planka_user.dart @@ -5,7 +5,7 @@ class PlankaUser { final String email; final bool? isAdmin; final String name; - final String username; + final String? username; final String? phone; final String? organization; final String? language; @@ -24,7 +24,7 @@ class PlankaUser { required this.email, this.isAdmin, required this.name, - required this.username, + this.username, this.phone, this.organization, this.language, @@ -45,7 +45,7 @@ class PlankaUser { email: json['email'], isAdmin: json['isAdmin'], name: json['name'], - username: json['username'], + username: json['username'] ?? '', phone: json['phone'], organization: json['organization'], language: json['language'],