jpush / jpush/jpush-react-native

文档出错

Open
#752 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
1.4k
Forks
348
PR merge metrics
No merged PRs in 30d

Description

你的运行环境

MAC OS

  • react-native 版本:0.61.5
  • jcore-react-native 版本: ^1.5.0
  • jpush-react-native 版本: ^2.6.6

期望效果

clearLocalNotifications正常执行

实际效果

IMG_0206

重现步骤

没什么重现步骤,只要调用clearLocalNotifications就会报错。
请看你们提供的文档:
图片
再看看源码:
图片
一个有参数,一个没参数,使用就会报错。没想到贵司竟然会犯如此低级的错误,我是否可以理解为写完文档根本没有校对?

Debug logs

包括 Android 或 iOS 的日志:

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by checking the clearLocalNotifications entry in the documentation and the referenced common_problems.md file, then compare its signature with the source shown in the issue. Update the documentation so the call matches the implementation, and verify that the example no longer passes an unsupported argument.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native
Domain
documentation, mobile-dev
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.