I use Firebase as a backend. I also use FCM as one of the provided features from Firebase. FCM worked well in iOS 10, but after switching to iOS 11, push notifications stopp
I read this topic and added this code application.registerForRemoteNotifications() to the AppDelegate method didFinishLaunchingWithOptions and it worked, but unfortunately current users will not receive notifications until they are updated to the new version. Please see https://github.com/firebase/quickstart-ios/issues/327#issuecomment-331782299