Flutter Starter

Flutter Starter

  • Docs
  • Roadmap
  • Github
  • Hire The Creators

›Firebase Setup Guide

Introduction

  • Getting started
  • Motivation
  • Installation
  • Editor setup
  • Folder structure

Styleguide

  • Add image assets
  • Add fonts assets
  • Add splash screen
  • Add color constants
  • Add theme data

Build the app

  • Add routers
  • Add dependencies

API SDK

  • API SDK overview
  • API SDK REST
  • API SDK GraphQL

State management

  • Shared overview
  • Add models
  • Add resources
  • Add BLoC

Sample apps

  • HackerNews App
  • GithubRepo List App
  • Weather App
  • Bookstore App

Test

  • Add test files

Deployment

  • Deployment

Firebase Setup Guide

  • For Android
  • For iOS

For iOS

To Register your Flutter App to Firebase, you need to follow the following steps:

  1. Sign into Firebase using your Google account.
  2. Create a Firebase project by clicking on Add project in the Firebase console and then entering a Project Name(e.g. flutterstarter).
  3. To add an iOS app, click the icon to launch the setup workflow. Enter com.flutterstarter.app in the iOS bundle ID field.
  4. Click Register App to continue.
  5. Click Download GoogleService-Info.plist to obtain your Firebase iOS config file (GoogleService-Info.plist).
  6. Open XCode at ios/Runner/Runner.xcodeproj, move the file into the Runner/Runner directory of your Flutter app.

Note: It’s important that you don’t simply drag this into the folder without going through Xcode, as this will not work.

  1. Add Flutter plugins in pubspec.yaml file.
dependencies:
  flutter:
    sdk: flutter
  //Add plugins here
  cloud_firestore: ^0.12.9
  firebase_core: ^0.4.0+8
  1. Run flutter packages get and you are good to go.
← For Android
Docs
Getting StartedExamples
Community
TwitterDiscord
More
GitHubContribution Guidelines
Stars
Built with ❤️  at GeekyAnts.
Copyright © 2021 Flutter Starter