From 9e8ce6a3f1bdb1b0d59e1f1e8da038c242e0cad4 Mon Sep 17 00:00:00 2001 From: Ruixiaoke <524373365@qq.com> Date: Mon, 23 May 2022 00:06:51 +1000 Subject: [PATCH 1/4] depo --- roster_management_system/lib/main.dart | 202 ++++++++++++++++++ roster_management_system/lib/widge/login.dart | 17 +- .../test/widget_test.dart | 2 +- 3 files changed, 214 insertions(+), 7 deletions(-) create mode 100644 roster_management_system/lib/main.dart diff --git a/roster_management_system/lib/main.dart b/roster_management_system/lib/main.dart new file mode 100644 index 0000000..253623f --- /dev/null +++ b/roster_management_system/lib/main.dart @@ -0,0 +1,202 @@ +import '../flutter_flow/flutter_flow_theme.dart'; +import '../flutter_flow/flutter_flow_util.dart'; +import '../flutter_flow/flutter_flow_widgets.dart'; +import 'package:flutter/material.dart'; +import 'package:google_fonts/google_fonts.dart'; + +class HomePageWidget extends StatefulWidget { + const HomePageWidget({Key key}) : super(key: key); + + @override + _HomePageWidgetState createState() => _HomePageWidgetState(); +} + +class _HomePageWidgetState extends State { + final scaffoldKey = GlobalKey(); + + @override + Widget build(BuildContext context) { + return Scaffold( + key: scaffoldKey, + appBar: PreferredSize( + preferredSize: Size.fromHeight(20), + child: AppBar( + backgroundColor: FlutterFlowTheme.of(context).primaryColor, + automaticallyImplyLeading: false, + actions: [], + elevation: 2, + ), + ), + backgroundColor: FlutterFlowTheme.of(context).primaryBackground, + body: SafeArea( + child: GestureDetector( + onTap: () => FocusScope.of(context).unfocus(), + child: Column( + mainAxisSize: MainAxisSize.max, + children: [ + Expanded( + child: Row( + mainAxisSize: MainAxisSize.max, + children: [ + Expanded( + child: Align( + alignment: AlignmentDirectional(0, 0), + child: Text( + 'Roster ', + textAlign: TextAlign.center, + style: + FlutterFlowTheme.of(context).bodyText1.override( + fontFamily: 'Dancing Script', + fontSize: 90, + ), + ), + ), + ), + ], + ), + ), + Expanded( + child: Row( + mainAxisSize: MainAxisSize.max, + children: [ + Expanded( + child: Align( + alignment: AlignmentDirectional(0, 0), + child: Text( + 'Management', + textAlign: TextAlign.center, + style: + FlutterFlowTheme.of(context).bodyText1.override( + fontFamily: 'Dancing Script', + fontSize: 90, + ), + ), + ), + ), + ], + ), + ), + Expanded( + child: Row( + mainAxisSize: MainAxisSize.max, + children: [ + Expanded( + child: Align( + alignment: AlignmentDirectional(0, 0), + child: Text( + 'System', + textAlign: TextAlign.center, + style: + FlutterFlowTheme.of(context).bodyText1.override( + fontFamily: 'Dancing Script', + fontSize: 90, + fontWeight: FontWeight.w600, + ), + ), + ), + ), + ], + ), + ), + Expanded( + child: Row( + mainAxisSize: MainAxisSize.max, + children: [ + Expanded( + child: Container( + width: 100, + height: 100, + decoration: BoxDecoration( + color: Color(0xFFEEEEEE), + ), + ), + ), + Expanded( + child: Align( + alignment: AlignmentDirectional(0, 0), + child: Padding( + padding: EdgeInsetsDirectional.fromSTEB(0, 0, 20, 0), + child: FFButtonWidget( + onPressed: () { + print('Button pressed ...'); + }, + text: 'Login', + options: FFButtonOptions( + width: 500, + height: 100, + color: FlutterFlowTheme.of(context).primaryColor, + textStyle: FlutterFlowTheme.of(context) + .subtitle2 + .override( + fontFamily: 'Poppins', + color: Colors.white, + fontSize: 60, + ), + elevation: 2, + borderSide: BorderSide( + color: Colors.transparent, + width: 1, + ), + borderRadius: 12, + ), + ), + ), + ), + ), + Expanded( + child: Align( + alignment: AlignmentDirectional(0, 0), + child: Padding( + padding: EdgeInsetsDirectional.fromSTEB(20, 0, 0, 0), + child: FFButtonWidget( + onPressed: () { + print('Button pressed ...'); + }, + text: 'Rgister', + options: FFButtonOptions( + width: 500, + height: 100, + color: FlutterFlowTheme.of(context).primaryColor, + textStyle: FlutterFlowTheme.of(context) + .subtitle2 + .override( + fontFamily: 'Poppins', + color: Colors.white, + fontSize: 60, + ), + elevation: 2, + borderSide: BorderSide( + color: Colors.transparent, + width: 1, + ), + borderRadius: 12, + ), + ), + ), + ), + ), + Expanded( + child: Container( + width: 100, + height: 100, + decoration: BoxDecoration( + color: Color(0xFFEEEEEE), + ), + ), + ), + ], + ), + ), + Expanded( + child: Row( + mainAxisSize: MainAxisSize.max, + children: [], + ), + ), + ], + ), + ), + ), + ); + } +} diff --git a/roster_management_system/lib/widge/login.dart b/roster_management_system/lib/widge/login.dart index d57a7b3..6a16930 100644 --- a/roster_management_system/lib/widge/login.dart +++ b/roster_management_system/lib/widge/login.dart @@ -1,9 +1,14 @@ import 'package:flutter/material.dart'; -class loginpage extends StatelessWidget { - const loginpage({Key? key}) : super(key: key); +class LoginPage extends StatelessWidget { const LoginPage({Key? key}) : super(key: key); @override - Widget build(BuildContext context) { - return Container(); - } -} \ No newline at end of file + Widget build(BuildContext context) {return MaterialApp ( + title : 'Welcome to Roster Management System' , + home : Scaffold ( + appBar : AppBar ( + title : const Text ( 'Welcome to Roster Management System' ), ), + body : const Center ( child : Text ( '你好世界' ), ), + ), + ); + } + } \ No newline at end of file diff --git a/roster_management_system/test/widget_test.dart b/roster_management_system/test/widget_test.dart index 4889935..21546f7 100644 --- a/roster_management_system/test/widget_test.dart +++ b/roster_management_system/test/widget_test.dart @@ -8,7 +8,7 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -import 'package:roster_management_system/screen/main.dart'; +import 'package:roster_management_system/main.dart'; void main() { testWidgets('Counter increments smoke test', (WidgetTester tester) async { From a7865c63310d8fde48a91e0fd9dc644b51661a7b Mon Sep 17 00:00:00 2001 From: Ruixiaoke <524373365@qq.com> Date: Mon, 23 May 2022 00:07:06 +1000 Subject: [PATCH 2/4] depo --- roster_management_system/lib/screen/main.dart | 94 ------------------- roster_management_system/pubspec.lock | 28 ++++++ 2 files changed, 28 insertions(+), 94 deletions(-) delete mode 100644 roster_management_system/lib/screen/main.dart diff --git a/roster_management_system/lib/screen/main.dart b/roster_management_system/lib/screen/main.dart deleted file mode 100644 index c88dddd..0000000 --- a/roster_management_system/lib/screen/main.dart +++ /dev/null @@ -1,94 +0,0 @@ -import 'package:flutter/material.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({Key? key}) : super(key: key); - - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Flutter Demo', - theme: ThemeData( - - primarySwatch: Colors.blue, - ), - home: const MyHomePage(title: 'Flutter Demo Home Page'), - ); - } -} - -class MyHomePage extends StatefulWidget { - const MyHomePage({Key? key, required this.title}) : super(key: key); - - final String title; - - @override - State createState() => _MyHomePageState(); -} - -class _MyHomePageState extends State { - int _counter = 0; - - void _incrementCounter() { - setState(() { - - _counter++; - }); - } - - @override - Widget build(BuildContext context) { - // This method is rerun every time setState is called, for instance as done - // by the _incrementCounter method above. - // - // The Flutter framework has been optimized to make rerunning build methods - // fast, so that you can just rebuild anything that needs updating rather - // than having to individually change instances of widgets. - return Scaffold( - appBar: AppBar( - // Here we take the value from the MyHomePage object that was created by - // the App.build method, and use it to set our appbar title. - title: Text(widget.title), - ), - body: Center( - // Center is a layout widget. It takes a single child and positions it - // in the middle of the parent. - child: Column( - // Column is also a layout widget. It takes a list of children and - // arranges them vertically. By default, it sizes itself to fit its - // children horizontally, and tries to be as tall as its parent. - // - // Invoke "debug painting" (press "p" in the console, choose the - // "Toggle Debug Paint" action from the Flutter Inspector in Android - // Studio, or the "Toggle Debug Paint" command in Visual Studio Code) - // to see the wireframe for each widget. - // - // Column has various properties to control how it sizes itself and - // how it positions its children. Here we use mainAxisAlignment to - // center the children vertically; the main axis here is the vertical - // axis because Columns are vertical (the cross axis would be - // horizontal). - mainAxisAlignment: MainAxisAlignment.center, - children: [ - const Text( - 'You have pushed the button this many times:', - ), - Text( - '$_counter', - style: Theme.of(context).textTheme.headline4, - ), - ], - ), - ), - floatingActionButton: FloatingActionButton( - onPressed: _incrementCounter, - tooltip: 'Increment', - child: const Icon(Icons.add), - ), // This trailing comma makes auto-formatting nicer for build methods. - ); - } -} diff --git a/roster_management_system/pubspec.lock b/roster_management_system/pubspec.lock index 9e5a9bd..44f9b80 100644 --- a/roster_management_system/pubspec.lock +++ b/roster_management_system/pubspec.lock @@ -57,6 +57,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.2.0" + firebase: + dependency: "direct main" + description: + name: firebase + url: "https://pub.dartlang.org" + source: hosted + version: "9.0.3" flutter: dependency: "direct main" description: flutter @@ -74,6 +81,27 @@ packages: description: flutter source: sdk version: "0.0.0" + http: + dependency: transitive + description: + name: http + url: "https://pub.dartlang.org" + source: hosted + version: "0.13.4" + http_parser: + dependency: transitive + description: + name: http_parser + url: "https://pub.dartlang.org" + source: hosted + version: "4.0.1" + js: + dependency: transitive + description: + name: js + url: "https://pub.dartlang.org" + source: hosted + version: "0.6.4" lints: dependency: transitive description: From 97bbc70c1af60a53d9e184f68e5b70a06a6b6239 Mon Sep 17 00:00:00 2001 From: Ruixiaoke <524373365@qq.com> Date: Wed, 8 Jun 2022 21:51:33 +1000 Subject: [PATCH 3/4] changge dsa --- roster_management_system/.gitignore | 4 + roster_management_system/.metadata | 2 +- roster_management_system/README.md | 17 +- roster_management_system/android/.gitignore | 2 - .../android/app/build.gradle | 38 +- .../android/app/google-services.json | 55 + .../android/app/src/debug/AndroidManifest.xml | 2 +- .../android/app/src/main/AndroidManifest.xml | 27 +- .../com/example/my_project/MainActivity.kt | 6 + .../main/res/drawable/launch_background.xml | 2 +- .../app/src/main/res/values-night/styles.xml | 6 +- .../app/src/main/res/values/strings.xml | 5 + .../app/src/main/res/values/styles.xml | 2 +- .../app/src/profile/AndroidManifest.xml | 2 +- roster_management_system/android/build.gradle | 5 +- .../android/gradle.properties | 1 + .../gradle/wrapper/gradle-wrapper.properties | 2 +- .../android/settings.gradle | 14 + .../assets/audios/favicon.png | Bin 0 -> 917 bytes .../assets/fonts/favicon.png | Bin 0 -> 917 bytes .../assets/images/favicon.png | Bin 0 -> 917 bytes .../assets/lottie_animations/favicon.png | Bin 0 -> 917 bytes .../assets/pdfs/favicon.png | Bin 0 -> 917 bytes .../assets/rive_animations/favicon.png | Bin 0 -> 917 bytes .../assets/videos/favicon.png | Bin 0 -> 917 bytes roster_management_system/ios/.gitignore | 3 +- .../ios/Flutter/AppFrameworkInfo.plist | 4 +- .../ios/Flutter/Debug.xcconfig | 1 + .../ios/Flutter/Release.xcconfig | 1 + .../ios/ImageNotification/Info.plist | 31 + .../NotificationService.swift | 27 + roster_management_system/ios/Podfile | 44 + .../ios/Runner.xcodeproj/project.pbxproj | 147 ++- .../contents.xcworkspacedata | 2 +- .../xcshareddata/xcschemes/Runner.xcscheme | 10 +- .../ios/Runner/AppDelegate.swift | 1 + .../ios/Runner/GoogleService-Info.plist | 38 + .../ios/Runner/Info.plist | 25 +- .../ios/Runner/Runner.entitlements | 6 + .../add_new_task_page_widget.dart | 202 ++++ .../lib/admin_page/admin_page_widget.dart | 232 ++++ roster_management_system/lib/app_state.dart | 38 + .../lib/auth/anonymous_auth.dart | 9 + .../lib/auth/apple_auth.dart | 66 ++ .../lib/auth/auth_util.dart | 199 ++++ .../lib/auth/email_auth.dart | 18 + .../lib/auth/firebase_user_provider.dart | 19 + .../lib/auth/google_auth.dart | 32 + .../lib/backend/backend.dart | 299 ++++++ .../lib/backend/schema/firestore.indexes.json | 3 + .../lib/backend/schema/firestore.rules | 32 + .../lib/backend/schema/index.dart | 4 + .../lib/backend/schema/serializers.dart | 130 +++ .../lib/backend/schema/serializers.g.dart | 28 + .../backend/schema/task_choosed_record.dart | 96 ++ .../backend/schema/task_choosed_record.g.dart | 324 ++++++ .../lib/backend/schema/task_record.dart | 92 ++ .../lib/backend/schema/task_record.g.dart | 342 ++++++ .../lib/backend/schema/train_record.dart | 56 + .../lib/backend/schema/train_record.g.dart | 176 ++++ .../lib/backend/schema/users_record.dart | 99 ++ .../lib/backend/schema/users_record.g.dart | 374 +++++++ .../colock_in_out_page_widget.dart | 464 ++++++++ .../lib/flutter_flow/custom_functions.dart | 44 + .../lib/flutter_flow/flutter_flow_theme.dart | 146 +++ .../lib/flutter_flow/flutter_flow_util.dart | 210 ++++ .../flutter_flow/flutter_flow_widgets.dart | 169 +++ .../flutter_flow/internationalization.dart | 44 + .../lib/flutter_flow/lat_lng.dart | 19 + .../lib/flutter_flow/place.dart | 46 + .../lib/home_page/home_page_widget.dart | 213 ++++ roster_management_system/lib/index.dart | 18 + .../lib/login_page/login_page_widget.dart | 257 +++++ roster_management_system/lib/main.dart | 270 ++--- .../lib/main_page/main_page_widget.dart | 319 ++++++ .../lib/manage_train/manage_train_widget.dart | 535 ++++++++++ .../manage_work_market_widget.dart | 429 ++++++++ .../my_roster_page/my_roster_page_widget.dart | 987 ++++++++++++++++++ .../my_training_page_widget.dart | 307 ++++++ .../register_page/register_page_widget.dart | 359 +++++++ .../work_market_page_widget.dart | 307 ++++++ roster_management_system/pubspec.yaml | 66 +- .../test/widget_test.dart | 14 +- roster_management_system/web/index.html | 110 +- roster_management_system/web/manifest.json | 16 +- 85 files changed, 8385 insertions(+), 366 deletions(-) create mode 100644 roster_management_system/android/app/google-services.json create mode 100644 roster_management_system/android/app/src/main/kotlin/com/example/my_project/MainActivity.kt create mode 100644 roster_management_system/android/app/src/main/res/values/strings.xml create mode 100644 roster_management_system/assets/audios/favicon.png create mode 100644 roster_management_system/assets/fonts/favicon.png create mode 100644 roster_management_system/assets/images/favicon.png create mode 100644 roster_management_system/assets/lottie_animations/favicon.png create mode 100644 roster_management_system/assets/pdfs/favicon.png create mode 100644 roster_management_system/assets/rive_animations/favicon.png create mode 100644 roster_management_system/assets/videos/favicon.png create mode 100644 roster_management_system/ios/ImageNotification/Info.plist create mode 100644 roster_management_system/ios/ImageNotification/NotificationService.swift create mode 100644 roster_management_system/ios/Podfile create mode 100644 roster_management_system/ios/Runner/GoogleService-Info.plist create mode 100644 roster_management_system/ios/Runner/Runner.entitlements create mode 100644 roster_management_system/lib/add_new_task_page/add_new_task_page_widget.dart create mode 100644 roster_management_system/lib/admin_page/admin_page_widget.dart create mode 100644 roster_management_system/lib/app_state.dart create mode 100644 roster_management_system/lib/auth/anonymous_auth.dart create mode 100644 roster_management_system/lib/auth/apple_auth.dart create mode 100644 roster_management_system/lib/auth/auth_util.dart create mode 100644 roster_management_system/lib/auth/email_auth.dart create mode 100644 roster_management_system/lib/auth/firebase_user_provider.dart create mode 100644 roster_management_system/lib/auth/google_auth.dart create mode 100644 roster_management_system/lib/backend/backend.dart create mode 100644 roster_management_system/lib/backend/schema/firestore.indexes.json create mode 100644 roster_management_system/lib/backend/schema/firestore.rules create mode 100644 roster_management_system/lib/backend/schema/index.dart create mode 100644 roster_management_system/lib/backend/schema/serializers.dart create mode 100644 roster_management_system/lib/backend/schema/serializers.g.dart create mode 100644 roster_management_system/lib/backend/schema/task_choosed_record.dart create mode 100644 roster_management_system/lib/backend/schema/task_choosed_record.g.dart create mode 100644 roster_management_system/lib/backend/schema/task_record.dart create mode 100644 roster_management_system/lib/backend/schema/task_record.g.dart create mode 100644 roster_management_system/lib/backend/schema/train_record.dart create mode 100644 roster_management_system/lib/backend/schema/train_record.g.dart create mode 100644 roster_management_system/lib/backend/schema/users_record.dart create mode 100644 roster_management_system/lib/backend/schema/users_record.g.dart create mode 100644 roster_management_system/lib/colock_in_out_page/colock_in_out_page_widget.dart create mode 100644 roster_management_system/lib/flutter_flow/custom_functions.dart create mode 100644 roster_management_system/lib/flutter_flow/flutter_flow_theme.dart create mode 100644 roster_management_system/lib/flutter_flow/flutter_flow_util.dart create mode 100644 roster_management_system/lib/flutter_flow/flutter_flow_widgets.dart create mode 100644 roster_management_system/lib/flutter_flow/internationalization.dart create mode 100644 roster_management_system/lib/flutter_flow/lat_lng.dart create mode 100644 roster_management_system/lib/flutter_flow/place.dart create mode 100644 roster_management_system/lib/home_page/home_page_widget.dart create mode 100644 roster_management_system/lib/index.dart create mode 100644 roster_management_system/lib/login_page/login_page_widget.dart create mode 100644 roster_management_system/lib/main_page/main_page_widget.dart create mode 100644 roster_management_system/lib/manage_train/manage_train_widget.dart create mode 100644 roster_management_system/lib/manage_work_market/manage_work_market_widget.dart create mode 100644 roster_management_system/lib/my_roster_page/my_roster_page_widget.dart create mode 100644 roster_management_system/lib/my_training_page/my_training_page_widget.dart create mode 100644 roster_management_system/lib/register_page/register_page_widget.dart create mode 100644 roster_management_system/lib/work_market_page/work_market_page_widget.dart diff --git a/roster_management_system/.gitignore b/roster_management_system/.gitignore index 0fa6b67..d009f5a 100644 --- a/roster_management_system/.gitignore +++ b/roster_management_system/.gitignore @@ -31,6 +31,10 @@ .pub/ /build/ +# Firebase – this is necessary if you use Firebase since it could otherwise +# lead to leaking of private certificates to your repository, which is no bueno. +.firebase/ + # Web related lib/generated_plugin_registrant.dart diff --git a/roster_management_system/.metadata b/roster_management_system/.metadata index 05f4d5d..140b929 100644 --- a/roster_management_system/.metadata +++ b/roster_management_system/.metadata @@ -4,7 +4,7 @@ # This file should be version controlled and should not be manually edited. version: - revision: 097d3313d8e2c7f901932d63e537c1acefb87800 + revision: 4d7946a68d26794349189cf21b3f68cc6fe61dcb channel: stable project_type: app diff --git a/roster_management_system/README.md b/roster_management_system/README.md index 484a53b..389c2e5 100644 --- a/roster_management_system/README.md +++ b/roster_management_system/README.md @@ -1,9 +1,24 @@ -# roster_management_system +# Roster-Management-System A new Flutter project. ## Getting Started +FlutterFlow projects are built to run on the Flutter _stable_ release. + +### IMPORTANT: + +For projects with Firestore integration, you must first run the following commands to ensure the project compiles: + +``` +flutter pub get +flutter packages pub run build_runner build --delete-conflicting-outputs +``` + +This command creates the generated files that parse each Record from Firestore into a schema object. + +### Getting started continued: + This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: diff --git a/roster_management_system/android/.gitignore b/roster_management_system/android/.gitignore index 6f56801..0a741cb 100644 --- a/roster_management_system/android/.gitignore +++ b/roster_management_system/android/.gitignore @@ -9,5 +9,3 @@ GeneratedPluginRegistrant.java # Remember to never publicly share your keystore. # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app key.properties -**/*.keystore -**/*.jks diff --git a/roster_management_system/android/app/build.gradle b/roster_management_system/android/app/build.gradle index 494af55..7ed9d59 100644 --- a/roster_management_system/android/app/build.gradle +++ b/roster_management_system/android/app/build.gradle @@ -24,32 +24,44 @@ if (flutterVersionName == null) { apply plugin: 'com.android.application' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" +apply plugin: 'com.google.gms.google-services' // Google Services plugin -android { - compileSdkVersion flutter.compileSdkVersion - - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } +def keystoreProperties = new Properties() +def keystorePropertiesFile = rootProject.file('key.properties') +if (keystorePropertiesFile.exists()) { + keystoreProperties.load(new FileInputStream(keystorePropertiesFile)) +} - kotlinOptions { - jvmTarget = '1.8' - } +android { + compileSdkVersion 31 sourceSets { main.java.srcDirs += 'src/main/kotlin' } + lintOptions { + disable 'InvalidPackage' + checkReleaseBuilds false + } + defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.roster_management_system" - minSdkVersion flutter.minSdkVersion - targetSdkVersion flutter.targetSdkVersion + applicationId "com.flutterflow.rostermanagementsystem" + minSdkVersion 21 + targetSdkVersion 31 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } + signingConfigs { + release { + keyAlias keystoreProperties['keyAlias'] + keyPassword keystoreProperties['keyPassword'] + storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null + storePassword keystoreProperties['storePassword'] + } + } + buildTypes { release { // TODO: Add your own signing config for the release build. diff --git a/roster_management_system/android/app/google-services.json b/roster_management_system/android/app/google-services.json new file mode 100644 index 0000000..b314cd9 --- /dev/null +++ b/roster_management_system/android/app/google-services.json @@ -0,0 +1,55 @@ +{ + "project_info": { + "project_number": "515997796368", + "firebase_url": "https://roster-management-system-default-rtdb.firebaseio.com", + "project_id": "roster-management-system", + "storage_bucket": "roster-management-system.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:515997796368:android:c0ea8b471640e242032295", + "android_client_info": { + "package_name": "com.flutterflow.rostermanagementsystem" + } + }, + "oauth_client": [ + { + "client_id": "515997796368-urkdqnetqvkc5ft36iluds7h4dmqd4av.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "com.flutterflow.rostermanagementsystem", + "certificate_hash": "9bbb3186b2189ef16d8f272bdab59362c395cbb4" + } + }, + { + "client_id": "515997796368-n1b0tljds2rcr0hr3m7kjbiu533b3olg.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyBYYDPzTCRd70G2FXjjPX_1Hf_cucMubYQ" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "515997796368-n1b0tljds2rcr0hr3m7kjbiu533b3olg.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "515997796368-ptqoikvc2nk5e8vhg8n4ugrj9gihhf27.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "com.flutterflow.rostermanagementsystem" + } + } + ] + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/roster_management_system/android/app/src/debug/AndroidManifest.xml b/roster_management_system/android/app/src/debug/AndroidManifest.xml index f71d9d6..a5c7a60 100644 --- a/roster_management_system/android/app/src/debug/AndroidManifest.xml +++ b/roster_management_system/android/app/src/debug/AndroidManifest.xml @@ -1,5 +1,5 @@ + package="com.flutterflow.rostermanagementsystem"> diff --git a/roster_management_system/android/app/src/main/AndroidManifest.xml b/roster_management_system/android/app/src/main/AndroidManifest.xml index 392bb21..697a2e3 100644 --- a/roster_management_system/android/app/src/main/AndroidManifest.xml +++ b/roster_management_system/android/app/src/main/AndroidManifest.xml @@ -1,9 +1,14 @@ + package="com.flutterflow.rostermanagementsystem" + xmlns:tools="http://schemas.android.com/tools"> + + + android:label="Roster-Management-System" + tools:replace="android:label" + android:icon="@mipmap/ic_launcher" + android:requestLegacyExternalStorage="true"> + + + + + + + + diff --git a/roster_management_system/android/app/src/main/kotlin/com/example/my_project/MainActivity.kt b/roster_management_system/android/app/src/main/kotlin/com/example/my_project/MainActivity.kt new file mode 100644 index 0000000..cdeb4f2 --- /dev/null +++ b/roster_management_system/android/app/src/main/kotlin/com/example/my_project/MainActivity.kt @@ -0,0 +1,6 @@ +package com.flutterflow.rostermanagementsystem + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/roster_management_system/android/app/src/main/res/drawable/launch_background.xml b/roster_management_system/android/app/src/main/res/drawable/launch_background.xml index 304732f..f74085f 100644 --- a/roster_management_system/android/app/src/main/res/drawable/launch_background.xml +++ b/roster_management_system/android/app/src/main/res/drawable/launch_background.xml @@ -1,7 +1,7 @@ - + - diff --git a/roster_management_system/android/app/src/main/res/values/strings.xml b/roster_management_system/android/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..2638fac --- /dev/null +++ b/roster_management_system/android/app/src/main/res/values/strings.xml @@ -0,0 +1,5 @@ + + + Roster-Management-System + + \ No newline at end of file diff --git a/roster_management_system/android/app/src/main/res/values/styles.xml b/roster_management_system/android/app/src/main/res/values/styles.xml index d460d1e..d74aa35 100644 --- a/roster_management_system/android/app/src/main/res/values/styles.xml +++ b/roster_management_system/android/app/src/main/res/values/styles.xml @@ -10,7 +10,7 @@ This theme determines the color of the Android Window while your Flutter UI initializes, as well as behind your Flutter UI while its running. - + This Theme is only used starting with V2 of Flutter's Android embedding. -->