diff --git a/android/app/build.gradle b/android/app/build.gradle
index a647b79..cf8449c 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -136,6 +136,7 @@ android {
}
dependencies {
+ compile project(':react-native-system-notification')
compile project(':react-native-share-menu')
compile project(':react-native-vector-icons')
compile project(':react-native-share')
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index 02e3cd3..3f52b12 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -6,7 +6,8 @@
-
+
+
@@ -32,6 +33,13 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/main/java/com/cadelwatson/momentum/MainApplication.java b/android/app/src/main/java/com/cadelwatson/momentum/MainApplication.java
index 0ead122..47d5aa7 100644
--- a/android/app/src/main/java/com/cadelwatson/momentum/MainApplication.java
+++ b/android/app/src/main/java/com/cadelwatson/momentum/MainApplication.java
@@ -4,6 +4,7 @@
import android.util.Log;
import com.facebook.react.ReactApplication;
+import io.neson.react.notification.NotificationPackage;
import com.meedan.ShareMenuPackage;
import com.oblador.vectoricons.VectorIconsPackage;
import cl.json.RNSharePackage;
@@ -30,6 +31,7 @@ protected boolean getUseDeveloperSupport() {
protected List getPackages() {
return Arrays.asList(
new MainReactPackage(),
+ new NotificationPackage(),
new ShareMenuPackage(),
new VectorIconsPackage(),
new RNSharePackage()
diff --git a/android/settings.gradle b/android/settings.gradle
index 936fda8..9054ae7 100644
--- a/android/settings.gradle
+++ b/android/settings.gradle
@@ -1,4 +1,6 @@
rootProject.name = 'Tasks'
+include ':react-native-system-notification'
+project(':react-native-system-notification').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-system-notification/android')
include ':react-native-share-menu'
project(':react-native-share-menu').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-share-menu/android')
include ':react-native-vector-icons'
diff --git a/package.json b/package.json
index 15be4c6..d00eade 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"react-native-scrollable-tab-view": "^0.7.0",
"react-native-share": "^1.0.17",
"react-native-share-menu": "^1.3.0",
+ "react-native-system-notification": "^0.2.1",
"react-native-vector-icons": "^4.0.0"
},
"devDependencies": {
diff --git a/yarn.lock b/yarn.lock
index 952362b..60b1863 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -2954,6 +2954,10 @@ react-native-side-menu@^0.20.1:
version "0.20.1"
resolved "https://registry.yarnpkg.com/react-native-side-menu/-/react-native-side-menu-0.20.1.tgz#df21b4bb9d8a1aa3bae53d74ddf8a739eb59bfc5"
+react-native-system-notification@^0.2.1:
+ version "0.2.1"
+ resolved "https://registry.yarnpkg.com/react-native-system-notification/-/react-native-system-notification-0.2.1.tgz#ef3276858ff310f5891076eccd8214db78853465"
+
react-native-tab-navigator@^0.3.3:
version "0.3.3"
resolved "https://registry.yarnpkg.com/react-native-tab-navigator/-/react-native-tab-navigator-0.3.3.tgz#b222bad21fbe773c8d28f9a0de30ce62b08724d3"