From b5b5aeddcccf57b9c43be808740d479085c01043 Mon Sep 17 00:00:00 2001 From: Isaac Lem Date: Mon, 25 Feb 2019 11:31:48 +0800 Subject: [PATCH] Fix wrong file in README Steps 1 for Android should be in `MainApplication.java` instead of `MainActivity.java` --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +