Skip to content

Commit 783dc70

Browse files
committed
first commit
0 parents  commit 783dc70

File tree

214 files changed

+12305
-0
lines changed

Some content is hidden

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

214 files changed

+12305
-0
lines changed

.gitignore

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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

.metadata

+30
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: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
8+
channel: unknown
9+
10+
project_type: app
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
17+
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
18+
- platform: web
19+
create_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
20+
base_revision: 4d9e56e694b656610ab87fcf2efbcd226e0ed8cf
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'

.vscode/launch.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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": "testproject",
9+
"request": "launch",
10+
"type": "dart"
11+
}
12+
]
13+
}

.vscode/settings.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"workbench.editor.limit.enabled": true,
3+
"editor.formatOnSave": true,
4+
"cSpell.ignoreWords": ["address", "data", "detail", "property"],
5+
"[Default Dark+]": {
6+
"dart.closingLabels": "#335566"
7+
},
8+
"files.autoSave": "afterDelay",
9+
"java.configuration.updateBuildConfiguration": "interactive"
10+
// "dart.flutterSdkPath": "/Users/geitpl/Desktop/flutter/flutter"
11+
}
12+

README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# testproject
2+
3+
A new Flutter project.
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.

analysis_options.yaml

+29
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

android/.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
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

android/app/build.gradle

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
def localProperties = new Properties()
2+
def localPropertiesFile = rootProject.file('local.properties')
3+
if (localPropertiesFile.exists()) {
4+
localPropertiesFile.withReader('UTF-8') { reader ->
5+
localProperties.load(reader)
6+
}
7+
}
8+
9+
def flutterRoot = localProperties.getProperty('flutter.sdk')
10+
if (flutterRoot == null) {
11+
throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12+
}
13+
14+
def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15+
if (flutterVersionCode == null) {
16+
flutterVersionCode = '1'
17+
}
18+
19+
def flutterVersionName = localProperties.getProperty('flutter.versionName')
20+
if (flutterVersionName == null) {
21+
flutterVersionName = '1.0'
22+
}
23+
24+
apply plugin: 'com.android.application'
25+
apply plugin: 'kotlin-android'
26+
apply plugin: 'com.google.gms.google-services'
27+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
28+
// id 'com.google.firebase.crashlytics'
29+
30+
31+
android {
32+
compileSdkVersion flutter.compileSdkVersion
33+
ndkVersion flutter.ndkVersion
34+
35+
// plugins {
36+
// id 'com.android.application'
37+
38+
// // Add the Google services Gradle plugin
39+
// id 'com.google.gms.google-services'
40+
41+
// ...
42+
// }
43+
44+
compileOptions {
45+
sourceCompatibility JavaVersion.VERSION_1_8
46+
targetCompatibility JavaVersion.VERSION_1_8
47+
}
48+
49+
kotlinOptions {
50+
jvmTarget = '1.8'
51+
}
52+
53+
sourceSets {
54+
main.java.srcDirs += 'src/main/kotlin'
55+
}
56+
57+
defaultConfig {
58+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
59+
applicationId "com.example.testproject"
60+
// You can update the following values to match your application needs.
61+
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
62+
minSdkVersion 21
63+
targetSdkVersion 33
64+
versionCode flutterVersionCode.toInteger()
65+
versionName flutterVersionName
66+
multiDexEnabled true
67+
}
68+
69+
buildTypes {
70+
release {
71+
// TODO: Add your own signing config for the release build.
72+
// Signing with the debug keys for now, so `flutter run --release` works.
73+
signingConfig signingConfigs.debug
74+
}
75+
}
76+
}
77+
78+
flutter {
79+
source '../..'
80+
}
81+
82+
dependencies {
83+
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
84+
implementation 'com.google.firebase:firebase-analytics-ktx'
85+
implementation platform('com.google.firebase:firebase-bom:31.3.0')
86+
implementation("com.google.firebase:firebase-inappmessaging-display-ktx")
87+
implementation 'com.android.support:multidex:2.0.1'
88+
implementation 'com.google.firebase:firebase-crashlytics-ktx'
89+
implementation 'com.google.firebase:firebase-analytics-ktx'
90+
implementation 'com.google.firebase:firebase-messaging:20.1.4'
91+
}

