Create a Firebase Project¶
To enable features like authentication, analytics, or remote config in your app, you’ll need to create a Firebase project and link both your Android and iOS apps to it.
Steps to get started¶
-
Go to the Firebase Console
Visit https://console.firebase.google.com and sign in with your Google account. -
Create a new project
Click “Add project” and follow the steps. Make sure to enable Google Analytics.
Add your Android app¶
- In your new Firebase project, click “Add app” and choose the Android icon.
- Enter your app’s package name (e.g.
com.example.myapp
) — this must match your actual Android package. - Download the
google-services.json
file and place it in: This will replace the placeholder file already in that location.
Add your iOS app¶
- Still in the Firebase Console, click “Add app” and choose the iOS icon.
- Enter your iOS app’s bundle ID (e.g.
com.example.myapp
) — this must match exactly. - Download the
GoogleService-Info.plist
file and place it in: This will replace the placeholder file already included in the project.
Need help?¶
You can refer to the official guide for detailed steps:
👉 Firebase: Add Firebase to your project
Firebase project created successfully
You have successfully created a Firebase project and linked both your Android and iOS apps. You can start using Firebase services in your shared code.