From 1beab4a66cfa0b60421c5d80c02da58b0129e8b2 Mon Sep 17 00:00:00 2001 From: Michael Lefkowitz <1746853+lfkwtz@users.noreply.github.com> Date: Tue, 6 Feb 2018 18:33:53 -0600 Subject: [PATCH 1/2] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' From 289bc03394da9d5a7a837d77fd038e7d0fba4077 Mon Sep 17 00:00:00 2001 From: Michael Lefkowitz <1746853+lfkwtz@users.noreply.github.com> Date: Tue, 6 Feb 2018 18:38:30 -0600 Subject: [PATCH 2/2] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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": {