hello, I'm new and I have a question regarding the botpress implementation on flutter for mobile apps. I not sure if this channel is the right place to post it, but I ask my question anyway. if this is not the right place, i will delete this a post it elsewhere.
here is my problem. I created a chatbot on botpress and intergraded it on a website. it works as intended. but now i wanted to intergrade it to a mobile app. I have been using flutter to build the app and i was wonder if i can intergrade my chatbot to it. I look over the API documentations and tried it, but it keep giving me errors. I searched online for any resources to help me but found none. now I'm not even sure if botpress is able to be intergrade it flutter or am i doing wrong?
additional information.
here is the bit of code I used. I try to create a conversation. I did try yo create a user first but it have issues, so I think i might as will start with creating a conversation. did i did something wrong here?
final apiUrl = 'https://api.botpress.cloud/v1/chat/conversations';
final response = await http.post(
Uri.parse(apiUrl),
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer personal_access_token_here',
},
body: jsonEncode({
'channel': 'Mobile App',
'tags': {},
'integrationName' : "test-1",
}),
);
print('result : ${response.body}');
if (response.statusCode == 200) {
// If successful, navigate to the ChatScreen