You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Service(Exported = false)]
[IntentFilter(new[] { "com.google.firebase.MESSAGING_EVENT" })]
public class MyFirebaseMessagingService : FirebaseMessagingService
{
public override void OnNewToken(string p0)
{
var deviceToken = p0;
}
}
This setup is working on Debug mode. But when I compile using Release mode, OnNewToken never gets called. Even if I uninstall & reinstall my application.
By searching the internet I found out I had to add my SHA-1 release certificate to my firebase console (which I did) and download the updated google-services.json.
But that doesn't solve my issue either. What am I missing?
The text was updated successfully, but these errors were encountered:
I'm using .net8.0-android for this.
This is my setup:
.cproj
AndroidManifest.xml
Service
This setup is working on Debug mode. But when I compile using Release mode, OnNewToken never gets called. Even if I uninstall & reinstall my application.
By searching the internet I found out I had to add my SHA-1 release certificate to my firebase console (which I did) and download the updated google-services.json.
But that doesn't solve my issue either. What am I missing?
The text was updated successfully, but these errors were encountered: