@@ -21,7 +21,8 @@ Requestly Android SDK lets you debug your android apps without needing you to se
2121- [ Features] ( #features )
2222 - [ API Debugger] ( #api-debugger )
2323 - [ Analytics Event Debugger] ( #analytics-event-debugger )
24- - [ Logs Debugger] ( #logs-debugger-coming-soon )
24+ - [ Logs Debugger] ( #logs-debugger )
25+ - [ Host Switcher] ( #host-switcher )
2526- [ Acknowledgments] ( #acknowledgments )
2627
2728## Installation
@@ -31,10 +32,10 @@ RQInterceptor is distributed through [Maven Central](https://search.maven.org/se
3132
3233```
3334dependencies {
34- debugImplementation "io.requestly:requestly-android:2.4.0 "
35- releaseImplementation "io.requestly:requestly-android-noop:2.4.0 "
36- debugImplementation "io.requestly:requestly-android-okhttp:2.4.0 "
37- releaseImplementation "io.requestly:requestly-android-okhttp-noop:2.4.0 "
35+ debugImplementation "io.requestly:requestly-android:2.4.2 "
36+ releaseImplementation "io.requestly:requestly-android-noop:2.4.2 "
37+ debugImplementation "io.requestly:requestly-android-okhttp:2.4.2 "
38+ releaseImplementation "io.requestly:requestly-android-okhttp-noop:2.4.2 "
3839}
3940```
4041
@@ -47,12 +48,12 @@ class App : Application(){
4748 super.onCreate()
4849
4950 // Initialize Requestly SDK like this
50- Requestly.Builder(this, "<your-sdk-key>")
51+ Requestly.Builder(this, [optional "<your-sdk-key>"] )
5152 .build()
5253 }
5354}
5455```
55-
56+ > ` sdk-key ` is optional. You can use local devtool features without sdk-key. < br />
5657 To get the sdk key, you need to create an app. Follow the steps [ here] ( https://docs.requestly.io/android/tutorial/create-app ) to create an app.
5758
5859## API Debugger Initialization
@@ -97,11 +98,16 @@ RequestlyEvent.send(<eventName: String>, <eventData:Map<String, Any>>)
9798
9899<img width =" 400 " alt =" Events Debugger " src =" ./assets/events-debugger.png " >
99100
100- ### Logs Debugger (Coming Soon)
101+ ### Logs Debugger
101102Debug your Logs directly from your App. No need to connect your device to your computer to know what's happening inside your app.
102103
103104<img width =" 400 " alt =" Logs Debugger " src =" ./assets/logs-debugger.png " >
104105
106+ ### Host Switcher
107+ Switch between production and staging APIs easily in your Android debug builds. Eg. api.requestly.io → staging.requestly.io
108+
109+ <img width =" 400 " alt =" Logs Debugger " src =" ./assets/host-switcher.jpeg " >
110+
105111## Acknowledgments
106112Special Thanks to chuckerteam for maintaining such an awesome project because of which rq-interceptor was possible
107113https://github.com/chuckerteam/chucker
0 commit comments