Skip to content

Commit d881d2a

Browse files
docs: remove references to remote habits (#489)
1 parent c5e7203 commit d881d2a

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

docs/dev-notes/DEVELOPMENT.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -38,24 +38,6 @@ See [LINT](LINT.md) to learn more about linting in this project.
3838

3939
See file [GIT-WORKFLOW](GIT-WORKFLOW.md) to learn about the workflow that this project uses.
4040

41-
# Work on Remote Habits locally
42-
43-
We use the [Remote Habits](https://github.com/customerio/RemoteHabits-Android) Android app to test the SDK in a real-world environment.
44-
45-
When you install dependencies via grade in an Android app, gradle will look at various servers to download all of your dependencies. It would be a pain if every time that you made an edit to the SDK on your local machine, you would need to push the SDK code to a remote server so that gradle in Remote Habits could download it.
46-
47-
To make this easier, your local machine can act as a server that gradle looks for dependencies with. Open this SDK project in Android Studio. When you open it, you should see an Android Studio run configuration called `install local`. Run this configuration:
48-
49-
![showing what run icon looks like in android studio. you can also use menu item Run and then click Run](img/android_studio_run_run_configuration.jpg)
50-
51-
> Note: `install local` in Android Studio simply runs the command: `IS_DEVELOPMENT="true" ./gradlew publishToMavenLocal`. You can run that command from your command line if you wish to instead.
52-
53-
After this task runs successfully, if you look in the `~/.m2/repository/io/customer/android/` directory on your local machine, you will see some directories and files. The `~/.m2/` directory is a server that gradle can use on your computer to download dependencies from!
54-
55-
> Note: Every time that you make an edit to the SDK code, you need to run `install local` and then rebuild the Remote Habits app.
56-
57-
That is all you need to do on the SDK side. Next, view the [Remote Habits docs](https://github.com/customerio/RemoteHabits-Android/blob/main/docs/dev-notes/DEVELOPMENT.md#work-on-sdk-locally) for next steps on getting Remote Habits to install the SDK from your local machine's `~/.m2/` directory.
58-
5941
### Deployment
6042

6143
See file [GIT-WORKFLOW](GIT-WORKFLOW.md) to learn about how code is deployed in this project.

0 commit comments

Comments
 (0)