how I can affectation the username to dispalyname and show in home page please help me I tired to find solution but without any resuat
I work with react native and Firebase
(https://i.stack.imgur.com/KeKLh.png)]
(https://i.stack.imgur.com/IXjDh.png)](https://i.stack.imgur.com/vvMDS.png)i.stack.imgur.com/Vn4N0.png)
enter image description here
show user name in home page
Related
I want to build a link with an id as url parameter and take that id to fetch data from db. But the problem is that when i try to acces that page with an url parameter it gives me blank page otherwise it is working.enter image description here[enter image description here](https://i.stack.imgur.com/sxPW6.png)
I tried an useEffect with router.isReady as dependency, but it doesn't work
[UPDATE]
I found that is something related with Redux persistence config. If I remove Redux Provider and PersistGate it will work just fine. But i don't want to remove Redux from my app. Here is the config enter image description here
I need to create a new page for each user on signup so when you go to the site's explore page and click on someone's name or picture, it will take you to their specific page and display their data. (database is firebase firestore and firebase storage, saved link to each person's doc)
This is one of the issues I've been trying to fix for about a month(just fixed the explore page issue and got everyone profile pic to display with that individual user's name right below). I have tried making a new html page with someone's php and js script (didn't work, not familiar with php) and url rewriting.
I haven't been able to find anything else concrete or at least something else to point me in the right direction. Any pointers or tips?
(Vanilla/node.js)
With PHP, on clicking a persons username you can add the username as a parameter to the url e.g yoursite.com?user=personsusername then use GET method to retrieve the username and output data relating to that username from the database
So I shared a firebase project in Google IAM. Turns out, the guy emails me with a screenshot and he has write access to all my projects (see below)? Anyone else notice this, or did I add a member incorrectly?
For understanding the steps to add, please go through the below step:
Log in to https://console.firebase.google.com using your Google account. A screen will be displayed with option Add Project.
Click on the Add Project option. You will be asked to enter App name and country. Then proceed by clicking on Create Project button.
Click on Users and Permission option from Settings/cog wheel icon which is adjacent to Project Overview, present on the left menu list.
You will be redirected to new a webpage(https://console.cloud.google.com/iam-admin/iam) and proceed with accepting the terms.
Click on IAM option from the left menu list. Add member by selecting Add on IAM screen.
Provide email id and role, then click on Add for adding the member.
I've created dynamic link manually and I would like to collect statistics for it in firebase console.
Is it possible?
Link that I've created contains:
link, apn, utm_source ,utm_medium
I believe you need to shorten the Dynamic Links, for the Firebase console to track clicks for you. From this page:
To help you gauge the effectiveness of your promotions and campaigns, the following Analytics events are automatically logged when you open a short Dynamic Link in your app. You can create short Dynamic Links in the Firebase console.
For your existing manually created dynamic link, go to the Console, click on Dynamic Links, then New Dynamic Link. Select Shorten an Existing Dynamic Link, then paste your existing link there, then click the Create Link button.
The Google Identity Toolkit (Gitkit) provides a convenient widget with the id 'navbar' that initially serves as a sign-in button and once the user signs in, it becomes a user info card. This is what it looks like:
On clicking this user info card, a dropdown list containing links to an account management page and a sign-out function is shown.
The problem is that this user info card is too wide for a mobile screen and I want to customize it to look like the Gmail user-info widget that shows up just as a small circle containing the profile picture and upon clicking reveals an overlay containing both user info and account management links as shown below:
My question is: is there an easy way that I can customize the default Gitkit widget to look and behave like the Gmail widget or would I be better off creating a Gmail-like widget from scratch?
The identity toolkit provides the following methods:
google.identitytoolkit.signIn
google.identitytoolkit.manageAccount
google.identitytoolkit.signOut
and to set the widget url and sign out url, etc. use:
google.identitytoolkit.setConfig
This should give you all the tools you need to build your own custom user card/ sign in button. The server libraries provided help you validate and retrieve the logged in user's info.
Of course you can always override the user card css to customize how the menu is displayed.