10. Realtime Database handles offline in two ways;
1.Intermittent: for a short period of time.
2.LongTerm: for long time.
FirebaseDatabase.getInstanse().setPersistenceEnabled(true);
11. SECURITY
Firebase Realtime Database Rules determine who has read and
write access to your database, how your data is structured, and
what indexes exist. These rules live on the Firebase servers and
are enforced automatically at all times. Every read and write
request will only be completed if your rules allow it. By default,
your rules are set to allow only authenticated users full read and
write access to your database. This is to protect your database
from abuse until you have time to customize your rules or set up
authentication.
12. Firebase Storage is built for app developers who need to store and serve user-generated content, such as
photos or videos.
Firebase Storage is backed by Google Cloud Storage , a powerful, simple, and cost-effective object storage service.
14. // Create a child reference
// imagesRef now points to "images"
StorageReference imagesRef = storageRef.child("images");
StorageReference spaceRef = storageRef.child("images/space.jpg");
15.
16. • Firebase Authentication provides backend services, easy-to-use SDKs, and ready-made UI
libraries to authenticate users to your app. It supports authentication using passwords, popular
federated identity providers like Google, Facebook and Twitter, and more.
• Firebase Authentication integrates tightly with other Firebase services, and it leverages industry
standards like OAuth 2.0 and OpenID Connect, so it can be easily integrated with your custom
backend.
18. Firebase Notifications is a free service that enables targeted user
notifications for mobile app developers.
compile 'com.google.firebase:firebase-messaging:9.0.2'
19. Firebase Analytics is a free app measurement solution that provides insight on app usage and user
engagement.
20. • Firebase Analytics helps you understand how your users behave, so you can make informed
decisions about how to market your app. See the performance of your campaigns across organic
and paid channels to understand which methods are most effective at driving high-value users.
25. Test your app on devices hosted in a Google datacenter.
Firebase Test Lab for Android provides cloud-based
infrastructure for testing Android apps.
26. Instrumentation Tests & Robo Test
Espresso
Robotium
UI Automator 2.0
By simulating
user actions
27. Comprehensive and actionable information to help diagnose and fix problems in your app.
compile 'com.google.firebase:firebase-crash:9.0.1'
28. Firebase Dynamic Links are smart URLs that dynamically change behavior to provide the best
experience across different platforms.
compile 'com.google.firebase:firebase-invites:9.0.2'
29. Firebase Invites is a cross-platform solution for sending personalized email and SMS
invitations, on-boarding users, and measuring the impact of invitations.
Firebase Invites builds on Firebase Dynamic Links .
compile 'com.google.firebase:firebase-invites:9.0.2'
30. AdMob by Google is an easy way to monetize
mobile apps with targeted, in-app advertising.