i don't know if this is actively maintained (hopefully so!). But I've found a bug. The plugin crashes with iOS/WKWebView if updateUserProperties is called from the 'resume' action.
Though other functions such as updateUser work fine.
Looking at the code inside FreshchatPlugin.m for updateUserProperties, I suspect the problem is because it doesn't use runInBackground on the Freshchat sharedInstance - but rather calls it directly, and iOS gets rather upset about this!
Hi hi,
i don't know if this is actively maintained (hopefully so!). But I've found a bug. The plugin crashes with iOS/WKWebView if updateUserProperties is called from the 'resume' action.
The trace is like this:
Though other functions such as updateUser work fine.
Looking at the code inside FreshchatPlugin.m for updateUserProperties, I suspect the problem is because it doesn't use runInBackground on the Freshchat sharedInstance - but rather calls it directly, and iOS gets rather upset about this!
Is there any chance of getting a fix for this?
Thanks
joe