update bluetooth description usage ios

This commit is contained in:
Thomas Fransolet 2024-07-09 12:16:17 +02:00
parent 300a9013cd
commit f67cbcc269
2 changed files with 4 additions and 4 deletions

View File

@ -27,9 +27,9 @@
<key>LSRequiresIPhoneOS</key> <key>LSRequiresIPhoneOS</key>
<true/> <true/>
<key>NSBluetoothAlwaysUsageDescription</key> <key>NSBluetoothAlwaysUsageDescription</key>
<string>This app needs location to show content based on location</string> <string>This app needs bluetooth to scan nearby beacons to show you content based on your location</string>
<key>NSBluetoothPeripheralUsageDescription</key> <key>NSBluetoothPeripheralUsageDescription</key>
<string>This app needs location to show content based on location</string> <string>This app needs bluetooth to scan nearby beacons to show you content based on your location</string>
<key>NSCameraUsageDescription</key> <key>NSCameraUsageDescription</key>
<string>This app needs camera access to scan QR codes</string> <string>This app needs camera access to scan QR codes</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key>

View File

@ -350,7 +350,8 @@ class _VisitPageState extends State<VisitPage> with WidgetsBindingObserver {
return WillPopScope( return PopScope(
canPop: false,
child: Scaffold( child: Scaffold(
appBar: CustomAppBar( appBar: CustomAppBar(
title: TranslationHelper.get(configuration!.title, visitAppContext), title: TranslationHelper.get(configuration!.title, visitAppContext),
@ -515,7 +516,6 @@ class _VisitPageState extends State<VisitPage> with WidgetsBindingObserver {
], ],
), ),
), ),
onWillPop: () async => false,
); );
} }