diff --git a/README.md b/README.md index 5898411..bccda5f 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ See [the Android official documentation](https://developer.android.com/guide/com ``` ### Manual installation (Android only, React Native <= 0.59) -1. Open up `android/app/src/main/java/[...]/MainActivity.java` +1. Open up `android/app/src/main/java/[...]/MainApplication.java` - Add `import com.voximplant.foregroundservice.VIForegroundServicePackage;` to the imports at the top of the file - Add `new VIForegroundServicePackage()` to the list returned by the `getPackages()` method 2. Append the following lines to `android/settings.gradle`: @@ -154,4 +154,4 @@ NotificationConfig | title | Notification title | yes | | text | Notification text | yes | | icon | Icon name | yes | -| priority | Priority of this notification. One of: