diff --git a/README.md b/README.md index 7b5dcbc..baed764 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Library is working on IOS and Android. #### Android -1. Open up `android/app/src/main/java/[...]/MainActivity.java` +1. Open up `android/app/src/main/java/[...]/MainApplication.java` - Add `import com.reactlibrary.RNRootViewBackgroundPackage;` to the imports at the top of the file - Add `new RNRootViewBackgroundPackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: @@ -62,4 +62,4 @@ export default class Main extends Component { } } ``` - \ No newline at end of file +