Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-fcm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
ym
react-native-fcm
Commits
2ce31597
Commit
2ce31597
authored
Aug 27, 2017
by
Libin Lu
Committed by
GitHub
Aug 27, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #508 from RafaelFS/master
Adds some missing parameters on types
parents
85d574eb
8a502133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
2 deletions
+18
-2
index.d.ts
index.d.ts
+18
-2
No files found.
index.d.ts
View file @
2ce31597
...
...
@@ -34,24 +34,40 @@ declare module "react-native-fcm" {
body
:
string
;
icon
:
string
;
};
local_notification
?:
boolean
;
_notificationType
:
string
;
finish
(
type
?:
string
):
void
;
}
export
interface
LocalNotification
{
id
?:
string
;
title
?:
string
;
body
:
string
;
icon
?:
string
;
vibrate
?:
number
;
sound
?:
string
;
big_text
?:
string
;
sub_text
?:
string
;
color
?:
string
;
large_icon
?:
string
;
priority
?:
string
priority
?:
string
;
show_in_foreground
?:
boolean
;
click_action
?:
string
;
badge
?:
number
;
number
?:
number
;
ticker
?:
string
;
auto_cancel
?:
boolean
;
tag
?:
string
;
group
?:
string
;
picture
?:
string
;
my_custom_data
?:
string
;
lights
?:
boolean
}
export
interface
ScheduleLocalNotification
extends
LocalNotification
{
id
:
string
;
fire_date
:
number
fire_date
:
number
;
repeat_interval
?:
"
week
"
|
"
day
"
|
"
hour
"
}
export
interface
Subscription
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment