Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

原库部分接口在HarmonyOS中没有对应api #3

@rjh520

Description

@rjh520

Feature Request

在HarmonyOS ohos.notificationManager 没有提供对应的方法

Why it is needed

需要处理完善的推送消息功能

Possible implementation

harmony没有提供原库对应接口能力:
getScheduledLocalNotifications :获取待发送的通知
requestPermissions :动态申请alert、badge、sound、critical权限
abandonPermissions :放弃权限
getInitialNotification :该函数可以用来获取应用启动时由用户与通知交互触发的通知数据
checkPermissions :检查权限
getApplicationIconBadgeNumber:获取主屏幕上应用图标的标记编号
cancelLocalNotifications:取消本地通知
需要harmony底层提供相关接口

Code sample

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions