Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-notifications
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
冷佳娟
react-native-notifications
Commits
6b12adb8
Commit
6b12adb8
authored
Nov 30, 2016
by
d4vidi
Committed by
GitHub
Nov 30, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15 from msom/patch-1
Add missing Android installation instructions
parents
5c8025be
fc912479
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
README.md
README.md
+16
-1
No files found.
README.md
View file @
6b12adb8
...
...
@@ -90,6 +90,21 @@ dependencies {
}
```
Add the library to your
`MainApplication.java`
:
```
java
import
com.wix.reactnativenotifications.RNNotificationsPackage
;
...
@Override
protected
List
<
ReactPackage
>
getPackages
()
{
return
Arrays
.<
ReactPackage
>
asList
(
new
MainReactPackage
(),
...
new
RNNotificationsPackage
(
MainApplication
.
this
),
```
### Receiving push notifications
> This section is only necessary in case you wish to **receive** push notifications in your React-Native app.
...
...
@@ -582,4 +597,4 @@ The [example app](https://github.com/wix/react-native-notifications/tree/master/
## License
The MIT License.
See
[
LICENSE
](
LICENSE
)
\ No newline at end of file
See
[
LICENSE
](
LICENSE
)
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