Skip to content
This repository was archived by the owner on Sep 4, 2024. It is now read-only.

Commit 8c6f429

Browse files
committed
chore: updated rq-interceptor version in weatherapp
1 parent 1e86b50 commit 8c6f429

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

WeatherApp/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,8 @@ dependencies {
166166
testImplementation Dependencies.coreTesting
167167
testImplementation Dependencies.robolectric
168168

169-
debugImplementation "io.requestly.rqinterceptor:library:1.1.1"
170-
releaseImplementation "io.requestly.rqinterceptor:library-no-op:1.1.1"
169+
debugImplementation "io.requestly.rqinterceptor:library:1.1.5"
170+
releaseImplementation "io.requestly.rqinterceptor:library-no-op:1.1.5"
171171
}
172172

173173
ktlint {

WeatherApp/app/src/main/java/com/faskn/app/weatherapp/core/Constants.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ object Constants {
88

99
object NetworkService {
1010
const val BASE_URL = "http://api.openweathermap.org/data/2.5/"
11-
const val API_KEY_VALUE = "751d80f6c314139192ffcb62c107e654"
11+
const val API_KEY_VALUE = "8319bbd92e9e18600992ee72d65a4237"
1212
const val RATE_LIMITER_TYPE = "data"
1313
const val API_KEY_QUERY = "appid"
1414
}

WeatherApp/app/src/main/java/com/faskn/app/weatherapp/di/NetworkModule.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ object NetworkModule {
3838
fun provideOkHttpClientBuilder(@ApplicationContext context: Context): OkHttpClient.Builder {
3939
val collector = RQCollector(
4040
context = context,
41-
sdkKey = "==> YOUR API KEY <=== ",
41+
sdkKey = "bk9fvxFXM5HNwaMc6gkZ",
4242
)
4343
val rqInterceptor = RQInterceptor.Builder(context)
4444
.collector(collector)
4545
.build()
4646
return OkHttpClient.Builder()
47-
.addInterceptor(rqInterceptor)
4847
.addNetworkInterceptor(StethoInterceptor())
4948
.addInterceptor(DefaultRequestInterceptor())
49+
.addInterceptor(rqInterceptor)
5050
.readTimeout(1, TimeUnit.MINUTES)
5151
.writeTimeout(1, TimeUnit.MINUTES)
5252
}

WeatherApp/buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ object Versions {
1515

1616
const val lifecycleViewModelKtxVersion = "2.4.0-alpha02"
1717
const val lifecycleVersion = "2.2.0"
18-
const val roomVersion = "2.3.0"
18+
const val roomVersion = "2.4.0-alpha04"
1919
const val navigationVersion = "2.4.0-alpha04"
2020

2121
const val rxJavaVersion = "2.2.21"

0 commit comments

Comments
 (0)