Giter Site home page Giter Site logo

vamidi / flutterfire_desktop Goto Github PK

View Code? Open in Web Editor NEW

This project forked from managry/flutterfire_desktop_2023_08

0.0 0.0 0.0 648 KB

A pure Dart implementation of Firebase with initial support aimed at FlutterFire for Linux & Windows.

License: Other

Ruby 0.51% C++ 16.49% C 1.34% Dart 70.92% Swift 0.39% CMake 10.35%

flutterfire_desktop's Introduction

FlutterFire Desktop

Chat on Discord

A work in progress pure Dart implementation of Firebase with initial support aimed at FlutterFire for Linux & Windows.

A FlutterFire dev preview release will be available soon making these packages available for Linux and Windows.

Learn more about the current progress of this project in our blog.

Usage

To use this plugin as FlutterFire's implementation for Desktop, add it to your app's pubspec.yaml along with the main plugin:

dependencies:
  firebase_auth: ^3.1.5
  firebase_auth_desktop: ^0.1.1-dev.0
  firebase_core: ^1.9.0
  firebase_core_desktop: ^0.1.1-dev.0

Firebase App Initialization

Unlike FlutterFire for mobile and web platforms, the initialization in Desktop is done from Dart, which means there are no additional config files required.

DEFAULT app

To initialize the default app, provide only options without a name.

await Firebase.initializeApp(
  options: const FirebaseOptions(
    apiKey: '...',
    appId: '...',
    messagingSenderId: '...',
    projectId: '...',
  )
);

Secondary app

await Firebase.initializeApp(
  name: 'SecondaryApp',
  options: const FirebaseOptions(
    apiKey: '...',
    appId: '...',
    messagingSenderId: '...',
    projectId: '...',
  )
);

Contributing

This is a community project, contributions to help it progress faster are welcome:

  1. Before starting, please read the contribution guide of FlutterFire.
  2. Refer to the projects board to see the current progress & planned future work.

flutterfire_desktop's People

Contributors

pr-mais avatar salakar avatar nilsreichardt avatar timwhiting avatar ehesp avatar karelklic avatar britannio avatar ruicraveiro avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.