techaffinity / freshchat-phonegap

Freshchat sdk for phonegap
7 stars 36 forks source link

Cant compile to phone gap after install of plugin #26

Closed knikolou closed 5 years ago

knikolou commented 6 years ago

Dear i am getting this error when compile after freshchat install my instalation is a) b)document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { window.Freshchat.init({ appId : "xxxxxxxxxxxxxxxxxxxxx", appKey : "xxxxxxxxxxxxxxxxxxxx", });

and the error

BUILD FAILED

Total time: 2.351 secs

FAILURE: Build failed with an exception.

FAILURE: Build failed with an exception.

techaffinity commented 6 years ago

Hi Knikolou

This conflict is due to com.google.android.gms:play-services-gcm version with other plugins or it may due to your android version environment.

We recommend to install the plugin locally.

Please download the plugin and change the required version of com.google.android.gms:play-services-gcm in path ‘/src/android/Freshchat/build.gradle

Example : compile 'com.google.android.gms:play-services-gcm:____’

Refer : https://developers.google.com/android/guides/setup

And install the plugin using command:

cordova plugin add “../local_pathtoPluginFolder/”

Kindly let us know if you have any query.

Thanks.

techaffinity commented 5 years ago

We are not getting any feedback and we are closing this issue.