Google OAuth Consent Screen for Firebase applications - firebase

Im trying to build a React-Native mobile application and the backend is totally depending on Firebase (im using Firestore as a database) I dont have any website or host service connected to this app except Firebase.
Now, on https://console.developers.google.com/ if i want to publish my app(keys) for i.e.: google sign in, im asked about a privacy policy and Terms&Conditions that should be hosted on the domains:
I have filled those fields like that but it doesnt seem right and in the future could be a problem. Can someone share their experience with Google APIs for applications that need sigin? What are the best practices?

Related

Ionic capacitor Facebook login problem creating the facebook app step

I'm trying to add the Facebook login on my Ionic Capacitor Firebase app but i'm having a lot of problems creating the app on facebook developers site and associating it with my app, now i'm trying only with Android platform.
The problem is that it seems that to create the facebook app is mandatory to have the app published on store, because when i try to change public_profile access for example to advanced, is showing a modal saying that is not finding on the play store the app name. But I can't believe that is necessary to have the app on play store before integrate the facebook login on my app.
What i'm doing wrong? I'm following this tutorial https://devdactic.com/ionic-facebook-login-capacitor/ but on the video is not adding a store option on Android, and in my case i need to add google play or some other to save the platform.
I'm completely lost.
Thanks.
Facebook should allow you to create an app in developer mode without necessarily entering the store code.

Reliability of Firebase Dynamic links in iOS?

How can I setup dynamic links which are robust like google maps, Twitter or WhatsApp ?
I’m using react-native-firebase v6 for my react-native iOS app
I’m using Passwordless Auth/ SignInWithEmailLink to Authenticate my users but this completely depends upon dynamic links.
I had set this up successfully and and everything was working fine.
But now suddenly the authentication links provided in the email don’t open the app in iOS
What can be a possible workaround that the links always open in the app like Twitter or anything else.??
Because this is one of the most essential functionalities of my app as the user can’t sign up if the link doesn’t open in the app.
EDIT: Apple App site association
Below is the apple-app-site-association of my app automatically provided by Firebase, do I need to change something here??
{"applinks":{"apps":[],"details":[{"appID":"4D4NYZN576.com.realyze","paths":["NOT /_/*","/*"]}]}}
Help would be very much appreciated.
P.S could this be a problem of Safari and the Apple Mail App?
Thanks

How to connect Wordpress and Firebase for authentication and real time database?

I am currently working on a combined Android and WordPress project for a restaurant. I need to connect WordPress to an existing real-time Firebase database and authentication. My Android is working with Firebase and supports sending and retrieving data but I am unable to apply this with WordPress. So far the database does not update properly and no changes are shown on the app. I am using WordPress for the admin to make change prices, add new food, and generate reports. The Android component is customer facing and intended to allow ordering food.
I have tried using a normal static website and it was connected to Firebase but I am unsure how to implement this with WordPress.
There is a plugin - Integrate Firebase that connects Firebase to Wordpress.
I have been able to get it working, but it seems to work on the API key rather than using a service account. Which means you need to have the rules set in firebase.
The author seems reasonably active, so I am hoping to get more info about connecting with a service account (rather than API), in which case I'll post it here for you.

Tracking mobile web app with Google Analytics using the website script

I have built a web app (read: a website within a naitive app container) for iOS and Android. I started by adding the website script provided by Google to my app, figuring it would work since it's basically a website hosted within a container. The issue? Well, it doesn't work.
When I access the app from my phone, all I get within the Analytics GUI is that there is a user at page / nothing else despite how many pages I go to. I get the same result if I just browse to the website on my phone. However, if I go to the website on my computer, the script seems to pick up everything perfectly. I can see all pages I've visited and when, for example.
So I guess I have two questions:
Why doesn't the script work as expected through the app on my phone, but perfectly when accessing the webiste on my computer from a technical point of view? Does Google perform some sort of blocking regarding the request headers?
Is there any way to get the website script to work within an app or do I have to use Firebase for long-term and sustainable tracking?
Have in italics since the feeling I get when reading here is that the Google Analytics Services SDK for Android and iOS will probably be phased out sooner or later. According to this post the GA SDK is already deprecated. So using that doesn't really feel like an alternative.
Also, I am not interested in comments like "Why don't you use this analytics tool instead", or, "What's your problem with Firebase? Just use it".
There are two types of Google Analytics accounts. Web accounts and mobile accounts. Web accounts run off of pageview hits. Mobile accounts run off screenview hits. If you insert a screenview into a web account the only thing you will see is page / because its sending the in correct hit type.
The SDK is used for tracking mobile applications so it inserts screen views. You cant use the same Google analytics account for tracking with it your going to need a mobile Google analytics account if you want to use the SDK. You wont of course be able to analyse between the web and mobile accounts.
Cant help with firebase sorry.

Wordpress on new Firebase hosting

I've found out about new Google Firebase Hosting recently and I was wondering if that would work for Wordpress website?
I got a bit confused them talking about static websites & web apps even though as far as I know Wordpress is dynamic...right? on their website it says:
https://firebase.google.com/docs/hosting/#key_functions
Whether you are deploying a simple app landing page or a complex Progressive Web App, Hosting gives you the infrastructure, features, and tooling tailored to deploying and managing static websites.
It looks like a nice Hosting platform for web, especially that they provide SSL certificates, but is it good for Wordpress?
Thanks!
I THINK it would be possible, you still need your SQL+PHP server and you should use it as WordPress backend, you need the WordPress REST API and a plugin with hooks in transition_post_status, comments... and whatever you want to show in your front end, use WordPress API endpoints to send the JSON to the firebase database... after your template should use a Javascript framework in order to make JSON requests to the firebase database and show the data in the browser... It would be difficult but I think it could be the cheaper and best solution ever for a high traffic website (plus all the benefits of firebase).
Nope. Firebase doesn't provide any of the requirements necessary for Wordpress, that being MySQL and PHP on the server side. Firebase provides a JSON store accessible via an API, and static hosting for apps that can access said API.

Resources