Skip to content

Commit 79e2fc5

Browse files
Update license url in files
1 parent a3a985f commit 79e2fc5

File tree

108 files changed

+135
-124
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+135
-124
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ Licensed under the Stream License;
123123
you may not use this file except in compliance with the License.
124124
You may obtain a copy of the License at
125125

126-
https://github.com/GetStream/stream-android-base/blob/main/LICENSE
126+
https://github.com/GetStream/stream-core-android/blob/main/LICENSE
127127

128128
Unless required by applicable law or agreed to in writing, software
129129
distributed under the License is distributed on an "AS IS" BASIS,

app/src/main/java/io/getstream/android/core/sample/SampleActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

app/src/main/java/io/getstream/android/core/sample/client/StreamClient.kt

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -54,26 +54,37 @@ fun createStreamClient(
5454
clientInfoHeader: StreamHttpClientInfoHeader,
5555
tokenProvider: StreamTokenProvider,
5656
): StreamClient {
57-
val logProvider = StreamLoggerProvider.Companion.defaultAndroidLogger(
58-
minLevel = StreamLogger.LogLevel.Verbose,
59-
honorAndroidIsLoggable = false,
60-
)
61-
val clientSubscriptionManager = StreamSubscriptionManager<StreamClientListener>(
62-
logger = logProvider.taggedLogger("SCClientSubscriptions"),
63-
maxStrongSubscriptions = 250,
64-
maxWeakSubscriptions = 250,
65-
)
57+
val logProvider =
58+
StreamLoggerProvider.Companion.defaultAndroidLogger(
59+
minLevel = StreamLogger.LogLevel.Verbose,
60+
honorAndroidIsLoggable = false,
61+
)
62+
val clientSubscriptionManager =
63+
StreamSubscriptionManager<StreamClientListener>(
64+
logger = logProvider.taggedLogger("SCClientSubscriptions"),
65+
maxStrongSubscriptions = 250,
66+
maxWeakSubscriptions = 250,
67+
)
6668
val singleFlight = StreamSingleFlightProcessor(scope)
6769
val tokenManager = StreamTokenManager(userId, tokenProvider, singleFlight)
68-
val serialQueue = StreamSerialProcessingQueue(
69-
logger = logProvider.taggedLogger("SCSerialProcessing"),
70-
scope = scope,
71-
)
70+
val serialQueue =
71+
StreamSerialProcessingQueue(
72+
logger = logProvider.taggedLogger("SCSerialProcessing"),
73+
scope = scope,
74+
)
7275
val retryProcessor = StreamRetryProcessor(logger = logProvider.taggedLogger("SCRetryProcessor"))
7376
val connectionIdHolder = StreamConnectionIdHolder()
74-
val socketFactory = StreamWebSocketFactory(logger = logProvider.taggedLogger("SCWebSocketFactory"))
75-
val healthMonitor = StreamHealthMonitor(logger = logProvider.taggedLogger("SCHealthMonitor"), scope = scope)
76-
val batcher = StreamBatcher<String>(scope = scope, batchSize = 10, initialDelayMs = 100L, maxDelayMs = 1_000L)
77+
val socketFactory =
78+
StreamWebSocketFactory(logger = logProvider.taggedLogger("SCWebSocketFactory"))
79+
val healthMonitor =
80+
StreamHealthMonitor(logger = logProvider.taggedLogger("SCHealthMonitor"), scope = scope)
81+
val batcher =
82+
StreamBatcher<String>(
83+
scope = scope,
84+
batchSize = 10,
85+
initialDelayMs = 100L,
86+
maxDelayMs = 1_000L,
87+
)
7788

7889
return StreamClient(
7990
scope = scope,

app/src/main/java/io/getstream/android/core/sample/ui/theme/Color.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

app/src/main/java/io/getstream/android/core/sample/ui/theme/Theme.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

app/src/main/java/io/getstream/android/core/sample/ui/theme/Type.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

app/src/test/java/io/getstream/android/core/ExampleUnitTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ subprojects {
3737
val licenseTemplate = file("../config/license/license.template")
3838
val generatedLicense = file("../config/license/generated/license-$currentYear.txt")
3939
val detektFile = file("../config/detekt/detekt.yml")
40-
val projectName = project.findProperty("projectName")?.toString() ?: "stream-android-base"
40+
val projectName = project.findProperty("projectName")?.toString() ?: "stream-core-android"
4141

4242
doLast {
4343
if (licenseTemplate.exists()) {

config/license/generated/license-2025.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

stream-android-core-annotations/src/main/java/io/getstream/android/core/annotations/StreamApiMarkers.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* you may not use this file except in compliance with the License.
66
* You may obtain a copy of the License at
77
*
8-
* https://github.com/GetStream/stream-android-base/blob/main/LICENSE
8+
* https://github.com/GetStream/stream-core-android/blob/main/LICENSE
99
*
1010
* Unless required by applicable law or agreed to in writing, software
1111
* distributed under the License is distributed on an "AS IS" BASIS,

0 commit comments

Comments
 (0)