Using intercom_flutter: ^5.0.0, this came as a crash report from a user so I'm unable to reproduce and confirm if it's happening in the latest version of the plugin, but it does reference line 129 in IntercomFlutterPlugin.m as the problem spot.
One hint, I know the app was calling sendTokenToIntercom and in this particular instance the app was unable to get a token from FCM, so it would be calling this with an empty string token. I think the plugin should also safely handle empty string tokens (as it does for null values).
Using
intercom_flutter: ^5.0.0
, this came as a crash report from a user so I'm unable to reproduce and confirm if it's happening in the latest version of the plugin, but it does reference line 129 inIntercomFlutterPlugin.m
as the problem spot.One hint, I know the app was calling
sendTokenToIntercom
and in this particular instance the app was unable to get a token from FCM, so it would be calling this with an empty string token. I think the plugin should also safely handle empty string tokens (as it does for null values).