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.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?