Skip to content

Commit d861681

Browse files
authored
Merge pull request #118 from saulshanabrook/patch-2
Update Android instructions for RN 0.29
2 parents 01f0c17 + b8f7f73 commit d861681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ in your react-native project, run `npm install react-native-webview-bridge`
3939

4040
### Android (Beta)
4141

42-
1. add the following import to `MainActivity.java` of your application
42+
1. add the following import to `MainApplication.java` (`MainActivity.java` if RN < 0.29) of your application
4343

4444
```java
4545
import com.github.alinz.reactnativewebviewbridge.WebViewBridgePackage;
4646
```
4747

48-
2. add the following code to add the package to `MainActivity.java`
48+
2. add the following code to add the package to `MainApplication.java`` (`MainActivity.java` if RN < 0.29)
4949

5050
```java
5151
protected List<ReactPackage> getPackages() {

0 commit comments

Comments
 (0)