Skip to content

Commit 778ec93

Browse files
committed
[4444] Update the tutorial to use the new environment
1 parent 2f08486 commit 778ec93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/com/example/chattutorial/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class MainActivity : ComponentActivity() {
3030
)
3131

3232
// 2 - Set up the client for API calls and with the plugin for offline storage
33-
val client = ChatClient.Builder("b67pax5b2wdq", applicationContext)
33+
val client = ChatClient.Builder("uun7ywwamhs9", applicationContext)
3434
.withPlugin(offlinePluginFactory)
3535
.logLevel(ChatLogLevel.ALL) // Set to NOTHING in prod
3636
.build()
@@ -43,7 +43,7 @@ class MainActivity : ComponentActivity() {
4343
)
4444
client.connectUser(
4545
user = user,
46-
token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.NhEr0hP9W9nwqV7ZkdShxvi02C5PR7SJE7Cs4y7kyqg"
46+
token = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.WwfBzU1GZr0brt_fXnqKdKhz3oj0rbDUm2DqJO_SS5U"
4747
).enqueue()
4848

4949
// 4 - Set up the Channels Screen UI

0 commit comments

Comments
 (0)