Skip to content

Commit ce3f5a9

Browse files
authored
change ManActivity to MainApplication
hi, you have to import native package in `MainApplication` instead of `MainActivity`
1 parent 741113f commit ce3f5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
#### Android
3030

31-
1. Open up `android/app/src/main/java/[...]/MainActivity.java`
31+
1. Open up `android/app/src/main/java/[...]/MainApplication.java`
3232
- Add `import com.proyecto26.inappbrowser.RNInAppBrowserPackage;` to the imports at the top of the file
3333
- Add `new RNInAppBrowserPackage()` to the list returned by the `getPackages()` method
3434
2. Append the following lines to `android/settings.gradle`:

0 commit comments

Comments
 (0)