Commit fc912479 authored by Marc Sommerhalder's avatar Marc Sommerhalder Committed by GitHub

Update README.md

parent 5c8025be
...@@ -90,6 +90,21 @@ dependencies { ...@@ -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 ### Receiving push notifications
> This section is only necessary in case you wish to **receive** push notifications in your React-Native app. > This section is only necessary in case you wish to **receive** push notifications in your React-Native app.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment