testing changes, remove them when pushed
Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
@@ -13,13 +13,13 @@ import 'routes/routes.dart';
|
|||||||
const kStreamApiKey = 'STREAM_API_KEY';
|
const kStreamApiKey = 'STREAM_API_KEY';
|
||||||
const kStreamUserId = 'STREAM_USER_ID';
|
const kStreamUserId = 'STREAM_USER_ID';
|
||||||
const kStreamToken = 'STREAM_TOKEN';
|
const kStreamToken = 'STREAM_TOKEN';
|
||||||
const kDefaultStreamApiKey = 'uj7qrdbfrzvg';
|
const kDefaultStreamApiKey = 'hg4yvnb2g6pu';
|
||||||
|
|
||||||
class ChooseUserPage extends StatelessWidget {
|
class ChooseUserPage extends StatelessWidget {
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
final users = <String, User>{
|
final users = <String, User>{
|
||||||
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidmlzaGFsIn0.lCz-idDgaZ-xszjnuB_hTfeIOhTFmJtTB2fEjhwrcCI':
|
'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2lkIjoidmlzaGFsIn0.va4qzf2KTQctOJfqdtzcdETAMKgazshuJnYJCPmmaKY':
|
||||||
User(
|
User(
|
||||||
id: 'vishal',
|
id: 'vishal',
|
||||||
extraData: {
|
extraData: {
|
||||||
|
|||||||
@@ -24,6 +24,7 @@ void main() async {
|
|||||||
|
|
||||||
final client = Client(
|
final client = Client(
|
||||||
apiKey ?? kDefaultStreamApiKey,
|
apiKey ?? kDefaultStreamApiKey,
|
||||||
|
baseURL: 'https://chat-proxy-oregon.stream-io-api.com',
|
||||||
logLevel: Level.INFO,
|
logLevel: Level.INFO,
|
||||||
showLocalNotification:
|
showLocalNotification:
|
||||||
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
|
(!kIsWeb && Platform.isAndroid) ? showLocalNotification : null,
|
||||||
@@ -477,7 +478,7 @@ class _ChannelPageState extends State<ChannelPage> {
|
|||||||
),
|
),
|
||||||
MessageInput(
|
MessageInput(
|
||||||
focusNode: _focusNode,
|
focusNode: _focusNode,
|
||||||
replyMessage: _replyMessage,
|
replyToMessage: _replyMessage,
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user