android target sdk moved to 34.

main_design2.0
Sikander Saleem 1 year ago
parent f681e784b2
commit be449b8a51

@ -34,7 +34,7 @@ if (keystorePropertiesFile.exists()) {
android {
compileSdkVersion 33
compileSdkVersion 34
ndkVersion flutter.ndkVersion
compileOptions {
@ -48,7 +48,7 @@ android {
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
minSdkVersion 21
targetSdkVersion 33
targetSdkVersion 34
versionCode 7
versionName '1.2.0'
}

File diff suppressed because one or more lines are too long

@ -70,7 +70,7 @@ class UserProvider extends ChangeNotifier {
Navigator.pop(context);
return response.statusCode;
} catch (error) {
debugPrint(error);
// debugPrint(error);
Navigator.pop(context);
_loading = false;
notifyListeners();

@ -1,3 +1,5 @@
import 'dart:io';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
@ -71,10 +73,10 @@ class _LandPageState extends State<LandPage> {
16.height,
Align(
alignment: AlignmentDirectional.centerStart,
child: "Fingerprint/Face ID".addTranslation.heading3(context).custom(fontWeight: FontWeight.w600),
child: (Platform.isAndroid ? "Fingerprint" : "Face ID").addTranslation.heading3(context).custom(fontWeight: FontWeight.w600),
),
16.height,
"fingerprint".toLottieAsset(height: 180),
(Platform.isAndroid ? "fingerprint" : "faceid").toLottieAsset(height: 180),
16.height,
Align(
alignment: AlignmentDirectional.centerStart,

Loading…
Cancel
Save