android/app/google-services.json

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"project_info": {
3+
"project_number": "280530107675",
4+
"firebase_url": "https://flutterdemo-f8a65-default-rtdb.firebaseio.com",
5+
"project_id": "flutterdemo-f8a65",
6+
"storage_bucket": "flutterdemo-f8a65.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:280530107675:android:2fecb1df7f4f6a306ee7be",
12+
"android_client_info": {
13+
"package_name": "com.example.flutter_gdrive"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "280530107675-gjvopbguhlpjf65l0c6p2b06i2nvhr18.apps.googleusercontent.com",
19+
"client_type": 1,
20+
"android_info": {
21+
"package_name": "com.example.flutter_gdrive",
22+
"certificate_hash": "881d5c7b7583fee5affea988129c9b048473e473"
23+
}
24+
},
25+
{
26+
"client_id": "280530107675-p5sbtod9vtu456cdm627ga1hji0nl2o1.apps.googleusercontent.com",
27+
"client_type": 3
28+
}
29+
],
30+
"api_key": [
31+
{
32+
"current_key": "AIzaSyCfmYmOyO0GbWyZVo4Mby4bHy3k4-OrF2k"
33+
}
34+
],
35+
"services": {
36+
"appinvite_service": {
37+
"other_platform_oauth_client": [
38+
{
39+
"client_id": "280530107675-058qv74toahvcbhb99mca81uln953p5j.apps.googleusercontent.com",
40+
"client_type": 3
41+
}
42+
]
43+
}
44+
}
45+
},
46+
{
47+
"client_info": {
48+
"mobilesdk_app_id": "1:280530107675:android:c6693f6d2b0bc6f76ee7be",
49+
"android_client_info": {
50+
"package_name": "com.example.testproject"
51+
}
52+
},
53+
"oauth_client": [
54+
{
55+
"client_id": "280530107675-1p62lhduug6i938rscg53v06itjm1pne.apps.googleusercontent.com",
56+
"client_type": 1,
57+
"android_info": {
58+
"package_name": "com.example.testproject",
59+
"certificate_hash": "d85859e332514b83bfcdbfcf96a8daf8545f8a28"
60+
}
61+
},
62+
{
63+
"client_id": "280530107675-p5sbtod9vtu456cdm627ga1hji0nl2o1.apps.googleusercontent.com",
64+
"client_type": 3
65+
}
66+
],
67+
"api_key": [
68+
{
69+
"current_key": "AIzaSyCfmYmOyO0GbWyZVo4Mby4bHy3k4-OrF2k"
70+
}
71+
],
72+
"services": {
73+
"appinvite_service": {
74+
"other_platform_oauth_client": [
75+
{
76+
"client_id": "280530107675-058qv74toahvcbhb99mca81uln953p5j.apps.googleusercontent.com",
77+
"client_type": 3
78+
}
79+
]
80+
}
81+
}
82+
}
83+
],
84+
"configuration_version": "1"
85+
}
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.testproject">
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>
+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.example.testproject">
3+
<uses-permission android:name="android.permission.USE_BIOMETRIC"/>
4+
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
5+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
6+
<uses-permission android:name="android.permission.INTERNET" />
7+
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
8+
<application
9+
android:label="Chat"
10+
android:name="${applicationName}"
11+
android:icon="@mipmap/ic_launcher">
12+
<activity
13+
android:name=".MainActivity"
14+
android:exported="true"
15+
android:launchMode="singleTop"
16+
android:theme="@style/LaunchTheme"
17+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
18+
android:hardwareAccelerated="true"
19+
android:windowSoftInputMode="adjustResize">
20+
<!-- Specifies an Android theme to apply to this Activity as soon as
21+
the Android process has started. This theme is visible to the user
22+
while the Flutter UI initializes. After that, this theme continues
23+
to determine the Window background behind the Flutter UI. -->
24+
<meta-data
25+
android:name="io.flutter.embedding.android.NormalTheme"
26+
android:resource="@style/NormalTheme"
27+
/>
28+
<intent-filter>
29+
<action android:name="android.intent.action.MAIN"/>
30+
<category android:name="android.intent.category.LAUNCHER"/>
31+
<action android:name="FLUTTER_NOTIFICATION_CLICK"/>
32+
<category android:name="android.intent.category.DEFAULT"/>
33+
</intent-filter>
34+
35+
</activity>
36+
<!-- Don't delete the meta-data below.
37+
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
38+
<meta-data
39+
android:name="flutterEmbedding"
40+
android:value="2" />
41+
</application>
42+
</manifest>

0 commit comments

Comments
 (0)