diff --git a/README.md b/README.md index 0c81918342089c8abfc2abea36c1e8b44ac01d90..fca09752e711a5430eb14dcd83af59668518440c 100644 --- a/README.md +++ b/README.md @@ -90,6 +90,21 @@ dependencies { } ``` +Add the library to your `MainApplication.java`: + +```java +import com.wix.reactnativenotifications.RNNotificationsPackage; + +... + + @Override + protected List getPackages() { + return Arrays.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)