Auth in Firebase and Google Plus - android

I just saw two tutorials one with Google Play Services to login and then use achievements, ladder, etc. So it has compile 'com.google.android.gms:play-services-plus:8.4.0' to login.
And in Firebase tutorial we use 'compile 'com.google.firebase:firebase-auth:9.0.0'
Isn't that similar services to connect and we can't use both in one?
It would be big gap in UI/UX if user would connect two times to similar service.
Question:
Could I use one auth for both?

You should understand that firebase was once an independent organisation and but later on acquired by google. The earlier document were found at Firebase Previous Docs but now its part of google and google and accessed here Firebase Google Current Docs. So even before acquiring firebase google services were there stuffs like GCM google cloud messaging which is now firebase cloud messaging. So it turns out that after for authentication using firebase can be from various accounts like google,facebook,twitter,github etc but in that example of yours you have an option of logging in as google account only because is a google plus. So consider to stay updated, firebase is simple and current while the other will be completely deprecated later.

Related

Google Analytics upgrade failure for Firebase Messaging project

I have an old project which I still find useful that was originally built with Google Cloud Messaging, that I then had to convert to use Firebase Cloud Messaging. I haven't worked on it for years but find it useful for my friends to track my phone's position via a web page on my always-on Raspberry Pi.
I received an e-mail from Google Analytics which said
You are receiving this email because you own one or more Firebase
projects using Google Analytics. With the release of Google Analytics
4 properties, to keep using your Firebase projects with Google
Analytics, you must take action to accept the Google Analytics Terms
of Service for the following projects:
I tried following the upgrade instructions via the console and get a failure due to an internal error
To the best of my knowledge I don't use any of the analytics stuff, so my question is quite simple:
"Will my existing messaging to my phone from my web page still work?"
firebaser here
Sorry to hear about the problem you have when upgrading your project to GA4. Our team is aware of the problem, and working on a fix, so I recommend trying again in a few hours. Meanwhile check this page for status updates.
Firebase Cloud Messaging relies on Google Analytics data to build its dynamic audiences, which you can target when sending notification from the Firebase console. If you don't use dynamic audiences, you don't need Google Analytics to use Firebase Cloud Messaging.

Behavior Flow from Google Analytics to Firebase Analytics

I use a Google Analytics in my android application, a few days before today I receive an email that means In Oct. 2019 Google will sunset Google Analytics for mobile apps reporting and the Google Analytics Services SDK.
So I decided to migrate to Firebase Analytics.
I am a little bit disgusted because Firebase Analytics doesn't have a feature called 'Behaviour Flow'.
I want to track user behaviour / flow, how can I achieve this with Firebase Analytics?
You can't do exactly the same thing as you did in GA. There is no "behavior flow" that you can turn on or track. Even the "screen views" have turned into just event based.
I think the closest thing out of the box would be using funnels, identifying the funnels that you care about and track those.
Alternatively, you can connect the firebase data to bigquery, export and analyse the data that way, but you probably would need to do a lot of processing.
Firebase Analytics is event-based so they don't support the features that exist in Google Analytics. However; it lets you ingest the raw data into your BigQuery project for free unlike Google Analytics so you can do path analysis either with SQL or use a tool that works on top of Firebase export such as Rakam.

google sign-in without firebase

I have seen many post about firebase with google sign-in. In google's tutorial for google sign-in for android project, it does not use firebase but on many post people use firebase with google sign-in. What is the advantage of using firebase and when and why we need to use it?
Authenticate users by integrating with federated identity providers. The Firebase Authentication SDK provides methods that allow users to sign in with their Google, Facebook, Twitter, and GitHub accounts.
With Firebase the users will be authenticated and you will have access to the firebase database/cloud functions and other services. So its better to use firebase with google sign in. Basically to make it easier for you after sign in.
Top two reasons for using Firebase:
You want your users to have option to login with any social media platform but do not want separate dashboards since its hard to get proper analytics.
Firebase has introduced something amazing called cloud functions which will allow to have your server side script to be hosted on Firebase. You would generally want the token given to you through authentication to be stored in your server and database. Firebase is now providing both so having everything in the same place does help. I basically brought down the release time for a decently complicated app from 14 days to 6 days using a combination of these two.

Firebase Mobile App Tracking - Which libraries to use?

may I ask you:
We would like to implement mobile app tracking in Google Analytics in both Android and iOS apps. We are using a standard guide with Firebase analytics and Google Tag Manager.
There is a list of libraries available at the Firebase website:
https://firebase.google.com/docs/android/setup
Which of them do we need to implement, if we want to track all standard things in Google Analytics, like screenviews, events.
com.google.firebase:firebase-core:10.2.1 Analytics
com.google.firebase:firebase-database:10.2.1 Realtime Database
com.google.firebase:firebase-storage:10.2.1 Storage
com.google.firebase:firebase-crash:10.2.1 Crash Reporting
com.google.firebase:firebase-auth:10.2.1 Authentication
com.google.firebase:firebase-messaging:10.2.1 Cloud Messaging and Notifications
com.google.firebase:firebase-config:10.2.1 Remote Config
com.google.firebase:firebase-invites:10.2.1 Invites and Dynamic Links
com.google.firebase:firebase-ads:10.2.1 AdMob
com.google.firebase:firebase-appindexing:10.2.1 App Indexing
Thank you
Firebase Analytics and Google Analytics are two difference services.
If you want to implement Firebase Analytics then you add:
com.google.firebase:firebase-core:10.x.x
If you want to implement Google Analytics then you have to add:
compile 'com.google.android.gms:play-services-analytics:10.x.x'
For complete installation guide and latest version follow official guidelines
https://developers.google.com/analytics/devguides/collection/android/v4/

Migration of Google Project to Firebase Console

Will importing a Google Project into Firebase interfere with or break the operation of any legacy applications using the related APIs? For example, we currently use the Youtube APIs to allow users to upload videos to a website. Would this be affected after migrating?
It shouldn't break the legacy applications since the API key etc will remain the same. I've migrated the Google Project to Firebase project. I used to use Google Cloud Messaging API. Now I migrated from GCM to FCM (Firebase Cloud Messaging) and the projectId, projectNumber or SenderID, API Key, all remained the same. I didn't have to change anything on the server side as well and it worked out of the box.
Also if you import your Google Cloud Project to Firebase Project, the project on Google Cloud Platform still remains and you can keep using the same API's for now in similar manner. It seems that only for GCM, Google App Invites and AdMob, you can 'choose' to upgrade to corresponding Firebase services.

Categories

Resources