Enable Push Notifications

Use this code example to add support for push notifications to your app. Replace YOUR_SENDER_ID with the sender ID for your app. You can find the sender ID on the Project Settings page of the Firebase console.