You must set this up first to get push notifications from the app. We are using Firebase for the push notification service. Let’s explore how you can set this up.
- Firstly, you need to create a new Firebase project from your Firebase console.
- Click on “Add app.”
- Select Flutter
- Follow the steps… You only need to do what it says in the 2nd step.
- After you are done, Click “Continue to Console”. You will see the error in the project go away.
Once the error goes away, the Firebase setup is completed…