How to use Firebase - android

I want to create an android app, I read that firebase can help me with this. What is firebase and how to use it with my reference?

Firebase helps you with a lot of features like:
Authentication (Anonymous accounts, Google/Facebook/Twitter/GitHub
Sign in)
Saving data through the Realtime Database
Storing files
Get crash reports (if your app crashes on ones device you will see an error log in Firebase)
Notifications
App Indexing
Dynamic links
Invites
Test Lab
Many more features
Source: Firebase
Of course the list of features it offers is much bigger than that.
To get started on android development with Firebase look here:
Firebase Android Get Started Guide

Related

firebase authentication and json

I am fairly new to firebase, used its features to my projects.
Question is:
1) Can I use firebase free services for making professional apps/client work, to handle data and authentication?
2) Should I use json data hosting sites to use url for such projects(for fetching data)? or suggest me better options.
You can use Firebase for free for a certain amount of users and traffic. You can see the limits and packages here
I have been using Firebase's realtime database for some personal Android Apps and happy to use it. To implement it easily, Android Studio has an option for developers. Select Tools -> Firebase and Firebase Assistant will be prompted.
You can select any service you need to use in your app. The assistant even adds some pieces of code (such as dependencies and initialization for the service) needed to run the services you select.

What data is being sent to the Fabric server ? [Fabric/Crashlytics]

We are working on a restricted Banking iOS/Android App and before integrating Fabric.io to our app we need to know what data will be sent to Fabric cloud
Our two main concerns are :
What is the data that will be sent to Fabric servers?
Is there a possibility that it can send any sensitive data like
accessKey/username/password etc.
Does it have access to all the codes in our app?
Mike from Fabric here. We collect just the minimum amount of data to provide you with high quality crash reporting. Many apps from the banking and financial industries use Crashlytics without any issue.
1) Take a look here where another individual has asked the question.
2) No, unless you choose to record this information using custom keys or logs. I strongly recommend never logging this information.
3) We do not have access to any source code. A dSYM on iOS or mapping file on Android is uploaded in order for us to map back from the un-symbolicated crash report to an accurate crash.
As you know, Fabric is an analytical tool that mainly sends crashes and events to its server. You can define events that you want to send. It doesn't access to your secret data

Firebase on an Android device without Google Services

I understand that Firebase does not support android devices that do not have google services installed.
I'm trying to build a native android app on a Clover Till (https://docs.clover.com/). I need realtime database and authentication. The rest of the firebase features would be nice however I can get by with just the database and authentication.
It seems like realtime database is working but authentication is not.
Am I correct in saying that firebase auth needs google services to work in android?
If so, what are my options?
Could I build a hybrid app to get around this?
Thanks

Two Android apps + web app sharing one Firebase db

I have 2 android apps and a web app catering two user groups,
android app + web app for mostly writing data to the database
another android app for retrieving these data
I need my applications connected to the same database, I want to know whether this is possible with Firebase and is considered valid.
I've seen older posts with workarounds but I need to know whether the new Firebase version supports this out of the box.
This is my first time trying to integrate Firebase into one of my projects therefore some guidance on achieving this task would be really useful.
Thanks!
As long as I can remember Firebase supported this even before the "new Firebase 2.0". Following just an excerpt taken of the Realtime Database feature list:
A cloud-hosted NoSQL database. Data is stored as JSON, synced across
connected devices in milliseconds, and available when your app goes
offline.
Accessible directly from client SDKs, or from your server with the REST API
tl;dr
That's totally possible with Firebase.

Sync android database over multiple devices through Google or Facebook

i'm going to develop a sort of cloud based application. Since I develop for hobby, I don't want to pay a server.
I'm wondering if Google or Facebook allow user to sync sqlite OR json databases through their server. For example: I'd like to sync - after the Google+ app login - the data of my app, so that the same person, on his tablet, can use the data he produced on the smartphone. Can anyone point me out some documentation that explain me what services should I use and how? Thanks.
With every Google account comes Google Drive. That link leads to the documentation for their API, but you will want to use their libraries as I presume.
Basic understanding of OAuth workflow can be beneficial.

Categories

Resources