Skip to content

Commit bd943a6

Browse files
committed
Create Client
1 parent 68d76b1 commit bd943a6

198 files changed

Lines changed: 10277 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Client/.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.exe filter=lfs diff=lfs merge=lfs -text

Client/.gitignore

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
22+
#.vscode/
23+
24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
30+
.packages
31+
.pub-cache/
32+
.pub/
33+
/build/
34+
35+
# Symbolication related
36+
app.*.symbols
37+
38+
# Obfuscation related
39+
app.*.map.json
40+
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release
45+
46+
#firebase-win.exe제외
47+
*.exe
48+
/keystore
49+

Client/.metadata

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file tracks properties of this Flutter project.
2+
# Used by Flutter tool to assess capabilities and perform upgrades etc.
3+
#
4+
# This file should be version controlled.
5+
6+
version:
7+
revision: 12cb4eb7a009f52b347b62ade7cb4854b926af72
8+
channel: stable
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 12cb4eb7a009f52b347b62ade7cb4854b926af72
17+
base_revision: 12cb4eb7a009f52b347b62ade7cb4854b926af72
18+
- platform: android
19+
create_revision: 12cb4eb7a009f52b347b62ade7cb4854b926af72
20+
base_revision: 12cb4eb7a009f52b347b62ade7cb4854b926af72
21+
22+
# User provided section
23+
24+
# List of Local paths (relative to this file) that should be
25+
# ignored by the migrate tool.
26+
#
27+
# Files that are not part of the templates will be ignored by default.
28+
unmanaged_files:
29+
- 'lib/main.dart'
30+
- 'ios/Runner.xcodeproj/project.pbxproj'

Client/.vscode/launch.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Good-To-Go-Client",
9+
"request": "launch",
10+
"type": "dart"
11+
},
12+
{
13+
"name": "Good-To-Go-Client (profile mode)",
14+
"request": "launch",
15+
"type": "dart",
16+
"flutterMode": "profile"
17+
},
18+
{
19+
"name": "Good-To-Go-Client (release mode)",
20+
"request": "launch",
21+
"type": "dart",
22+
"flutterMode": "release"
23+
}
24+
]
25+
}

