From 6a5b4f7f4bc52091e7dd30af6cb83d13eccb482a Mon Sep 17 00:00:00 2001 From: Yasien Mac Mini Date: Mon, 3 Nov 2025 09:20:14 +0200 Subject: [PATCH] QOL: Location compliance update for app store --- .DS_Store | Bin 10244 -> 10244 bytes Frontend/ios/Runner/Info.plist | 2 ++ Frontend/lib/mih_config/mih_theme.dart | 2 +- .../package_tools/mine_sweeper_game.dart | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.DS_Store b/.DS_Store index 28be10ccc2825e8b2bbf41bb003424efd582fb11..b2d3ca66295693fed4507dd7c2f61764b586e290 100644 GIT binary patch delta 569 zcmbW!KS&gC6u|NKeWZqhntE!AgBS(UAU2qPhBz*85IsArz)VXIyurJ=QzQRf#3hP~ z)GcD=T5<%2nxf>UrdTMVpo4-?=#YfcAUOC-Y;Y6b@`g8kKQCYp*oRgumde<;Mwjzh z$&-4Q$L+i8^!m&WZdjhD+;>%b+zwZhGeJ%d!G=T|wZjvM4*VInvQDlSB~7x$CPh*u zUTKyd>64I*$h6GJifqV^?8^ZVP6Uxek${CHl1V3%9Bz_FJ~r%>a))xNctkZd)ZxWP z1C983MLQjI@`iri@}2=cSQ+9oBaAY|cYd(Q66^fr7u)Qxrx!F#!!<@@^^&IQ70uCH z&C`4>(A!$9_w<2Q1Xq(Q&d0EP`7gD>xs)4cR9KTO*_Jb=wcM9SoZoRSuC zidTXXmSGu}w9Lu8EXYU6$)@~}pRz4G@()D`2RX!HDzQ>W6E^HPI7cg&aO1(xRj$!Z zfL?BKn-DP)404}g#z?u*dCU{iJZFj*yyP|Sc+V0aSmiTc$g{~7fB4IeI-tswNmZ%i zs!5$ucI8mb>b!EPcI8!9^xV;&;xcSle-qPJY8*vYSdn$f%Xj%D+mupa*iUlWke|hg zi;IT+GHv+iH1u5sdyt!GhQFTyqTD6U1Cl&sgi%uHjXWwenBXbTm}Ht6X36l11>W$M aEQ>~!W!8)uU-_1qI@VBL9QFT?yV(Uq0h1B{ diff --git a/Frontend/ios/Runner/Info.plist b/Frontend/ios/Runner/Info.plist index 410a60ed..53e112f3 100644 --- a/Frontend/ios/Runner/Info.plist +++ b/Frontend/ios/Runner/Info.plist @@ -52,6 +52,8 @@ Why is my app authenticating using face id? NSLocationWhenInUseUsageDescription This app needs access to location when open. + NSLocationAlwaysAndWhenInUseUsageDescription + This app needs access to your location at all times to provide [Explain your specific, complete reason here, e.g., real-time tracking, background updates, etc.]. NSPhotoLibraryUsageDescription This app needs to access your photo library to select images. NSDownloadsFolderUsageDescription diff --git a/Frontend/lib/mih_config/mih_theme.dart b/Frontend/lib/mih_config/mih_theme.dart index eed96378..22436d37 100644 --- a/Frontend/lib/mih_config/mih_theme.dart +++ b/Frontend/lib/mih_config/mih_theme.dart @@ -14,7 +14,7 @@ class MihTheme { late String loadingAssetText; late TargetPlatform platform; bool kIsWeb = const bool.fromEnvironment('dart.library.js_util'); - String latestVersion = "1.2.1"; + String latestVersion = "1.2.2"; // Options:- // f3f9d2 = Cream // f0f0c9 = cream2 diff --git a/Frontend/lib/mih_packages/mine_sweeper/package_tools/mine_sweeper_game.dart b/Frontend/lib/mih_packages/mine_sweeper/package_tools/mine_sweeper_game.dart index 6a4b2ce6..3facf977 100644 --- a/Frontend/lib/mih_packages/mine_sweeper/package_tools/mine_sweeper_game.dart +++ b/Frontend/lib/mih_packages/mine_sweeper/package_tools/mine_sweeper_game.dart @@ -129,12 +129,12 @@ class _MineSweeperGameState extends State { // easy - 10 * 10 & 15 bombs // Intermediate - 10 * 15 & 23 bombs // Hard - 10 * 20 & 30 bombs - addProvider.loadBannerAd(); showDialog( context: context, builder: (context) { return MihMineSweeperStartGameWindow( onPressed: () { + addProvider.loadBannerAd(); resetTimer(); mihMineSweeperProvider .setDifficulty(mihMineSweeperProvider.difficulty); @@ -803,7 +803,7 @@ class _MineSweeperGameState extends State { ], ), ), - MihBannerAd(), + _timer != null ? MihBannerAd() : SizedBox(), SizedBox(height: 15), ], );