Firebase events not firing as expected

Hello everyone! I integrated the management of notifications via FireBase following the capacitor guide for ios https://capacitor.ionicframework.com/docs/guides/push-notifications-firebase. The PushNotifications.addListener registration event (‘registration’,
(token: PushNotificationToken) => {}) fires only when I launch the app for the first time, I get the token correctly. However, I expect this method to be called even when the app goes from inactive to active as it was for cordova using the phonegap-plugin-push plugin. I also noticed that if the user does not give permission for notifications, the token is no longer registered and you enter a dead end. Am I wrong? Thanks in advance to who will reply