I managed to solve it by reusing the migration, however, one thing I don't understand is why firebase messaging works normally on Android, including my project login panel, however, on iOS the login panel does not appear and when I click on log in , nothing happens. If I remove firebase, everything works again on both devices.