techaffinity / freshchat-phonegap

Freshchat sdk for phonegap
7 stars 36 forks source link

Cordova iOS platform generating NSException on initWithConfig method #13

Open alan-grixti opened 6 years ago

alan-grixti commented 6 years ago

I am running into an issue where the Freshchat phonegap plugin is crashing on the initWithConfig method, throwing an NSException with the message value cannot be null on iOS devices. It is not entirely reproducable, being a hit/miss scenario.

I noticed that the issue is most frequent whenever the plugin is added BEFORE the platform is added to the project. Our use case is that the we have a continuous integration environment and we cannot have a non-streamlined approach.

Any support on this matter please?