Skip to content

Commit 3c3de90

Browse files
authored
Update README.md
1 parent 81319ed commit 3c3de90

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,13 @@ allprojects {
4747
Add the following dependency to your module's build.gradle:
4848
```groovy
4949
dependencies {
50-
implementation 'com.github.zerobranch:android-remote-debugger:1.0.1'
50+
debugImplementation 'com.github.zerobranch.android-remote-debugger:debugger:1.1.0'
51+
releaseImplementation 'com.github.zerobranch.android-remote-debugger:noop:1.1.0'
5152
}
5253
```
54+
**Note:** The final line above will use a no-op version, which does nothing.
55+
It should only be used in production build.
56+
This makes it impossible to run the server on a production build.
5357

5458
## How to use ?
5559
Android Remote Debugger has 4 sections:
@@ -61,7 +65,7 @@ Android Remote Debugger has 4 sections:
6165

6266
For the `Logging`, `Database` and `Shared Preferences` sections to work, several steps are necessary:
6367

64-
1. Call: `AndroidRemoteDebugger.init(applicationContext)` in the application code.
68+
1. Call: **`AndroidRemoteDebugger.init(applicationContext)`** in the application code.
6569

6670
2. After launching your application, you will receive a notification in the notification panel, in which a link of the type: http://xxx.xxx.x.xxx:8080 will be indicated. Just follow this link in your browser. Also, an entry will be added to logcat: `D/AndroidRemoteDebugger: Android Remote Debugger is started. Go to: http://xxx.xxx.x.xxx:8080`
6771

0 commit comments

Comments
 (0)