提交 5dc9c1d2 编写于 作者: DCloud_iOS_WZT's avatar DCloud_iOS_WZT

新增 get-app-authorize-setting示例 部分权限新增iOS平台条件编译

上级 c4927577
...@@ -123,11 +123,14 @@ ...@@ -123,11 +123,14 @@
this.locationAccuracy = res.locationAccuracy ?? "unsupported"; this.locationAccuracy = res.locationAccuracy ?? "unsupported";
this.microphoneAuthorized = res.microphoneAuthorized; this.microphoneAuthorized = res.microphoneAuthorized;
this.notificationAuthorized = res.notificationAuthorized; this.notificationAuthorized = res.notificationAuthorized;
// #ifdef APP-IOS
this.notificationAlertAuthorized = res.notificationAlertAuthorized; this.notificationAlertAuthorized = res.notificationAlertAuthorized;
this.notificationBadgeAuthorized = res.notificationBadgeAuthorized; this.notificationBadgeAuthorized = res.notificationBadgeAuthorized;
this.notificationSoundAuthorized = res.notificationSoundAuthorized; this.notificationSoundAuthorized = res.notificationSoundAuthorized;
this.bluetoothAuthorized = res.bluetoothAuthorized; this.bluetoothAuthorized = res.bluetoothAuthorized;
this.albumAuthorized = res.albumAuthorized; this.albumAuthorized = res.albumAuthorized;
// #endif
} }
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册