Skip to content

Commit d05ff7a

Browse files
committed
1.0.0
1 parent 50db60c commit d05ff7a

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

README.md

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,25 +90,22 @@
9090
4. Open up `android/app/src/main/[...]/AndroidManifest.xml`
9191
- Add `<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>`
9292
93-
9493
5. Open up `[project_name]/node_modules/react-native-oracle-mobile-cloud/android/`
9594
- Unzip IDMMobileSDK.zip
9695
- Copy IDMMobileSDK folder to `[project_name]/android/`
9796
- Delete IDMMobileSDK folder from `[project_name]/node_modules/react-native-oracle-mobile-cloud/android/`
98-
- Append `, ':IDMMobileSDK'` line to `android/settings.gradle`:
99-
97+
- Insert the following lines to `android/settings.gradle`:
10098
```
101-
include ':react-native-oracle-mobile-cloud', ':IDMMobileSDK'
102-
```
103-
- Append `compile project(':IDMMobileSDK')` line in `android/app/build.gradle`:
104-
99+
include ':IDMMobileSDK'
105100
```
101+
- Insert the following lines inside the dependencies block in `android/app/build.gradle`:
102+
```
106103
dependencies {
107-
compile project(':react-native-oracle-mobile-cloud')
104+
...
108105
compile project(':IDMMobileSDK')
109106
...
110107
}
111-
```
108+
```
112109
113110
6. In `android/app/src/main/ (at the same level as the java and res folders)` create a folder name assets if not exist.
114111
Move to assets folder and create a file name oracle_mobile_cloud_config.xml

0 commit comments

Comments
 (0)