소스 검색

fixing smal stuff

master
jefry 4 년 전
부모
커밋
d3749e2c42
5개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -0
      android/app/build.gradle
  2. +1
    -0
      lib/home.dart
  3. +1
    -0
      lib/main.dart
  4. +0
    -1
      lib/util/dbHandler.dart
  5. +1
    -1
      pubspec.yaml

+ 2
- 0
android/app/build.gradle 파일 보기

@@ -63,6 +63,8 @@ android {
// TODO: Add your own signing config for the release build. // TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works. // Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.release signingConfig signingConfigs.release
minifyEnabled false
shrinkResources false
} }
} }
} }


+ 1
- 0
lib/home.dart 파일 보기

@@ -435,6 +435,7 @@ class _HomeState extends State<Home> {
if(isUserDefined??false){ if(isUserDefined??false){
prefs.setString(keyClass.user, sendingUser.text); prefs.setString(keyClass.user, sendingUser.text);
util.showToast("ALERT",'Preparing Data'); util.showToast("ALERT",'Preparing Data');
await DBHelper.database.setOpenState();
await DBHelper.database.closeDb(); await DBHelper.database.closeDb();
file_Trans_Handler trans = new file_Trans_Handler(); file_Trans_Handler trans = new file_Trans_Handler();
util.showToast("ALERT",'Sending Data'); util.showToast("ALERT",'Sending Data');


+ 1
- 0
lib/main.dart 파일 보기

@@ -14,6 +14,7 @@ Util util = new Util();
SharedPreferences prefs; SharedPreferences prefs;
void main()async { void main()async {
WidgetsFlutterBinding.ensureInitialized(); WidgetsFlutterBinding.ensureInitialized();
// SharedPreferences.setMockInitialValues({});
prefs = await SharedPreferences.getInstance(); prefs = await SharedPreferences.getInstance();
SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp]) SystemChrome.setPreferredOrientations([DeviceOrientation.portraitUp])
.then((_) { .then((_) {


+ 0
- 1
lib/util/dbHandler.dart 파일 보기

@@ -38,7 +38,6 @@ class DBHelper{
String path = join(documentsDirectory.path, "assets.db"); String path = join(documentsDirectory.path, "assets.db");
File file = File(path); File file = File(path);
print('Database created, ${file.lengthSync()}'); print('Database created, ${file.lengthSync()}');
setOpenState();
} }


insertAsset(Asset newAsset) async{ insertAsset(Asset newAsset) async{


+ 1
- 1
pubspec.yaml 파일 보기

@@ -13,7 +13,7 @@ description: Application to check assets
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at # Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
version: 1.0.1+2


environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"


불러오는 중...
취소
저장