Skip to main content

Manual Installation


This page is archived and might not reflect the latest version of the FlutterFire plugins. You can find the latest information on


Manual installation is not the recommended installation flow. These guides are for existing applications using FlutterFire.

In previous versions of FlutterFire, in order to add Firebase to your projects manual platform specific steps were required, such as downloading a google-services.json file for Android, downloading a GoogleService-Info.plist file for iOS or editing your index.html file for web.

FlutterFire now supports initialization from Dart using the FlutterFire CLI.

The new Dart-only initialization is fully backwards compatible with previous versions of FlutterFire - if you have an existing project with manual initialization, this will continue to work.

Platform setup#

If you wish to continue to manually install Firebase on your platforms, please read the following guides:

  1. Android Installation
  2. iOS Installation
  3. MacOS Installation
  4. Web Installation

Migrating to Dart-only initialization#

If you wish to migrate to the Dart-only initialization flow, some steps are required for your existing applications.


Please backup / branch your code before migrating.


  1. Remove the /android/app/google-services.json file.
  2. Remove the google-services dependency from the /android/build.gradle file:
buildscript {
dependencies {
// ... other dependencies
- classpath ''
  1. Remove the plugin execution via the /android/app/build.gradle file:
- apply plugin: ''


Using Xcode, open the project's ios/Runner.xcworkspace file, then delete the GoogleService-Info.plist file located in the file browser.


Using Xcode, open the project's macos/Runner.xcworkspace file, then delete the GoogleService-Info.plist file located in the file browser.


  1. Remove any Firebase SDK scripts from your web/index.html file, for example:
- <script src=""></script>
- <script src=""></script>
<script src="main.dart.js" type="application/javascript"></script>
  1. Remove any firebase.initializeApp() logic and configuration from the web/index.html file:
- var firebaseConfig = { ... };
- firebase.initializeApp(firebaseConfig);

Overriding Firebase SDK Versions#

FlutterFire internally sets the versions of the Firebase SDKs that each module uses. Each release is tested against a fixed set of SDK version to ensure everything works as expected.

If you wish to change these versions, you can manually override the native SDK versions


In the /android/app/build.gradle file, you can provide your own versions using the options shown below:

rootProject.ext {
set('FlutterFire', [
FirebaseSDKVersion: '29.3.1'


Open your /ios/Podfile or /macos/Podfile file and add any of the globals below to the top of the file:

# Override Firebase SDK Version
$FirebaseSDKVersion = '8.15.0'