evollu / evollu/react-native-fcm
How to schedule a notification on the specific hour in everyday?
Open
- 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.