diff --git a/example/lib/choose_user_page.dart b/example/lib/choose_user_page.dart index a64013b9..22582be9 100644 --- a/example/lib/choose_user_page.dart +++ b/example/lib/choose_user_page.dart @@ -13,13 +13,13 @@ import 'routes/routes.dart'; const kStreamApiKey = 'STREAM_API_KEY'; const kStreamUserId = 'STREAM_USER_ID'; const kStreamToken = 'STREAM_TOKEN'; -const kDefaultStreamApiKey = 'uj7qrdbfrzvg'; +const kDefaultStreamApiKey = 'hg4yvnb2g6pu'; class ChooseUserPage extends StatelessWidget { @override Widget build(BuildContext context) { final users = { - 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidmlzaGFsIn0.lCz-idDgaZ-xszjnuB_hTfeIOhTFmJtTB2fEjhwrcCI': + 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidmlzaGFsIn0.va4qzf2KTQctOJfqdtzcdETAMKgazshuJnYJCPmmaKY': User( id: 'vishal', extraData: { diff --git a/example/lib/main.dart b/example/lib/main.dart index 0fec35e3..7ef4a7d7 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -24,6 +24,7 @@ void main() async { final client = Client( apiKey ?? kDefaultStreamApiKey, + baseURL: 'https://chat-proxy-oregon.stream-io-api.com', logLevel: Level.INFO, showLocalNotification: (!kIsWeb && Platform.isAndroid) ? showLocalNotification : null, @@ -477,7 +478,7 @@ class _ChannelPageState extends State { ), MessageInput( focusNode: _focusNode, - replyMessage: _replyMessage, + replyToMessage: _replyMessage, ), ], ),