From e8dc13235bddcc0960cc44ba11ca8d7848ada22a Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 4 Aug 2016 15:29:18 -0400 Subject: [PATCH] Update README React Native 0.29.0 changed application configuration. MainActivity no longer supports getPackages method. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f1effe6..323fbd6 100644 --- a/README.md +++ b/README.md @@ -133,14 +133,15 @@ import com.facebook.react.shell.MainReactPackage; import io.neson.react.notification.NotificationPackage; // <- Add this line -public class MainActivity extends ReactActivity { +public class MainApplication extends Application implements ReactApplication { ... @Override protected List getPackages() { return Arrays.asList( - new NotificationPackage(this) // <- Add this line + ... + new NotificationPackage() // <- Add this line ); }