Files
react-native-notifications/docs
Bilal Abdeen f5dcb84364 package wix.reactnativenotifications does not exist (#463)
Issue #461 

I got the following error message. 
package com.wix.reactnativenotifications does not exist

I fixed it by making the following changes. 

1. Added the following line to Project/app/build.gradle
implementation project(':react-native-notifications')

2. Changed the following lines in MainApplication.java 
-    protected List<ReactPackage> getPackages() {
-       return Arrays.<ReactPackage>asList(
-            new MainReactPackage(),
-	        // ...
-	        // Add this line:
-	        new RNNotificationsPackage(MainApplication.this)


+    protected List<ReactPackage> getPackages() {
+      @SuppressWarnings("UnnecessaryLocalVariable")
+      List<ReactPackage> packages = new PackageList(this).getPackages();
+       // ...
+       // Add this line:
+       packages.add(new RNNotificationsPackage(MainApplication.this)); 
+      return packages;
+   }
2020-01-29 13:55:53 +02:00
..
2020-01-16 14:36:33 +02:00
2020-01-15 17:13:07 +02:00
2020-01-17 21:29:40 +02:00
2020-01-17 15:33:02 +02:00
2020-01-15 17:13:07 +02:00
2020-01-15 17:13:07 +02:00
2020-01-15 17:13:07 +02:00
2020-01-17 15:33:02 +02:00
2020-01-17 21:29:40 +02:00
2020-01-16 14:36:33 +02:00