Skip to content

Commit

Permalink
1、Update Info plist
Browse files Browse the repository at this point in the history
  • Loading branch information
ianyanzhang committed Jun 20, 2024
1 parent 2e20f9d commit 359a04c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Demo/PlayerApp/PlayerApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,8 @@
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 2ZNSKQLPTK;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "PlayerApp/Player_Premium-Info.plist";
INFOPLIST_KEY_NSCameraUsageDescription = "二维码扫描,需使用Camera权限";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "二维码扫描,需使用相册权限";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
Expand Down Expand Up @@ -728,6 +730,8 @@
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = 2ZNSKQLPTK;
GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = "PlayerApp/Player_Premium-Info.plist";
INFOPLIST_KEY_NSCameraUsageDescription = "二维码扫描,需使用Camera权限";
INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "二维码扫描,需使用相册权限";
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
INFOPLIST_KEY_UIMainStoryboardFile = Main;
Expand Down
4 changes: 4 additions & 0 deletions Demo/PlayerApp/PlayerApp/Player-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPhotoLibraryUsageDescription</key>
<string>二维码扫描,需使用相册权限</string>
<key>NSCameraUsageDescription</key>
<string>二维码扫描,需使用Camera权限</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
Expand Down
4 changes: 4 additions & 0 deletions Demo/PlayerApp/PlayerApp/Player_Premium-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSPhotoLibraryUsageDescription</key>
<string>二维码扫描,需使用相册权限</string>
<key>NSCameraUsageDescription</key>
<string>二维码扫描,需使用Camera权限</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
Expand Down

0 comments on commit 359a04c

Please sign in to comment.