Firebase Emulator
Publish : Update :카테고리: Programming
태그: Firebase , Sticky Note
Firebase Emulator set environment
from sticky note
Installation
npm install firebase-functions@latest firebase-admin@latest --save
npm install -g firebase-tools
Configuration
firebase init
firebase init emulators
- init per emulator as below if emulator is not run properly
firebase init hosing firebase init database firebase init firestore firebase init functions
Execute
firebase emulators:start
Firebase Emulator withFlutter Conguration
Configuration
flutter pub add firebase_core
flutterfire configure
Implement in dart file
import ‘package:firebase_core/firebase_core.dart’; import ‘firebase_options.dart’;
Command
flutter pub add [packagename]
flutter docter # for checking
flutter build web | windows | apk
flutter upgrade