Client/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# good_to_go
2+
3+
Zero-Waist Food Packaging Order App
4+
5+
## Getting Started
6+
7+
This project is a starting point for a Flutter application.
8+
9+
A few resources to get you started if this is your first Flutter project:
10+
11+
- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
12+
- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
13+
14+
For help getting started with Flutter development, view the
15+
[online documentation](https://docs.flutter.dev/), which offers tutorials,
16+
samples, guidance on mobile development, and a full API reference.

Client/analysis_options.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# This file configures the analyzer, which statically analyzes Dart code to
2+
# check for errors, warnings, and lints.
3+
#
4+
# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
5+
# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
6+
# invoked from the command line by running `flutter analyze`.
7+
8+
# The following line activates a set of recommended lints for Flutter apps,
9+
# packages, and plugins designed to encourage good coding practices.
10+
include: package:flutter_lints/flutter.yaml
11+
12+
linter:
13+
# The lint rules applied to this project can be customized in the
14+
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
15+
# included above or to enable additional rules. A list of all available lints
16+
# and their documentation is published at
17+
# https://dart-lang.github.io/linter/lints/index.html.
18+
#
19+
# Instead of disabling a lint rule for the entire project in the
20+
# section below, it can also be suppressed for a single line of code
21+
# or a specific dart file by using the `// ignore: name_of_lint` and
22+
# `// ignore_for_file: name_of_lint` syntax on the line or in the file
23+
# producing the lint.
24+
rules:
25+
# avoid_print: false # Uncomment to disable the `avoid_print` rule
26+
# prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
27+
28+
# Additional information about this file can be found at
29+
# https://dart.dev/guides/language/analysis-options

Client/android/.gitignore

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
gradle-wrapper.jar
2+
/.gradle
3+
/captures/
4+
/gradlew
5+
/gradlew.bat
6+
/local.properties
7+
GeneratedPluginRegistrant.java
8+
9+
# Remember to never publicly share your keystore.
10+
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
#key.properties
12+
#**/*.keystore
13+
**/*.jks
14+
/lib/api.dart

Client/android/app/build.gradle

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
2+
def localProperties = new Properties()
3+
def localPropertiesFile = rootProject.file('local.properties')
4+
if (localPropertiesFile.exists()) {
5+
localPropertiesFile.withReader('UTF-8') { reader ->
6+
localProperties.load(reader)
7+
}
8+
}
9+
10+
def flutterRoot = localProperties.getProperty('flutter.sdk')
11+
if (flutterRoot == null) {
12+
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
13+
}
14+
15+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
16+
if (flutterVersionCode == null) {
17+
flutterVersionCode = '1'
18+
}
19+
20+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
21+
if (flutterVersionName == null) {
22+
flutterVersionName = '1.0'
23+
}
24+
25+
apply plugin: 'com.android.application'
26+
apply plugin: 'com.google.gms.google-services'
27+
apply plugin: 'kotlin-android'
28+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
29+
30+
android {
31+
compileSdkVersion flutter.compileSdkVersion
32+
ndkVersion flutter.ndkVersion
33+
34+
compileOptions {
35+
sourceCompatibility JavaVersion.VERSION_11
36+
targetCompatibility JavaVersion.VERSION_11
37+
}
38+
39+
kotlinOptions {
40+
jvmTarget = '1.8'
41+
}
42+
43+
sourceSets {
44+
main.java.srcDirs += 'src/main/kotlin'
45+
}
46+
47+
defaultConfig {
48+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
49+
applicationId "com.example.good_to_go"
50+
// You can update the following values to match your application needs.
51+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
52+
minSdkVersion 20
53+
targetSdkVersion 33
54+
versionCode flutterVersionCode.toInteger()
55+
versionName flutterVersionName
56+
multiDexEnabled true
57+
}
58+
59+
signingConfigs {
60+
release {
61+
storeFile file('../keystore/key.jks')
62+
storePassword file('../keystore/keystore.password').text.trim()
63+
keyPassword file('../keystore/keystore.password').text.trim()
64+
keyAlias 'key'
65+
}
66+
}
67+
68+
buildTypes {
69+
release {
70+
signingConfig signingConfigs.release
71+
}
72+
}
73+
}
74+
75+
flutter {
76+
source '../..'
77+
}
78+
79+
dependencies {
80+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
81+
implementation platform('com.google.firebase:firebase-bom:31.2.3')
82+
implementation 'com.google.firebase:firebase-analytics-ktx'
83+
implementation 'com.android.support:multidex:1.0.3'
84+
}
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
{
2+
"project_info": {
3+
"project_number": "130932636420",
4+
"project_id": "good-to-go-3c667",
5+
"storage_bucket": "good-to-go-3c667.appspot.com"
6+
},
7+
"client": [
8+
{
9+
"client_info": {
10+
"mobilesdk_app_id": "1:130932636420:android:5bf33cdd2ce859428aee51",
11+
"android_client_info": {
12+
"package_name": "com.example.good_to_go"
13+
}
14+
},
15+
"oauth_client": [
16+
{
17+
"client_id": "130932636420-snfe49l6fdu6nj050d0m8pkm5r8cmam1.apps.googleusercontent.com",
18+
"client_type": 1,
19+
"android_info": {
20+
"package_name": "com.example.good_to_go",
21+
"certificate_hash": "1b172e494f9030922e411d2832aeb963254cc307"
22+
}
23+
},
24+
{
25+
"client_id": "130932636420-j0v9enjvgi8n6if4c3hrcm0gg64lmg9e.apps.googleusercontent.com",
26+
"client_type": 3
27+
}
28+
],
29+
"api_key": [
30+
{
31+
"current_key": "AIzaSyDd_EbZrpLlwyczzmWK69lIlVOGxQSAHdQ"
32+
}
33+
],
34+
"services": {
35+
"appinvite_service": {
36+
"other_platform_oauth_client": [
37+
{
38+
"client_id": "130932636420-j0v9enjvgi8n6if4c3hrcm0gg64lmg9e.apps.googleusercontent.com",
39+
"client_type": 3
40+
}
41+
]
42+
}
43+
}
44+
}
45+
],
46+
"configuration_version": "1"
47+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.good_to_go">
3+
<!-- The INTERNET permission is required for development. Specifically,
4+
the Flutter tool needs it to communicate with the running application
5+
to allow setting breakpoints, to provide hot reload, etc.
6+
-->
7+
<uses-permission android:name="android.permission.INTERNET"/>
8+
</manifest>

0 commit comments

Comments
 (0)