#What's new Firebase 1.3M monthly active app
##Build Better app
-
Firebase Admin
- Node , Go , Python , Java , .NET
-
Cloud firestore
- Sorting & More condition to Filtering
- Limitation Concurrent 1 M connection
- Multi tab offline support for Web (Enable Persistence )
- Auto complete in Security rules
- Authentication
- PasswordLess Sign in (Verify key is sent to email)
- Cloud function
- Multi region
- stable 2.0
- Node 8 Runtime
- Timeout memory
- Callable function => trigger to URL by using this function
- Typescript
- Unit Testing
- New monitoring tools in Cloud functions
- FCM(Firebase Cloud Messaging ) reporting Dashboard
- Migrate Cloud Cloud Messaging to Firebase Cloud Messaging
- ML kit fore Firebase
- Text recognition , Image labelling , Barcode scanning , Face detection , Landmark recognition
- Coming soon: Face contour Smart reply's API
- Firebase Hosting
- Firebase CLI => 4.2
- Deploy only files different from previous deployment
- Boot in upload speed
- Support Multiple Sites
- Firebase Crashlytics
- 3+ Billion Devices WorldWide
- Compose Google Analytic and Firebase Crashlytics
- Tracing ( Page by Page , Who get crash)
- Integrate with Jira software ( Automatically create the issue, Manually create the issue, Filtering the issue by Device and OS )
- Exporting data to BigQuery
- Firebase Test Lab
- Support IOS
- Plugin Fastlane (Automatically Testing then Deploy IOS app)
- Firebase performance monitoring
- Importance issues (Report critical issue , check the code which use more memory , Network latency )
- Deep dive data(Region , Networking)
- Firebase remote config
- Change History (Check who change the values in Service, AB testing)
- Google Analytic for Firebase
- Project Level Reporting (Filtering OS , User Property)
- Firebase In-App Messaging
- Run when app is active only
- Custom Message (Image, Icon , Web URL, background color, Button)
- No need coding
- Can Integrate with Firebase prediction( predicting user behavior in 100 days)
- steps:
- style and content
- target
- scheduling
- Conversation event(Trigger Google analytic for firebase)
- Can Custom modal
- Impression , Click and Conversation
Open source Firebase android SDK
Easier using
-
Google lens - Recognization Image what is it - Text recognization - Smart reply such as Gmail
-
On device Machine Learning - Save internet cost. - use offline
-
Application & SDK - Tensorflow Lite - Neural network API on device ( C , C++)
-
Image Classification - steps:
- Get image
- transform
- interpret
- get result It's hard to use. On Fire!!!
-
Intro ML kit - FIRVisionImage | VisionImage
-
Text recognization - on Device which Support only Latin letter - on Cloud support al of most language
-
Image labelling - on device support 400+ labels - on cloud support 10,000+ labels
-
Face detection - Only on-device
-
Landmark recognization - Only on-cloud
10 Barcode scanning - on-device
- Tensorflow lite - Custom model
-
What's Flutter - it is created by Dart lang - is a mobile app SDK building high-performance
-
What's Dart - Dart is AOT compile to fast. predictable , native code - Dart can be also JIT
-
widget - Stateless can use them immediatly - Stateful Lifecycle
-
Flutter + Firebase = <3 - Flutter fire is a among of plugin for firebase - There is a documentation on Firebase web
- Server owned or managed by app developers
- Cloud IaaS and PaaS environment
- Serverless platforms
History - Firebase is a startup company - Firestore = Firebase Database + Cloud Datastore
Difference - Data Model - Querying - Write and transactions - Realtime and offline support - Reliability and performance - Scalability - Security - Pricing - Latency
How to migrate ? - Data Structure - RTDB -> Cloud firestore => use Key to relate between the data - use sub collection instead
- Security Rule
- use in sub collection
- Move Historical Data
- Export JSON
- Recent Backup
- Write a custom script
- Use Admin SDK ( 500 writes / sec)
- Batched writes
- Add new data (Cloud function trigger)
- Remove read & write command from Realtime Database
- Re-check data structure & Security Rule
use with Dialogflow
-
What is Firebase Cloud function
- Serverless architecture
- save Cost
- save maintainance
- Provide to API -integrate with each other product
- Serverless architecture
-
Bad thing about Kotlin to JS
- Dynamic Type
- Kotlin Object != JS Object
- Parsing data with extra field
- Can Create model before use
- Can not call some methods
- val is reserve word in Kotlin => js("snapshot.val()")
- Need to know JS
- Can not use some kotlin syntax and expect same flow
- Unreadable error and hard to debug
-
Can we improve
- use Kotlin interface
- use functions by interface
-
features
- Firestore
- Database
- Function
- Admin
- ExpressJS
- Realtime Database triggers
- GEO point for firestore