diff --git a/README.md b/README.md index 5e2a4a3..ae57787 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,10 @@ #### Android -1. Open up `android/app/src/main/java/[...]/MainActivity.java` +1. Open up `android/app/src/main/java/[...]/MainApplication.java` - Add `import com.krazylabs.OpenAppSettingsPackage;` to the imports at the top of the file - Add `new OpenAppSettingsPackage()` to the list returned by the `getPackages()` method + - If the `getPackages()` method does not exist, you may have initialized your project with an older version of RN. If so, look in `MainActivity.java` instead. 2. Append the following lines to `android/settings.gradle`: ``` include ':react-native-app-settings' diff --git a/package.json b/package.json index ff0fee6..50c2b41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-app-settings", - "version": "2.0.0", + "version": "2.0.1", "description": "Cross-Platform React Native module exposing native application settings.", "main": "index.js", "scripts": {