Commit 733d52373de4108565de8431a1557228dd950631

Authored by 权海
1 parent 423c2556

feat(ui):修改pigeon api中间层

(cherry picked from commit ffa69d85)

# Conflicts:
#	lib/core/platform/pigeon_api_facade.dart
#	ohos/entry/src/main/ets/pigeon/HealthKitApi.ets
#	pubspec.lock
Showing 1 changed file with 0 additions and 2 deletions
import 'package:pigeon/pigeon.dart';
class HealthAuthorization {
/// -1: AppleHealth不可用, 0: 需要请求授权, 1: 已被授权且能获取到部分数据, 2: 已被拒绝或者没有数据
final int status;
... ... @@ -27,7 +26,6 @@ class HealthAuthorization {
)
@HostApi()
abstract class HealthKitHostApi {
/// Opens Huawei Health client authorization UI. Returns whether user granted.
@async
HealthAuthorization checkHealthAppAuthorization();
... ...