File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
samplejava/src/main/java/com/example/chattutorial
samplekotlin/src/main/java/com/example/chattutorial Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
4444 );
4545
4646 // Step 2 - Set up the client for API calls with the plugin for offline storage
47- ChatClient client = new ChatClient .Builder ("b67pax5b2wdq " , getApplicationContext ())
47+ ChatClient client = new ChatClient .Builder ("uun7ywwamhs9 " , getApplicationContext ())
4848 .withPlugin (streamOfflinePluginFactory )
4949 .logLevel (ChatLogLevel .ALL ) // Set to NOTHING in prod
5050 .build ();
@@ -57,7 +57,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
5757
5858 client .connectUser (
5959 user ,
60- "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.NhEr0hP9W9nwqV7ZkdShxvi02C5PR7SJE7Cs4y7kyqg "
60+ "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.WwfBzU1GZr0brt_fXnqKdKhz3oj0rbDUm2DqJO_SS5U "
6161 ).enqueue ();
6262
6363 // Step 4 - Set the channel list filter and order
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class MainActivity : AppCompatActivity() {
3838 )
3939
4040 // Step 2 - Set up the client for API calls with the plugin for offline storage
41- val client = ChatClient .Builder (" b67pax5b2wdq " , applicationContext)
41+ val client = ChatClient .Builder (" uun7ywwamhs9 " , applicationContext)
4242 .withPlugin(offlinePluginFactory)
4343 .logLevel(ChatLogLevel .ALL ) // Set to NOTHING in prod
4444 .build()
@@ -51,7 +51,7 @@ class MainActivity : AppCompatActivity() {
5151 )
5252 client.connectUser(
5353 user = user,
54- token = " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.NhEr0hP9W9nwqV7ZkdShxvi02C5PR7SJE7Cs4y7kyqg "
54+ token = " eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidHV0b3JpYWwtZHJvaWQifQ.WwfBzU1GZr0brt_fXnqKdKhz3oj0rbDUm2DqJO_SS5U "
5555 ).enqueue()
5656
5757 // Step 4 - Set the channel list filter and order
You can’t perform that action at this time.
0 commit comments