evollu / evollu/react-native-fcm

How to schedule a notification on the specific hour in everyday?

Open
#685 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.7k
Forks
661
PR merge metrics
No merged PRs in 30d

Description

I want to show a notify on 10 am everyday here is my code but it's dosen't work. The notiy show up right after i open the app
```javascript
import FCM from "react-native-fcm";

FCM.scheduleLocalNotification({
id: 'testnotif',
fire_date: new Date().setHour(10),
title: 'Hello',
body: 'Test Scheduled Notification',
});

export default class Main extends Component {
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.