jpush / jpush/jpush-react-native

sendLocalNotification本地固定周期重复推送,比如每天

Open
#569 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

你的运行环境

  • 插件版本: 2.3.0
  • react-native 版本:0.57.4

期望效果

我希望本地推送可以带有重复字段repeatInterval,比如我想每天固定时间推送。

实际效果

但是在sendLocalNotification方法中未看到相关的字段。

重现步骤

我在查看iOS代码的时候发现是有repeat字段可以控制的,但我不明白这个重复的周期和效果
image

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 tracing the sendLocalNotification API and the iOS implementation referenced in the issue, then compare how the existing repeat field behaves with the requested repeatInterval option. The work is complete when a fixed recurring local notification, such as a daily notification, is supported with clear behavior across the relevant platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, react-native
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.