signing
This commit is contained in:
parent
a470eebbe9
commit
8be0b36d23
5 changed files with 22 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -42,3 +42,5 @@ app.*.map.json
|
|||
/android/app/debug
|
||||
/android/app/profile
|
||||
/android/app/release
|
||||
|
||||
/key
|
|
@ -51,11 +51,26 @@ android {
|
|||
versionName flutterVersionName
|
||||
}
|
||||
|
||||
def keystoreProperties = new Properties()
|
||||
def keystorePropertiesFile = rootProject.file('key.properties')
|
||||
if (keystorePropertiesFile.exists()) {
|
||||
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias keystoreProperties['keyAlias']
|
||||
keyPassword keystoreProperties['keyPassword']
|
||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||
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.debug
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:ju_learn/main.dart';
|
||||
|
||||
// ignore: must_be_immutable
|
||||
class QuizPageBrowse extends StatefulWidget {
|
||||
Vault v;
|
||||
QuizPageBrowse(this.v, {super.key});
|
||||
|
@ -22,7 +23,7 @@ class _QuizPageBrowseState extends State<QuizPageBrowse> {
|
|||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
appBar: AppBar(
|
||||
title: Text('Testing: ${v.name}'),
|
||||
title: Text('Browsing: ${v.name}'),
|
||||
),
|
||||
body: Padding(
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
|
|
|
@ -108,7 +108,7 @@ class MainPageState extends State<MainPage> {
|
|||
ListTile(
|
||||
leading: const Icon(Icons.book_online),
|
||||
title: const Text("Browse"),
|
||||
subtitle: const Text("Browse to all Questions!"),
|
||||
subtitle: const Text("Browse through all Questions!"),
|
||||
trailing: const Icon(Icons.chevron_right),
|
||||
onTap: () {
|
||||
Navigator.push(
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:ju_learn/main.dart';
|
||||
|
||||
// ignore: must_be_immutable
|
||||
class QuizPageTest extends StatefulWidget {
|
||||
Vault v;
|
||||
QuizPageTest(this.v, {super.key});
|
||||
|
|
Loading…
Reference in a new issue