Skip to content

Commit 5e249fd

Browse files
committed
v1.0 Rollup
*v1.0 Release.
1 parent 18da237 commit 5e249fd

File tree

9 files changed

+42
-24
lines changed

9 files changed

+42
-24
lines changed

android/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
/build
99
/captures
1010
GeneratedPluginRegistrant.java
11+
key.properties

android/app/build.gradle

Lines changed: 31 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@ if (flutterRoot == null) {
1414
apply plugin: 'com.android.application'
1515
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
1616

17+
/*
18+
def keystorePropertiesFile = rootProject.file("key.properties")
19+
def keystoreProperties = new Properties()
20+
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
21+
*/
22+
1723
android {
1824
compileSdkVersion 27
1925

@@ -22,30 +28,42 @@ android {
2228
}
2329

2430
defaultConfig {
25-
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
26-
applicationId "stream.streamgames"
31+
applicationId "stream.games"
2732
minSdkVersion 16
2833
targetSdkVersion 27
2934
versionCode 1
3035
versionName "1.0"
3136
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
3237
}
3338

39+
40+
signingConfigs {
41+
release {
42+
/*
43+
keyAlias keystoreProperties['keyAlias']
44+
keyPassword keystoreProperties['keyPassword']
45+
storeFile file(keystoreProperties['storeFile'])
46+
storePassword keystoreProperties['storePassword']
47+
*/
48+
}
49+
}
50+
3451
buildTypes {
3552
release {
36-
// TODO: Add your own signing config for the release build.
37-
// Signing with the debug keys for now, so `flutter run --release` works.
53+
signingConfig signingConfigs.release
54+
}
55+
debug {
3856
signingConfig signingConfigs.debug
3957
}
4058
}
41-
}
4259

43-
flutter {
44-
source '../..'
45-
}
60+
flutter {
61+
source '../..'
62+
}
4663

47-
dependencies {
48-
testImplementation 'junit:junit:4.12'
49-
androidTestImplementation 'com.android.support.test:runner:1.0.1'
50-
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
51-
}
64+
dependencies {
65+
testImplementation 'junit:junit:4.12'
66+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
67+
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
68+
}
69+
}

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
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="stream.streamgames">
2+
package="stream.games">
33

44
<!-- The INTERNET permission is required for development. Specifically,
55
flutter needs it to communicate with the running application
@@ -14,7 +14,7 @@
1414
FlutterApplication and put your custom class here. -->
1515
<application
1616
android:name="io.flutter.app.FlutterApplication"
17-
android:label="stream_games"
17+
android:label="Flutter Games"
1818
android:icon="@mipmap/ic_launcher">
1919
<activity
2020
android:name=".MainActivity"

android/app/src/main/java/stream/streamgames/MainActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package stream.streamgames;
1+
package stream.games;
22

33
import android.os.Bundle;
44

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ buildscript {
55
}
66

77
dependencies {
8-
classpath 'com.android.tools.build:gradle:3.0.1'
8+
classpath 'com.android.tools.build:gradle:3.1.2'
99
}
1010
}
1111

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@
381381
"$(inherited)",
382382
"$(PROJECT_DIR)/Flutter",
383383
);
384-
PRODUCT_BUNDLE_IDENTIFIER = stream.streamGames;
384+
PRODUCT_BUNDLE_IDENTIFIER = stream.games;
385385
PRODUCT_NAME = "$(TARGET_NAME)";
386386
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
387387
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -410,7 +410,7 @@
410410
"$(inherited)",
411411
"$(PROJECT_DIR)/Flutter",
412412
);
413-
PRODUCT_BUNDLE_IDENTIFIER = stream.streamGames;
413+
PRODUCT_BUNDLE_IDENTIFIER = stream.games;
414414
PRODUCT_NAME = "$(TARGET_NAME)";
415415
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
416416
SWIFT_SWIFT3_OBJC_INFERENCE = On;

lib/item_description.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ class DescriptionText extends StatelessWidget {
1515
children: [
1616
new Text(
1717
'Summary',
18-
style: Theme.of(context).textTheme.display1.apply(fontSizeDelta: 2.0),
18+
style: textTheme.display1.apply(fontSizeDelta: 2.0),
1919
),
2020
new Padding(
2121
padding: const EdgeInsets.only(top: 8.0),
2222
child: new Text(
2323
text,
24-
style: Theme.of(context).textTheme.body1,
24+
style: textTheme.body1,
2525
),
2626
),
2727
// No expand-collapse in this tutorial, we just slap the "more"
@@ -32,7 +32,7 @@ class DescriptionText extends StatelessWidget {
3232
children: [
3333
new Text(
3434
'more',
35-
style: Theme.of(context).textTheme.display2.copyWith(color: theme.accentColor),
35+
style: textTheme.display2.copyWith(color: theme.accentColor),
3636
),
3737
new Icon(
3838
Icons.keyboard_arrow_down,

lib/page_game_details.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
22
import 'package:flutter/cupertino.dart';
33

44
import 'model/game.dart';
5-
import 'item_game_box.dart';
65
import 'item_header_game.dart';
76
import 'item_description.dart';
87
import 'scroll_horizontal_screenshots.dart';

0 commit comments

Comments
 (0)