diff --git a/README.md b/README.md index c76c123706295f9090968d3f3d7fd105f28d3aa8..b734359796c552aaaa0dc7c04401c4276e6b8296 100644 --- a/README.md +++ b/README.md @@ -75,14 +75,14 @@ And the following methods to support registration and receiving notifications: Add a reference to the library's native code in your global `settings.gradle`: -``` +```gradle include ':reactnativenotifications' project(':reactnativenotifications').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-notifications/android') ``` Declare the library as a dependency in your **app-project's** `build.gradle`: -``` +```gradle dependencies { // ... @@ -106,7 +106,7 @@ Alternatively, follow [Google's complete guide](https://developers.google.com/cl Once obtained, bundle the Sender ID onto your main `manifest.xml` file: -``` +```gradle ... @@ -119,15 +119,6 @@ Once obtained, bundle the Sender ID onto your main `manifest.xml` file: ``` -#### Step #3: Add / verify GCM dependency in `build.gradle`: - -``` -dependencies { - // If you haven't already done so, add Google's GCM module: - compile "com.google.android.gms:play-services-gcm:9+" -} -``` - --- @@ -444,7 +435,9 @@ componentWillUnmount() { --- -## Interactive / Actionable Notifications (iOS only) +## Interactive / Actionable Notifications + +> This section provides description for iOS. For notifications customization on Android, refer to [our wiki](https://github.com/wix/react-native-notifications/wiki/Android-Customizations#customizing-notifications-layout). Interactive notifications allow you to reply to a message right from the notification banner or take action right from the lock screen.