-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS crashes when invoking KommunicateFlutterPlugin.buildConversation #90
Comments
@mbtodorov Thanks for reporting the issue. Let me check it. If I need more details , Will reach out to you. |
Hello @mbtodorov, could you please share the data you're passing in the 'build conversation' function? We're attempting to replicate the scenario that led to the crash. |
Yes, certainly! class LiveChat {
const LiveChat();
/// Checks whether the user is currently logged in.
Future<bool> get _isLoggedIn async =>
await KommunicateFlutterPlugin.isLoggedIn() == true;
Future<void> launchConversation({
required String botId,
required String userId,
required String displayName,
String? contactNumber,
required String email,
Map<String, dynamic>? metadata,
}) async {
if (!await _isLoggedIn) {
final user = <String, dynamic>{
'appId': kLiveChatAppId,
'userId': email,
'displayName': displayName,
'contactNumber': contactNumber,
'email': email,
'metadata': metadata,
};
await KommunicateFlutterPlugin.login(user);
}
final conversationSettings = {
'appId': kLiveChatAppId,
'isSingleConversation': false,
'conversationAssignee': botId,
};
await KommunicateFlutterPlugin.buildConversation(conversationSettings);
}
} |
Thank you @mbtodorov for providing the details. Could you please specify if this issue is occurring on a particular iOS version or device, such as iPhone SE or iPhone 14? |
Yes please share those crash videos, they will be very helpful. |
@AbhijeetRanjan308 could I email the recordings to you privately? We also have a slack channel with kommunicate and our company (stint), where I can share this |
Absolutely! Please feel free to send the email to [email protected] |
Hi @mbtodorov, just following up – did you send the videos via email or Slack? |
Apologies, this slipped my mind yesterday. I have now sent an email to [email protected] which references this issue and includes an attached recording. Let me know if I can help in any other way! |
Hi @mbtodorov , we wanted to follow up on the release version 1.7.3 as we previously updated you via email about the changes. Has this issue been resolved for you? |
Hello. Yes, I can confirm that we updated the kommunicate plugin and the crash was fixed. Happy to close this! |
Thank you @mbtodorov for the update. We are glad to hear that the issue has been resolved. |
Hello 👋
We are using the kommunicate SDK. We've been having issues with crashes in our iOS production application for a while. Its impacted 110 sessions for the past 14 days in our app. We noticed that the release notes in the latest version of the SDK,
1.7.0
, included a 'fixed crashes' items. We assumed this might address the crashes we are having.However, even after upgrading to your latest version, the crashes still persist
I appreciate I haven't given any useful information around reproducing the issue. This is because we cant consistently reproduce it, there seem to be no clear steps. Let me know if I can provide any other helpful logs or other information. Any updates around this would be much appreciated!
Here is the entry for
kommunicate_sdk
frompubspec.lock
:Here are all kommunicate-related entries from
Podfile.lock
:The text was updated successfully, but these errors were encountered: