info.plist文件已经添加了权限配置
配置如下
<key>NSBluetoothPeripheralUsageDescription</key>
<string>App需要您的同意,才能访问蓝牙</string>
<key>NSCalendarsUsageDescription</key>
<string>App需要您的同意,才能访问日历</string>
<key>NSCameraUsageDescription</key>
<string>App需要您的同意,才能访问相机</string>
<key>NSHealthShareUsageDescription</key>
<string>App需要您的同意,才能访问健康分享</string>
<key>NSHealthUpdateUsageDescription</key>
<string>App需要您的同意,才能访问健康更新</string>
<key>NSLocationAlwaysUsageDescription</key>
<string>App需要您的同意,才能始终访问位置</string>
<key>NSLocationUsageDescription</key>
<string>App需要您的同意,才能访问位置</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>App需要您的同意,才能在使用期间访问位置</string>
<key>NSMicrophoneUsageDescription</key>
<string>App需要您的同意,才能访问麦克风</string>
<key>NSMotionUsageDescription</key>
<string>App需要您的同意,才能访问运动与健身</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>App需要您的同意,才能访问相册</string>
<key>NSRemindersUsageDescription</key>
<string>App需要您的同意,才能访问提醒事项</string>
经过测试 通知、位置可以弹出打开权限的设置
使用hb调试也可以正常调用
离线打包调用 5+方法 :
plus.barcode.Barcode
plus.gallery.pick
会导致程序崩溃闪退
之前没更新sdk的时候是可以的
测试机: iphone 5s iphone 7
系统 : ios12.1
9***@qq.com
哥,你说一下怎么解决的?坑在哪里?
2019-01-05 15:09
3***@qq.com (作者)
替换对应的bundle,文档没写全。下载的SDK中有
2019-01-07 17:40