| @@ -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 | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| @@ -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'); | ||||
| @@ -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((_) { | ||||
| @@ -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{ | ||||
| @@ -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" | ||||