File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
1
# react-native-custom-timer-notification
2
2
3
3
custom timer notification for react native 🔔
4
+ ![ ezgif com-gif-maker] ( https://user-images.githubusercontent.com/58332892/166133982-effe321c-a0fd-4315-bb29-cc7ee29d0bd4.gif )
5
+
4
6
5
7
## Installation
6
8
7
9
``` sh
8
10
npm install react-native-custom-timer-notification
9
11
```
10
12
11
- <!-- <service android:name="com.reactnativecustomtimernotification.ForegroundService"/> -->
12
13
AndroidManifest
13
14
``` xml
14
15
@@ -21,14 +22,14 @@ AndroidManifest
21
22
<service android : name =" com.reactnativecustomtimernotification.ForegroundService" />
22
23
```
23
24
## Usage
24
- ``` payload ``` sent will be received when click or canceled
25
- ``` title ``` Title of the notification
26
- ``` body ``` Body of the notification
27
- ``` id ``` unique number
28
- ``` sec ``` Time in seconds
25
+ ``` payload ``` sent will be received when click or canceled < br >
26
+ ``` title ``` Title of the notification < br >
27
+ ``` body ``` Body of the notification < br >
28
+ ``` id ``` unique number < br >
29
+ ``` sec ``` Time in seconds < br >
29
30
30
31
``` js
31
- import { multiply } from " react-native-custom-timer-notification" ;
32
+ import { TimerNotification } from " react-native-custom-timer-notification" ;
32
33
33
34
// ...
34
35
// onclick and cancel listner
You can’t perform that action at this time.
0 commit comments