Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
youennPennarun committed Jul 22, 2016
1 parent 19696d5 commit 05d0f60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,19 +53,19 @@ Consult the React Native documentation on how to [install React Native using Coc
}
```
3. Register module (in MainActivity.java)
3. Register module (in MainApplication.java)
```
import com.github.yamill.orientation.OrientationPackage; // <--- import
public class MainActivity extends ReactActivity {
public class MainApplication extends Application implements ReactApplication {
......
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new OrientationPackage(this) <------- Add this
new OrientationPackage() <------- Add this
);
}
Expand Down

0 comments on commit 05d0f60

Please sign in to comment.