From 465873f1c6832571249495c80a801098ad1cfebe Mon Sep 17 00:00:00 2001 From: Crondung <1922635@stud.hs-mannheim.de> Date: Mon, 20 Feb 2023 14:45:41 +0100 Subject: [PATCH] add package and ios description for qr --- ios/Runner/Info.plist | 2 ++ pubspec.lock | 7 +++++++ pubspec.yaml | 1 + 3 files changed, 10 insertions(+) diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist index 097c0f1..8285717 100644 --- a/ios/Runner/Info.plist +++ b/ios/Runner/Info.plist @@ -2,6 +2,8 @@ + NSCameraUsageDescription + This app needs camera access to scan QR codes CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleDisplayName diff --git a/pubspec.lock b/pubspec.lock index 1cda953..7dd2477 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -121,6 +121,13 @@ packages: url: "https://pub.dartlang.org" source: hosted version: "1.8.0" + mobile_scanner: + dependency: "direct main" + description: + name: mobile_scanner + url: "https://pub.dartlang.org" + source: hosted + version: "3.0.0" path: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index cf6766f..7c98b0f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -36,6 +36,7 @@ dependencies: # Use with the CupertinoIcons class for iOS style icons. cupertino_icons: ^1.0.2 shared_preferences: ^2.0.17 + mobile_scanner: ^3.0.0 dev_dependencies: flutter_test: