techaffinity / freshchat-phonegap

Freshchat sdk for phonegap
7 stars 36 forks source link

Unsupported version of Picasso found #45

Open developerjohan01 opened 4 years ago

developerjohan01 commented 4 years ago

We are having an Ionic app and we now are getting

Freshchat: exception while perfroming action:init
    java.lang.IllegalArgumentException: Unsupported version of Picasso found. Please create and set custom Image loader using Freshchat.setImageLoader().

This is linked to this issue https://github.com/freshdesk/freshchat-android/issues/52

Freshchat SDK is shipped with Picasso version 2.5.2. This error is thrown if your application is using 2.71828

There is a workaround as mentioned in the error message which is described here.

Please create and set custom Image loader using Freshchat.setImageLoader().

But this workaround would possibly require changing the generated code which is not great when you are using CI. Alternatively forking and changing both this plugin and the android-freshchat library...

How do you get around this issue using freshchat-phonegap? Is it possible to work around it?