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 ); }