Commit 6b12adb8 authored by d4vidi's avatar d4vidi Committed by GitHub

Merge pull request #15 from msom/patch-1

Add missing Android installation instructions
parents 5c8025be fc912479
...@@ -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