Skip to content

Commit

Permalink
v1.0 Rollup
Browse files Browse the repository at this point in the history
*v1.0 Release.
  • Loading branch information
rayliverified committed Jun 7, 2018
1 parent 18da237 commit 5e249fd
Show file tree
Hide file tree
Showing 9 changed files with 42 additions and 24 deletions.
1 change: 1 addition & 0 deletions android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
/build
/captures
GeneratedPluginRegistrant.java
key.properties
44 changes: 31 additions & 13 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ if (flutterRoot == null) {
apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

/*
def keystorePropertiesFile = rootProject.file("key.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
*/

android {
compileSdkVersion 27

Expand All @@ -22,30 +28,42 @@ android {
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "stream.streamgames"
applicationId "stream.games"
minSdkVersion 16
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}


signingConfigs {
release {
/*
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
*/
}
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release
}
debug {
signingConfig signingConfigs.debug
}
}
}

flutter {
source '../..'
}
flutter {
source '../..'
}

dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
}
dependencies {
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}
}
4 changes: 2 additions & 2 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="stream.streamgames">
package="stream.games">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
Expand All @@ -14,7 +14,7 @@
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="stream_games"
android:label="Flutter Games"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package stream.streamgames;
package stream.games;

import android.os.Bundle;

Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.android.tools.build:gradle:3.1.2'
}
}

Expand Down
2 changes: 1 addition & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.4-all.zip
4 changes: 2 additions & 2 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = stream.streamGames;
PRODUCT_BUNDLE_IDENTIFIER = stream.games;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
Expand Down Expand Up @@ -410,7 +410,7 @@
"$(inherited)",
"$(PROJECT_DIR)/Flutter",
);
PRODUCT_BUNDLE_IDENTIFIER = stream.streamGames;
PRODUCT_BUNDLE_IDENTIFIER = stream.games;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_SWIFT3_OBJC_INFERENCE = On;
Expand Down
6 changes: 3 additions & 3 deletions lib/item_description.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ class DescriptionText extends StatelessWidget {
children: [
new Text(
'Summary',
style: Theme.of(context).textTheme.display1.apply(fontSizeDelta: 2.0),
style: textTheme.display1.apply(fontSizeDelta: 2.0),
),
new Padding(
padding: const EdgeInsets.only(top: 8.0),
child: new Text(
text,
style: Theme.of(context).textTheme.body1,
style: textTheme.body1,
),
),
// No expand-collapse in this tutorial, we just slap the "more"
Expand All @@ -32,7 +32,7 @@ class DescriptionText extends StatelessWidget {
children: [
new Text(
'more',
style: Theme.of(context).textTheme.display2.copyWith(color: theme.accentColor),
style: textTheme.display2.copyWith(color: theme.accentColor),
),
new Icon(
Icons.keyboard_arrow_down,
Expand Down
1 change: 0 additions & 1 deletion lib/page_game_details.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import 'package:flutter/material.dart';
import 'package:flutter/cupertino.dart';

import 'model/game.dart';
import 'item_game_box.dart';
import 'item_header_game.dart';
import 'item_description.dart';
import 'scroll_horizontal_screenshots.dart';
Expand Down

0 comments on commit 5e249fd

Please sign in to comment.