Hello Guys ... I am facing issue a with this module. I have everything in place and it is working when I built the debug apk of the app or when I build it in the android emulator or in a physical device and the token is generating fine ... but when I build a release apk the FCM_ token stops generating. I have tried everything and can't seem to find the issue ... What could be wrong here ?
This is my code to generate the FCM token in MyFirebseIIDService.cs:
public override void OnTokenRefresh()
{
NewToken = FirebaseInstanceId.Instance.Token;
Xamarin.Forms.Application.Current.Properties["SaveNewToken"] = NewToken;
Xamarin.Forms.Application.Current.SavePropertiesAsync();
// SendRegistrationToServer(NewToken);
}