Firebase setup

Guide for settings up your Firebase account


In order to run the app successfully, you have to configure your Firebase account and configuration file.

In SwiftSail codebase, there's a file called GoogleService-Info.plist and it's provided by Firebase. You have to replace this file with your own file.

1. Create Firebase project

First step is to create your Firebase project. Navigate to Firebase Console to create a new project by clicking on Add project button. Follow the steps on the screen until you land on the Firebase Dashboard.

2. Create iOS app

When on Firebase Dashboard (Project Overview), click on the iOS button to add a new app. Here, you'll be asked to provide App Bundle ID, App nickname and AppStore ID.

You can ignore App nickname and AppStore ID for now since we don't have one yet.

Make sure to fill in your app bundle ID. In general, it should looks something like com.marospetrus.swiftsail. Replace marospetrus with your name and SwiftSail with your app name. Make sure it's the same bundle ID you used for your Xcode project.

3. Download the .plist file

After you create your iOS app, you'll be offered to download GoogleService-Info.plist file. Make sure to download it.

Replace the downloaded file with the one that is already in SwiftSail codebase.