!44 在 iOS 项目中新增摄像头权限声明(开源之夏 2024 MaxKey APP客户端Flutter开发项目)

Merge pull request !44 from Ferry/main
This commit is contained in:
MaxKeyTop
2024-09-20 00:45:14 +00:00
committed by Gitee
2 changed files with 4 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Maxkey Flutter</string>
<string>Maxkey</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
@@ -45,5 +45,7 @@
<true/>
<key>UIApplicationSupportsIndirectInputEvents</key>
<true/>
<key>NSCameraUsageDescription</key>
<string>MaxKey needs camera access to scan QR codes for logining and TOTP scanning</string>
</dict>
</plist>

View File

@@ -14,7 +14,7 @@ class MaxKeyPersistent {
/// 不和用户绑定
static const String _HOST_KEY = "Host";
static const String _DEFAULT_HOST = "192.168.1.66:9527";
static const String _DEFAULT_HOST = "192.168.1.66";
/// 和用户绑定
String get _TOTP_LIST_KEY => "$_currUser.TotpList";