Skip to content

Commit

Permalink
NotificationPackage has no constructor parameter
Browse files Browse the repository at this point in the history
It leads to an error if i pass this (current activity) to the NotificationPackage constructor. Removing »this«, it works like a charme!
  • Loading branch information
reneviering authored Jul 19, 2016
1 parent 91b1126 commit 0beec93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public class MainActivity extends ReactActivity {
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new NotificationPackage(this) // <- Add this line
new NotificationPackage() // <- Add this line
);
}

Expand Down

0 comments on commit 0beec93

Please sign in to comment.