I have configured a notification hub in Azure to send messages to Apple and Android devices.
When sending test messages in the portal or VS.NET, the Apple messages go through with no problem, while the Android messages return an error message:
The Token obtained from the Token from token provider is wrong.
I double checked the API key to make sure that the one configured in the Azure notification hub is the correct server key from the Firebase Console under the Cloud Messaging tab.
I see the target device is registered using the server explorer. Not sure what could be wrong. I deleted the Firebase app and recreated it, but it did not help.
Not sure where to look next. Thanks.