添加ios权限管理

hmxc
张萌 4 years ago
parent 0b52e31ec4
commit 289dd1fa06

@ -31,6 +31,8 @@ PODS:
- core_location_fluttify (0.0.1): - core_location_fluttify (0.0.1):
- Flutter - Flutter
- foundation_fluttify - foundation_fluttify
- device_info (0.0.1):
- Flutter
- Flutter (1.0.0) - Flutter (1.0.0)
- foundation_fluttify (0.0.1): - foundation_fluttify (0.0.1):
- Flutter - Flutter
@ -44,6 +46,8 @@ PODS:
- JCore (= 2.4.0) - JCore (= 2.4.0)
- JPush (= 3.4.0) - JPush (= 3.4.0)
- MTBBarcodeScanner (5.0.11) - MTBBarcodeScanner (5.0.11)
- package_info (0.0.1):
- Flutter
- path_provider (0.0.1): - path_provider (0.0.1):
- Flutter - Flutter
- "permission_handler (5.0.1+1)": - "permission_handler (5.0.1+1)":
@ -60,10 +64,12 @@ DEPENDENCIES:
- amap_map_fluttify (from `.symlinks/plugins/amap_map_fluttify/ios`) - amap_map_fluttify (from `.symlinks/plugins/amap_map_fluttify/ios`)
- amap_search_fluttify (from `.symlinks/plugins/amap_search_fluttify/ios`) - amap_search_fluttify (from `.symlinks/plugins/amap_search_fluttify/ios`)
- core_location_fluttify (from `.symlinks/plugins/core_location_fluttify/ios`) - core_location_fluttify (from `.symlinks/plugins/core_location_fluttify/ios`)
- device_info (from `.symlinks/plugins/device_info/ios`)
- Flutter (from `Flutter`) - Flutter (from `Flutter`)
- foundation_fluttify (from `.symlinks/plugins/foundation_fluttify/ios`) - foundation_fluttify (from `.symlinks/plugins/foundation_fluttify/ios`)
- image_picker (from `.symlinks/plugins/image_picker/ios`) - image_picker (from `.symlinks/plugins/image_picker/ios`)
- jpush_flutter (from `.symlinks/plugins/jpush_flutter/ios`) - jpush_flutter (from `.symlinks/plugins/jpush_flutter/ios`)
- package_info (from `.symlinks/plugins/package_info/ios`)
- path_provider (from `.symlinks/plugins/path_provider/ios`) - path_provider (from `.symlinks/plugins/path_provider/ios`)
- permission_handler (from `.symlinks/plugins/permission_handler/ios`) - permission_handler (from `.symlinks/plugins/permission_handler/ios`)
- qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`) - qr_code_scanner (from `.symlinks/plugins/qr_code_scanner/ios`)
@ -90,6 +96,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/amap_search_fluttify/ios" :path: ".symlinks/plugins/amap_search_fluttify/ios"
core_location_fluttify: core_location_fluttify:
:path: ".symlinks/plugins/core_location_fluttify/ios" :path: ".symlinks/plugins/core_location_fluttify/ios"
device_info:
:path: ".symlinks/plugins/device_info/ios"
Flutter: Flutter:
:path: Flutter :path: Flutter
foundation_fluttify: foundation_fluttify:
@ -98,6 +106,8 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/image_picker/ios" :path: ".symlinks/plugins/image_picker/ios"
jpush_flutter: jpush_flutter:
:path: ".symlinks/plugins/jpush_flutter/ios" :path: ".symlinks/plugins/jpush_flutter/ios"
package_info:
:path: ".symlinks/plugins/package_info/ios"
path_provider: path_provider:
:path: ".symlinks/plugins/path_provider/ios" :path: ".symlinks/plugins/path_provider/ios"
permission_handler: permission_handler:
@ -117,6 +127,7 @@ SPEC CHECKSUMS:
AMapLocation-NO-IDFA: 2a3edfee336b38481b892e1ecc85df0f6b365851 AMapLocation-NO-IDFA: 2a3edfee336b38481b892e1ecc85df0f6b365851
AMapSearch-NO-IDFA: 85555dc9ba312949d39a259baa4ef4e0619fa944 AMapSearch-NO-IDFA: 85555dc9ba312949d39a259baa4ef4e0619fa944
core_location_fluttify: 9466a411ea7d22c6349c7e6a767ae4623f01eb1d core_location_fluttify: 9466a411ea7d22c6349c7e6a767ae4623f01eb1d
device_info: d7d233b645a32c40dfdc212de5cf646ca482f175
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
foundation_fluttify: 0c45145e3fad1fb99188e4979daed5b24cd9b278 foundation_fluttify: 0c45145e3fad1fb99188e4979daed5b24cd9b278
image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09 image_picker: 9c3312491f862b28d21ecd8fdf0ee14e601b3f09
@ -124,6 +135,7 @@ SPEC CHECKSUMS:
JPush: defaa108c38806f6efdcfaf4c416854d25fca8e5 JPush: defaa108c38806f6efdcfaf4c416854d25fca8e5
jpush_flutter: 364b245849348e05377d67295d0896ddd664a896 jpush_flutter: 364b245849348e05377d67295d0896ddd664a896
MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb MTBBarcodeScanner: f453b33c4b7dfe545d8c6484ed744d55671788cb
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62
path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c path_provider: abfe2b5c733d04e238b0d8691db0cfd63a27a93c
permission_handler: eac8e15b4a1a3fba55b761d19f3f4e6b005d15b6 permission_handler: eac8e15b4a1a3fba55b761d19f3f4e6b005d15b6
qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e qr_code_scanner: bb67d64904c3b9658ada8c402e8b4d406d5d796e

@ -359,7 +359,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos; SUPPORTED_PLATFORMS = iphoneos;
@ -398,6 +398,7 @@
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
name = Profile; name = Profile;
@ -449,7 +450,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = YES; MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES; ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos; SDKROOT = iphoneos;
@ -498,7 +499,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0; IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MTL_ENABLE_DEBUG_INFO = NO; MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos; SDKROOT = iphoneos;
SUPPORTED_PLATFORMS = iphoneos; SUPPORTED_PLATFORMS = iphoneos;
@ -540,6 +541,7 @@
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
name = Debug; name = Debug;
@ -574,6 +576,7 @@
PROVISIONING_PROFILE_SPECIFIER = ""; PROVISIONING_PROFILE_SPECIFIER = "";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0; SWIFT_VERSION = 5.0;
TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic"; VERSIONING_SYSTEM = "apple-generic";
}; };
name = Release; name = Release;

@ -4,6 +4,30 @@
<dict> <dict>
<key>CFBundleDevelopmentRegion</key> <key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string> <string>$(DEVELOPMENT_LANGUAGE)</string>
<key>NSContactsUsageDescription</key>
<string>我们需要访问您的通讯录权限</string>
<key>NSCalendarsUsageDescription</key>
<string>我们需要访问日历权限</string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>我们需要访问您的照片,当您评价商品或编辑头像时,请同意</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>我们需要访问您的照片,当您评价商品或编辑头像时,请同意</string>
<key>NSCameraUsageDescription</key>
<string>我们需要访问您的相机,当您评价商品、编辑头像、发布录像或直播时,请同意</string>
<key>NSAppleMusicUsageDescription</key>
<string>我们需要音乐访问权限</string>
<key>NSMotionUsageDescription</key>
<string>我们需要访问健康权限</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>我们需要访问语音识别权限</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>我们需要访问定位权限,去更新天气信息,和一键报警</string>
<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
<string>我们需要访问定位权限,去更新天气信息,和一键报警</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>我们需要访问定位权限,去更新天气信息,和一键报警</string>
<key>CFBundleDisplayName</key>
<string>小蜜蜂智慧社区管家端</string>
<key>CFBundleExecutable</key> <key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string> <string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key> <key>CFBundleIdentifier</key>

@ -3,7 +3,7 @@ description: A new Flutter application.
publish_to: "none" publish_to: "none"
version: 1.0.3+4 version: 1.0.5+6
environment: environment:
sdk: ">=2.7.0 <3.0.0" sdk: ">=2.7.0 <3.0.0"

Loading…
Cancel
Save