Closed sudheerrepala closed 6 years ago
Can you share me error log to identify this issue.
Hi There is no error at all. Find below the code i'm using
var userinfo='{"firstName" : "'+$rootScope.profilefname+'", "lastName" : "'+ $rootScope.profilelname+'", "email" : "'+ $rootScope.profileemail+'", "countryCode" : "91", "phoneNumber" : "'+$rootScope.profilemobile+'"}'; console.log(userinfo);
window.Freshchat.updateUser(userinfo);
The console prints the correct JSON, also note that the same code works in Android without any issues. Also please let me know how we can load the previous conversation of the user...
Hi Did you get a chance to look in to this?
Hi, turns out the phoneNumber should be a String in ios... also i have forked the repo and made a little change in the ios file...
same problem with me did you find solution ?
IOS App Silently crashes when we use window.Freshchat.updateUser or updateUserProperties.