Skip to content

Commit 6eddfbd

Browse files
committed
Modfiy: 改造业内资讯页面
2 parents 553dbad + 989c174 commit 6eddfbd

File tree

80 files changed

+769
-365
lines changed

Some content is hidden

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

80 files changed

+769
-365
lines changed

android/app/build.gradle

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ apply plugin: 'com.android.application'
2525
apply plugin: 'kotlin-android'
2626
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
2727

28+
def keystoreProperties = new Properties()
29+
def keystorePropertiesFile = rootProject.file('key.properties')
30+
if (keystorePropertiesFile.exists()) {
31+
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
32+
}
33+
34+
2835
android {
29-
compileSdkVersion 27
36+
compileSdkVersion 28
3037

3138
sourceSets {
3239
main.java.srcDirs += 'src/main/kotlin'
@@ -38,21 +45,28 @@ android {
3845

3946
defaultConfig {
4047
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41-
applicationId "com.ali.fluttergo"
48+
applicationId "com.alibaba.fluttergo"
4249
minSdkVersion 16
43-
targetSdkVersion 27
50+
targetSdkVersion 28
4451
versionCode flutterVersionCode.toInteger()
4552
versionName flutterVersionName
46-
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
53+
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
4754
}
4855

56+
signingConfigs {
57+
release {
58+
keyAlias keystoreProperties['keyAlias']
59+
keyPassword keystoreProperties['keyPassword']
60+
storeFile file(keystoreProperties['storeFile'])
61+
storePassword keystoreProperties['storePassword']
62+
}
63+
}
4964
buildTypes {
5065
release {
51-
// TODO: Add your own signing config for the release build.
52-
// Signing with the debug keys for now, so `flutter run --release` works.
53-
signingConfig signingConfigs.debug
66+
signingConfig signingConfigs.release
5467
}
5568
}
69+
5670
}
5771

5872
flutter {
@@ -62,8 +76,8 @@ flutter {
6276
dependencies {
6377
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
6478
testImplementation 'junit:junit:4.12'
65-
androidTestImplementation 'com.android.support.test:runner:1.0.2'
66-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
79+
androidTestImplementation 'androidx.test:runner:1.1.1'
80+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
6781
//firebase
6882
implementation 'com.google.firebase:firebase-core:16.0.8'
6983
//Crashlytics SDK

android/app/google-services.json

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,40 @@
11
{
22
"project_info": {
3-
"project_number": "1002138254102",
4-
//"firebase_url": "https://ali-flutter-go.firebaseio.com",
5-
"project_id": "ali-flutter-go",
6-
"storage_bucket": "ali-flutter-go.appspot.com"
3+
"project_number": "611157827052",
4+
"firebase_url": "https://alibaba-flutter-go.firebaseio.com",
5+
"project_id": "alibaba-flutter-go",
6+
"storage_bucket": "alibaba-flutter-go.appspot.com"
77
},
88
"client": [
99
{
1010
"client_info": {
11-
"mobilesdk_app_id": "1:1002138254102:android:00e8533fa0274183",
11+
"mobilesdk_app_id": "1:611157827052:android:c6129e5eff2f125d",
1212
"android_client_info": {
13-
"package_name": "com.ali.fluttergo"
13+
"package_name": "com.alibaba.fluttergo"
1414
}
1515
},
1616
"oauth_client": [
1717
{
18-
"client_id": "1002138254102-2r4hs0mm1avp4p1qielecihnbugan693.apps.googleusercontent.com",
18+
"client_id": "611157827052-iiuevj8qu56alpqh47v37j9sd4e40di7.apps.googleusercontent.com",
1919
"client_type": 3
2020
}
2121
],
2222
"api_key": [
2323
{
24-
"current_key": "AIzaSyDFdL3GSwVDfejIq44pyOpiEBZ32dTGMVA"
24+
"current_key": "AIzaSyA9chxDIuds7gmPQTJPpDpoXyN9rDTdvhU"
2525
}
2626
],
2727
"services": {
2828
"appinvite_service": {
2929
"other_platform_oauth_client": [
3030
{
31-
"client_id": "1002138254102-2r4hs0mm1avp4p1qielecihnbugan693.apps.googleusercontent.com",
31+
"client_id": "611157827052-iiuevj8qu56alpqh47v37j9sd4e40di7.apps.googleusercontent.com",
3232
"client_type": 3
33-
},
34-
{
35-
"client_id": "1002138254102-qo9jp8c3lc69p9lclu0rtp5dmt1kulv7.apps.googleusercontent.com",
36-
"client_type": 2,
37-
"ios_info": {
38-
"bundle_id": "com.ali.fluttergo"
39-
}
4033
}
4134
]
4235
}
4336
}
4437
}
4538
],
4639
"configuration_version": "1"
47-
}
40+
}

android/app/release/output.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
[{"outputType":{"type":"APK"},"apkInfo":{"type":"MAIN","splits":[],"versionCode":1,"versionName":"0.0.5","enabled":true,"outputFile":"app-release.apk","fullName":"release","baseName":"release"},"path":"app-release.apk","properties":{}}]

android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.ali.fluttergo">
2+
package="com.alibaba.fluttergo">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.ali.fluttergo">
2+
package="com.alibaba.fluttergo">
33

44
<!-- io.flutter.app.FlutterApplication is an android.app.Application that
55
calls FlutterMain.startInitialization(this); in its onCreate method.

android/app/src/main/kotlin/fluttergo/ali/com/fluttergo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.ali.fluttergo
1+
package com.alibaba.fluttergo
22

33
import android.os.Bundle
44

android/app/src/main/res/drawable/launch_background.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
<!-- You can insert your own image assets here -->
77
<item>
88
<bitmap
9-
android:gravity="center"
10-
android:src="@mipmap/splash" />
9+
android:src="@drawable/splash" />
1110
</item>
1211
</layer-list>
-197 KB
Binary file not shown.
Loading

android/app/src/profile/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.ali.fluttergo">
2+
package="com.alibaba.fluttergo">
33
<!-- Flutter needs it to communicate with the running application
44
to allow setting breakpoints, to provide hot reload, etc.
55
-->

0 commit comments

Comments
 (0)