quiz hotfix

This commit is contained in:
kishan06
2024-05-10 13:38:48 +05:30
parent 635429092c
commit 451027251e
4 changed files with 12 additions and 4 deletions

View File

@@ -62,7 +62,7 @@ android {
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion 26
targetSdkVersion 33
versionCode 17//flutterVersionCode.toInteger()//3
versionCode 18//flutterVersionCode.toInteger()//3
versionName "1.0"//flutterVersionName //"1.0"
manifestPlaceholders['foregroundServiceType'] = 'health'

View File

@@ -23,7 +23,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.5.2</string>
<string>1.5.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>

View File

@@ -1,3 +1,4 @@
import 'package:firebase_analytics/firebase_analytics.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:get/get.dart';
@@ -17,6 +18,13 @@ class QuizHome extends StatefulWidget {
}
class _QuizHomeState extends State<QuizHome> {
@override
void initState() {
FirebaseAnalytics.instance.logScreenView(screenName: "QuizHome");
super.initState();
}
@override
Widget build(BuildContext context) {
final screenSize = Get.mediaQuery.size;

View File

@@ -83,7 +83,7 @@ class _SettingsState extends State<Settings> {
const Spacer(),
if (Platform.isIOS)
Text(
packageInfo?.version ?? "1.5.2",
packageInfo?.version ?? "1.5.3",
style: TextStyle(
fontSize: 19,
color: (brightness == Brightness.light)
@@ -93,7 +93,7 @@ class _SettingsState extends State<Settings> {
),
if (Platform.isAndroid)
Text(
packageInfo?.buildNumber ?? "17",
packageInfo?.buildNumber ?? "18",
style: TextStyle(
fontSize: 19,
color: (brightness == Brightness.light)