Skip to content

Commit 729c140

Browse files
committed
Merge branch 'rel-2.0.0'
2 parents 8607b9e + 7adf8ff commit 729c140

24 files changed

+56
-1210
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0
2+
* Dropping firebase auth and firestore CRUD setup scripts in favor of [flutter_firebase_starter](https://github.com/lohanidamodar/flutter_firebase_starter) project
3+
* Null safety support
4+
15
## 1.4.0
26
* Have added `gen` command to generate directory and common files for a modified tdd structure
37
* Fixed adding multiple instance of plugins if already exists

lib/android_signing.dart

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
part of flutter_automation;
22

3-
String alias;
3+
String? alias;
44
String keystorePath = "keys/keystore.jks";
5-
String keyPass;
6-
String keystorePass;
5+
String? keyPass;
6+
String? keystorePass;
77
const String keyPropertiesPath = "./android/key.properties";
88

99
/// Main function that uses other helper functions to setup android signing
@@ -23,16 +23,16 @@ void _generateKeystore() {
2323

2424
stdout.write(
2525
"enter dname as (CN=popupbits.com, OU=DD, O=Popup Bits Ltd., L=Kathmandu, S=Bagmati, C=NP): ");
26-
String dname = stdin.readLineSync();
27-
if (dname.isEmpty) dname = defDname;
26+
String? dname = stdin.readLineSync();
27+
if (dname == null || dname.isEmpty) dname = defDname;
2828
stdout.write("key password: ");
2929
keyPass = stdin.readLineSync();
3030
stdout.write("keystore password: ");
3131
keystorePass = stdin.readLineSync();
32-
if (alias.isEmpty ||
32+
if (alias == null || alias!.isEmpty ||
3333
dname.isEmpty ||
34-
keyPass.isEmpty ||
35-
keystorePass.isEmpty) {
34+
keyPass == null || keyPass!.isEmpty ||
35+
keystorePass == null || keystorePass!.isEmpty) {
3636
stderr.writeln("All inputs that don't have default mentioned are required");
3737
return;
3838
}
@@ -46,15 +46,15 @@ void _generateKeystore() {
4646
"-genkey",
4747
"-noprompt",
4848
"-alias",
49-
alias,
49+
alias!,
5050
"-dname",
5151
dname,
5252
"-keystore",
5353
keystorePath,
5454
"-storepass",
55-
keystorePass,
55+
keystorePass!,
5656
"-keypass",
57-
keyPass,
57+
keyPass!,
5858
"-keyalg",
5959
"RSA",
6060
"-keysize",

lib/auth_stock/lib/model/user_repository.dart.temp

Lines changed: 0 additions & 95 deletions
This file was deleted.

lib/auth_stock/lib/ui/pages/home.dart.temp

Lines changed: 0 additions & 28 deletions
This file was deleted.

lib/auth_stock/lib/ui/pages/login.dart.temp

Lines changed: 0 additions & 147 deletions
This file was deleted.

lib/auth_stock/lib/ui/pages/splash.dart.temp

Lines changed: 0 additions & 12 deletions
This file was deleted.

lib/auth_stock/lib/ui/pages/user_info.dart.temp

Lines changed: 0 additions & 30 deletions
This file was deleted.

0 commit comments

Comments
 (0)