Skip to content

Commit f781f75

Browse files
committed
还原代码
不小心把项目删除了,重新上传一次。
0 parents  commit f781f75

File tree

5,428 files changed

+2061156
-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.

5,428 files changed

+2061156
-0
lines changed

.DS_Store

10 KB
Binary file not shown.

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2017 ChinaFlutterPioneerTeam
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# talk_casually
2+
3+
A new Flutter project.
4+
5+
## Getting Started
6+
7+
For help getting started with Flutter, view our online
8+
[documentation](http://flutter.io/).

android.iml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$/android">
6+
<sourceFolder url="file://$MODULE_DIR$/android/app/src/main/java" isTestSource="false" />
7+
</content>
8+
<orderEntry type="jdk" jdkName="Android API 25 Platform" jdkType="Android SDK" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
<orderEntry type="library" name="Flutter for Android" level="project" />
11+
</component>
12+
</module>

android/.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
GeneratedPluginRegistrant.java

android/app/build.gradle

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
def localProperties = new Properties()
2+
def localPropertiesFile = rootProject.file('local.properties')
3+
if (localPropertiesFile.exists()) {
4+
localPropertiesFile.withInputStream { stream ->
5+
localProperties.load(stream)
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+
apply plugin: 'com.android.application'
15+
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
16+
17+
android {
18+
compileSdkVersion 25
19+
buildToolsVersion '25.0.3'
20+
21+
lintOptions {
22+
disable 'InvalidPackage'
23+
}
24+
25+
defaultConfig {
26+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
27+
applicationId "com.yourcompany.talkcasually"
28+
minSdkVersion 16
29+
targetSdkVersion 25
30+
versionCode 1
31+
versionName "1.0"
32+
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
33+
}
34+
35+
buildTypes {
36+
release {
37+
// TODO: Add your own signing config for the release build.
38+
// Signing with the debug keys for now, so `flutter run --release` works.
39+
signingConfig signingConfigs.debug
40+
}
41+
}
42+
}
43+
44+
flutter {
45+
source '../..'
46+
}
47+
48+
dependencies {
49+
androidTestCompile 'com.android.support:support-annotations:25.4.0'
50+
androidTestCompile 'com.android.support.test:runner:0.5'
51+
androidTestCompile 'com.android.support.test:rules:0.5'
52+
}
53+
54+
apply plugin: 'com.google.gms.google-services'

android/app/google-services.json

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
{
2+
"project_info": {
3+
"project_number": "895837916274",
4+
"firebase_url": "https://talk-casually-app.firebaseio.com",
5+
"project_id": "talk-casually-app",
6+
"storage_bucket": "talk-casually-app.appspot.com"
7+
},
8+
"client": [
9+
{
10+
"client_info": {
11+
"mobilesdk_app_id": "1:895837916274:android:95e004e54d285639",
12+
"android_client_info": {
13+
"package_name": "com.yourcompany.talkcasually"
14+
}
15+
},
16+
"oauth_client": [
17+
{
18+
"client_id": "895837916274-2d6bv061q5o0k03akm644diol4le8gvl.apps.googleusercontent.com",
19+
"client_type": 1,
20+
"android_info": {
21+
"package_name": "com.yourcompany.talkcasually",
22+
"certificate_hash": "a9afde4c09ed333d9989afcb11fb3f4f8273b788"
23+
}
24+
},
25+
{
26+
"client_id": "895837916274-9d9aikvreqjvnvtmscchn42o5i5mip9r.apps.googleusercontent.com",
27+
"client_type": 3
28+
}
29+
],
30+
"api_key": [
31+
{
32+
"current_key": "AIzaSyD7pKCMqKxPdxIdRNb2E8KlwapxVQTNciM"
33+
}
34+
],
35+
"services": {
36+
"analytics_service": {
37+
"status": 1
38+
},
39+
"appinvite_service": {
40+
"status": 2,
41+
"other_platform_oauth_client": [
42+
{
43+
"client_id": "895837916274-9d9aikvreqjvnvtmscchn42o5i5mip9r.apps.googleusercontent.com",
44+
"client_type": 3
45+
},
46+
{
47+
"client_id": "895837916274-uvh1db1jps3k91nugiollh1pl14b6q03.apps.googleusercontent.com",
48+
"client_type": 2,
49+
"ios_info": {
50+
"bundle_id": "com.yourcompany.talk-casually"
51+
}
52+
}
53+
]
54+
},
55+
"ads_service": {
56+
"status": 2
57+
}
58+
}
59+
}
60+
],
61+
"configuration_version": "1"
62+
}
+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.yourcompany.talkcasually">
3+
4+
<!-- The INTERNET permission is required for development. Specifically,
5+
flutter needs it to communicate with the running application
6+
to allow setting breakpoints, to provide hot reload, etc.
7+
-->
8+
<uses-permission android:name="android.permission.INTERNET"/>
9+
10+
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
11+
calls FlutterMain.startInitialization(this); in its onCreate method.
12+
In most cases you can leave this as-is, but you if you want to provide
13+
additional functionality it is fine to subclass or reimplement
14+
FlutterApplication and put your custom class here. -->
15+
<application android:name="io.flutter.app.FlutterApplication" android:label="纸聊" android:icon="@mipmap/ic_launcher">
16+
<activity android:name=".MainActivity"
17+
android:launchMode="singleTop"
18+
android:theme="@android:style/Theme.Black.NoTitleBar"
19+
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection"
20+
android:hardwareAccelerated="true"
21+
android:windowSoftInputMode="adjustResize">
22+
<intent-filter>
23+
<action android:name="android.intent.action.MAIN" />
24+
<category android:name="android.intent.category.LAUNCHER" />
25+
</intent-filter>
26+
</activity>
27+
</application>
28+
</manifest>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package com.yourcompany.talkcasually;
2+
3+
import android.os.Bundle;
4+
5+
import io.flutter.app.FlutterActivity;
6+
import io.flutter.plugins.GeneratedPluginRegistrant;
7+
8+
public class MainActivity extends FlutterActivity {
9+
@Override
10+
protected void onCreate(Bundle savedInstanceState) {
11+
super.onCreate(savedInstanceState);
12+
GeneratedPluginRegistrant.registerWith(this);
13+
}
14+
}
Loading
Loading
Loading
Loading
Loading

android/build.gradle

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
buildscript {
2+
repositories {
3+
jcenter()
4+
maven {
5+
url "https://maven.google.com"
6+
}
7+
}
8+
9+
dependencies {
10+
classpath 'com.android.tools.build:gradle:2.3.3'
11+
classpath 'com.google.gms:google-services:3.0.0'
12+
}
13+
}
14+
15+
allprojects {
16+
repositories {
17+
jcenter()
18+
maven {
19+
url "https://maven.google.com"
20+
}
21+
}
22+
}
23+
24+
rootProject.buildDir = '../build'
25+
subprojects {
26+
project.buildDir = "${rootProject.buildDir}/${project.name}"
27+
project.evaluationDependsOn(':app')
28+
}
29+
30+
task clean(type: Delete) {
31+
delete rootProject.buildDir
32+
}

android/gradle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
org.gradle.jvmargs=-Xmx1536M
52.4 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri Jun 23 08:50:38 CEST 2017
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
zipStoreBase=GRADLE_USER_HOME
5+
zipStorePath=wrapper/dists
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

0 commit comments

Comments
 (0)