Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down