Firebase iOS Integration
Firebase iOS Integration
In this document, we are going to add firebase to iOS app. Well, we will also answer these questions in this document.
- Why should I use Firebase? (opt. reading)
- How to integrate Firebase to iOS Project or React Native?
You can also access Android Integration story.
Why should I use Firebase?
Firebase is a huge platform for mobile development and web development which has
- Authentication
- Analytics
- Crashlytics
- Cloud Messaging
- Automate Testing
- Database
- Auto Deployment
- Hosting
- Storage
with these features, you can gather all your needs on one platform. Thanks to Firebase, you can reach users and produce faster and more flexible solutions to their needs.
How to integrate Firebase to iOS Project or React Native?
With this integration, you can access all iOS app statistics with one dashboard. You can see these features below.
- Active Users
- Number of users
- Users in last 30 minutes
- Daily user engagement
- Location
- User Demographics
Let’s start to integrate Firebase to iOS app.
First of all, go to firebase console. And follow the steps below.
1. In your Firebase Dashboard click the iOS Icon on Banner.
2. Complete the inputs and click the Register App button.
3. Download config file which name is GoogleService-Info.plist.
4. Add your GoogleService-Info.plist file under yourApp > ios > yourAppName folder.
5. Add Firebase SDK to your app.
- Go to yourApp > ios > Podfile file.
- Next step of adding SDK. In your terminal cd ios && pod install.
6. Add initialization code.
- In your appDelegate.m file add Firebase.
7. Run your app. Wait for verification.
8. Run your app. After complete the verification click to Continue to Console button.
9. Your app added to Firebase successfully!
Happy Coding with Firebase ❤
Please follow for more medium story in the next story, we will integrate Firebase Authentication to Application. And we will add more stories about all Firebase features.