FireBase消息传递尚未解决

时间:2017-01-18 11:14:46

标签: firebase-cloud-messaging

我无法在xamarin表单中安装Xamarin.Firebase.Messaging version 42.1001.0-beta2

Unable to find a version of 'Xamarin.GooglePlayServices.Basement' that is compatible with 'Xamarin.Firebase.Common 42.1001.0-beta2
constraint: Xamarin.GooglePlayServices.Basement (= 42.1001.0-beta2)', 'Xamarin.Firebase.Iid 42.1001.0-beta2
constraint: Xamarin.GooglePlayServices.Basement (= 42.1001.0-beta2)', 'Xamarin.Firebase.Messaging 42.1001.0-beta2
constraint: Xamarin.GooglePlayServices.Basement (= 42.1001.0-beta2)', 'Xamarin.GooglePlayServices.Base 29.0.0.2-beta1
constraint: Xamarin.GooglePlayServices.Basement (= 29.0.0.2-beta1)', 'Xamarin.GooglePlayServices.Gcm 29.0.0.2-beta1
constraint: Xamarin.GooglePlayServices.Basement (= 29.0.0.2-beta1)', 'Xamarin.GooglePlayServices.Iid 42.1001.0-beta2
constraint: Xamarin.GooglePlayServices.Basement (= 42.1001.0-beta2)', 'Xamarin.GooglePlayServices.Measurement 29.0.0.2-beta1
constraint: Xamarin.GooglePlayServices.Basement (= 29.0.0.2-beta1)', 'Xamarin.GooglePlayServices.Tasks 42.1001.0-beta2
constraint: Xamarin.GooglePlayServices.Basement (= 42.1001.0-beta2)'.

我也尝试过github Firebase样本,但它需要1个月的时间才能解决。还有一个请求xamarin论坛,也没有人无法为Firebase消息提供解决方案。

1 个答案:

答案 0 :(得分:0)

我有这个问题。它最终与安装Xamarin.GooglePlayServices.Gcm有关。我的问题,看起来可能是你的问题,就是你将42. *与29. 混合在一起。我开始卸载所有Google Play服务库并安装42。版本。