diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 9416507..80266a8 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -27,9 +27,9 @@ LSRequiresIPhoneOS NSBluetoothAlwaysUsageDescription - This app needs location to show content based on location + This app needs bluetooth to scan nearby beacons to show you content based on your location NSBluetoothPeripheralUsageDescription - This app needs location to show content based on location + This app needs bluetooth to scan nearby beacons to show you content based on your location NSCameraUsageDescription This app needs camera access to scan QR codes NSLocationAlwaysAndWhenInUseUsageDescription diff --git a/lib/Screens/Visit/visit.dart b/lib/Screens/Visit/visit.dart index 38968d3..776bc4e 100644 --- a/lib/Screens/Visit/visit.dart +++ b/lib/Screens/Visit/visit.dart @@ -350,7 +350,8 @@ class _VisitPageState extends State with WidgetsBindingObserver { - return WillPopScope( + return PopScope( + canPop: false, child: Scaffold( appBar: CustomAppBar( title: TranslationHelper.get(configuration!.title, visitAppContext), @@ -515,7 +516,6 @@ class _VisitPageState extends State with WidgetsBindingObserver { ], ), ), - onWillPop: () async => false, ); }