Before proceeding ahead, please make sure you have Completed setting up the Android App first, as it makes up most of the tasks required for this project.
Open the project folder in VS Code, In the terminal, run following command:
flutter clean flutter pub get cd ios pod install pod update repo (run only if the above commands throws any error related to pods)
Drag & Drop the ios folder in Xcode & then perform the below steps:
- Add ios app to firebase. & download the GoogleServices-Info.plist inside: assets/ios_assets/
- Open Xcode, right click on runner > Add files to runner, then select the GoogleServices-Info.plist present in the path assets/ios_assets/GoogleServices-Info.plist and click Add.
- Check if all the app name, package name, version is correct in the General Section & Make sure your bundle name is showing correct in Info section in the Xcode.
- Go to Signing & Capabilities, select or add the team & bundle identifier. Also make sure, background fetch & Remote notification is ticked in the Background Modes & Push notification is also enabled.
Please make sure you have already completed the Push Notification Setup.