How to Implement Firebase Remote Config with Swift 5
Control your iOS app’s behavior remotely
Published in
3 min readJul 27, 2019
Firebase Remote Config allows you to control your app’s state without adding any additional code and republishing your app on the App Store. For example, you could control a certain label’s text property using just the Firebase Console, and this is exactly what we will be doing in this tutorial. Let’s start:
- Create a new blank Xcode project
- Go to https://console.firebase.com
- Add a new project
- Set any name, accept the terms and press Create Project
- Open your brand new Firebase project
- Tap on iOS button
- In iOS bundle ID: copy Bundle Identifier from your Xcode project
- Press Register app
- Download GoogleService-Info.plist file and paste it into your Xcode project’s root folder. Make sure that the name of the download file is exactly GoogleService-Info.plist
- Open Terminal and navigate to your project’s root directory. For example, I have the project on the Desktop: cd desktop/testapp
- Run pod init
- Open the generated Podfile: open Podfile -a Xcode
- Add the following…