Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Data messages broken with the new Firebase update

$
0
0

I upgraded Firebase packages to 2.0.0 yesterday. There are some API changes that are currently not reflected to the documentation here.

As per the compiler errors and warnings, I replaced InstanceId.Notifications.ObserveTokenRefresh(this.OnTokenRefresh) with the new delegate method called DidRefreshRegistrationToken. There are no prblems with getting a Firebase token.

I also replaced Messaging.SharedInstance.Connect(this.OnConnected) with Messaging.SharedInstance.ShouldEstablishDirectChannel = true. And now data messages are broken, the app cannot receive any, ApplicationReceivedRemoteMessage is never called.

Can the Xamarin guys provide a documentation following such updates?


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>