I was following this tutorial to implement notifications through FCM. At their Register for remote notifications section there is a code snippet:
Project.iOS/AppDeleg