Skip to content

Commit c967cdc

Browse files
authored
Update README.md (#264)
* Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md
1 parent 1fe36be commit c967cdc

File tree

8 files changed

+81
-25
lines changed

8 files changed

+81
-25
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ Pluto is distributed through [***mavenCentral***](https://central.sonatype.com/a
2222
```groovy
2323
dependencies {
2424
....
25-
debugImplementation 'com.plutolib:pluto:2.1.3'
26-
releaseImplementation 'com.plutolib:pluto-no-op:2.1.3'
25+
debugImplementation 'com.plutolib:pluto:2.1.6'
26+
releaseImplementation 'com.plutolib:pluto-no-op:2.1.6'
2727
....
2828
}
2929
```
@@ -47,8 +47,8 @@ Plugin bundle comes with all the basic plugins bundled together as single depend
4747
```groovy
4848
dependencies {
4949
....
50-
debugImplementation 'com.plutolib.plugins:bundle-core:2.1.3'
51-
releaseImplementation 'com.plutolib.plugins:bundle-core-no-op:2.1.3'
50+
debugImplementation 'com.plutolib.plugins:bundle-core:2.1.6'
51+
releaseImplementation 'com.plutolib.plugins:bundle-core-no-op:2.1.6'
5252
....
5353
}
5454
```

pluto-plugins/plugins/datastore/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Datastore Preferences is distributed through [***mavenCentral***](https://
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:datastore-pref:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:datastore-pref-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:datastore-pref:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:datastore-pref-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,7 +18,7 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoDatastorePreferencesPlugin("datastore"))
21+
.addPlugin(PlutoDatastorePreferencesPlugin())
2222
.install()
2323
```
2424
<br>
@@ -38,3 +38,12 @@ PlutoDatastoreWatcher.watch(PREF_NAME, appPreferences)
3838
🎉 &nbsp;You are all done!
3939

4040
Now re-build and run your app and open Pluto, you will see the Datastore Preferences plugin installed.
41+
42+
<br>
43+
44+
### Open Plugin view programmatically
45+
To open Datastore plugin screen via code, use this
46+
```kotlin
47+
Pluto.open(PlutoDatastorePreferencesPlugin.ID)
48+
```
49+

pluto-plugins/plugins/exceptions/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Exceptions is distributed through [***mavenCentral***](https://central.son
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:exceptions:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:exceptions-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:exceptions:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:exceptions-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,7 +18,7 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoExceptionsPlugin("exceptions"))
21+
.addPlugin(PlutoExceptionsPlugin())
2222
.install()
2323
```
2424
<br>
@@ -48,3 +48,11 @@ PlutoExceptions.mainThreadResponseThreshold = 10_000
4848
🎉 &nbsp;You are all done!
4949

5050
Now re-build and run your app and open Pluto, you will see the Exceptions plugin installed.
51+
52+
<br>
53+
54+
### Open Plugin view programmatically
55+
To open Exceptions plugin screen via code, use this
56+
```kotlin
57+
Pluto.open(PlutoExceptionsPlugin.ID)
58+
```

pluto-plugins/plugins/layout-inspector/README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Layout Inspector is distributed through [***mavenCentral***](https://centr
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:layout-inspector:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:layout-inspector-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:layout-inspector:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:layout-inspector-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,11 +18,20 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoLayoutInspectorPlugin("layout-inspector"))
21+
.addPlugin(PlutoLayoutInspectorPlugin())
2222
.install()
2323
```
2424
<br>
2525

2626
🎉 &nbsp;You are all done!
2727

2828
Now re-build and run your app and open Pluto, you will see the Layout Inspector plugin installed.
29+
30+
<br>
31+
32+
33+
### Open Plugin view programmatically
34+
To open Layout Inspector plugin screen via code, use this
35+
```kotlin
36+
Pluto.open(PlutoLayoutInspectorPlugin.ID)
37+
```

pluto-plugins/plugins/logger/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Logger is distributed through [***mavenCentral***](https://central.sonatyp
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:logger:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:logger-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:logger:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:logger-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,7 +18,7 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoLoggerPlugin("logger"))
21+
.addPlugin(PlutoLoggerPlugin())
2222
.install()
2323
```
2424
<br>
@@ -59,3 +59,11 @@ E/onFailure(NetworkManager.kt:17) | error_log: api call falied with http_status
5959
🎉 &nbsp;You are all done!
6060

6161
Now re-build and run your app and open Pluto, you will see the Logger plugin installed.
62+
63+
<br>
64+
65+
### Open Plugin view programmatically
66+
To open Logger plugin screen via code, use this
67+
```kotlin
68+
Pluto.open(PlutoLoggerPlugin.ID)
69+
```

pluto-plugins/plugins/network/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Network is distributed through [***mavenCentral***](https://central.sonaty
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:network:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:network-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:network:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:network-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,7 +18,7 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoNetworkPlugin("network"))
21+
.addPlugin(PlutoNetworkPlugin())
2222
.install()
2323
```
2424
<br>
@@ -39,6 +39,12 @@ Now re-build and run your app and open Pluto, you will see the Network plugin in
3939

4040
<br>
4141

42+
### Open Plugin view programmatically
43+
To open Network plugin screen via code, use this
44+
```kotlin
45+
Pluto.open(PlutoNetworkPlugin.ID)
46+
```
47+
<br>
4248

4349
### Log Custom Network traces
4450
PlutoInterceptor works with OkHttp based interceptors, but to allow non-OkHttp based interceptors to track network calls Pluto provides utility to log network calls manually.

pluto-plugins/plugins/rooms-database/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Rooms Database is distributed through [***mavenCentral***](https://central
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:rooms-db:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:rooms-db-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:rooms-db:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:rooms-db-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,7 +18,7 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoRoomsDatabasePlugin("rooms-db"))
21+
.addPlugin(PlutoRoomsDatabasePlugin())
2222
.install()
2323
```
2424
<br>
@@ -35,3 +35,11 @@ PlutoRoomsDBWatcher.watch(DB_NAME, SampleDatabase::class.java)
3535
🎉 &nbsp;You are all done!
3636

3737
Now re-build and run your app and open Pluto, you will see the Rooms Database plugin installed.
38+
39+
<br>
40+
41+
### Open Plugin view programmatically
42+
To open Rooms Database plugin screen via code, use this
43+
```kotlin
44+
Pluto.open(PlutoRoomsDatabasePlugin.ID)
45+
```

pluto-plugins/plugins/shared-preferences/README.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Pluto Shared Preferences is distributed through [***mavenCentral***](https://cen
77
> Note: add the `no-op` variant to isolate the plugin from release builds.
88
```groovy
99
dependencies {
10-
debugImplementation 'com.plutolib.plugins:preferences:2.1.2'
11-
releaseImplementation 'com.plutolib.plugins:preferences-no-op:2.1.2'
10+
debugImplementation 'com.plutolib.plugins:preferences:2.1.6'
11+
releaseImplementation 'com.plutolib.plugins:preferences-no-op:2.1.6'
1212
}
1313
```
1414
<br>
@@ -18,11 +18,19 @@ dependencies {
1818
Now to start using the plugin, add it to Pluto
1919
```kotlin
2020
Pluto.Installer(this)
21-
.addPlugin(PlutoSharePreferencesPlugin("sharedPref"))
21+
.addPlugin(PlutoSharePreferencesPlugin())
2222
.install()
2323
```
2424
<br>
2525

2626
🎉 &nbsp;You are all done!
2727

2828
Now re-build and run your app and open Pluto, you will see the Shared Preferences plugin installed.
29+
30+
<br>
31+
32+
### Open Plugin view programmatically
33+
To open Shared Preferences screen via code, use this
34+
```kotlin
35+
Pluto.open(PlutoSharePreferencesPlugin.ID)
36+
```

0 commit comments

Comments
 (0)