KingAmo

Results 69 comments of KingAmo

> app第一次安装的时候,系统会询问用户是否允许app推送通知。我的需求就是要获取到用户是点了允许还是拒绝 @wicked-tc130 你误解了我的意思,我需求是:我要拿到一个`boolean`值,判断用户`是否`允许了app推送通知,也就是`是否`打开了通知权限。这个功能在重构前版本中是有的:即:`hasPermission `这个`api`

之前代码`iOS`端的实现: ``` RCT_EXPORT_METHOD(hasPermission:(RCTResponseSenderBlock)callback) { float systemVersion = [[UIDevice currentDevice].systemVersion floatValue]; if (systemVersion >= 8.0) { UIUserNotificationSettings *settings = [[UIApplication sharedApplication] currentUserNotificationSettings]; UIUserNotificationType type = settings.types; if (type == UIUserNotificationTypeNone) {...

@wicked-tc130 这是属于业务逻辑,但是这个业务逻辑与推送相关,不懂原生的`RN`开发者是依赖于封装好的库,我认为添加回这个`api` 有利于构建更好的`RN`的生态。RN里开发者可选择的消息推送的库不多,还是烦请您再考虑一下。

took me a long time to be here, hope it could be documented soon

@lesliesam 能不能merge这个PR呢。。。谢谢

能不能加个props修改分隔线的颜色呢?作者不维护这个项目了吗? @lesliesam

+1 i don't have the skill to help, but i also need this feature

the same here @Simek ![image](https://user-images.githubusercontent.com/29938227/189043799-e8b4a265-bc1c-4e6a-8447-66d98fc4d2ed.png)

@zhigang1992 I have tried everything, and my colleagues also meet this error