Closed mbtodorov closed 11 months ago
@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?
Sure, let me share the analytics we have around this error from the production app:
This is the OS version distribution:
It seems the error is hapenning on a lot of iOS versions, so I dont assume its some specific to an iOS version
And here is the device distribution, again it seems that its not tied to a single device:
device architecture distribtuion:
If it will help, I am happy to also provide some recordings from user bug reports, which show the app crashing
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 support@kommunicate.io
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 support@stint.co 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
: