Get google account name and email in react native - react-native

I want to get mobile's google account email and full name. I tried react-native-user-identity package but this is returning me only email id.

try using Google firebase and follow along their authentication docs you can also use their database creation feature to store the users firebase link
it works good with react-native

Related

How to add scopes using expo's example on Google Authentication + firebase

I'm creating an app using react native + expo + firebase + google apis.
I'm trying to use certain Google products (lets say, calendar)
I'm trying to grab user's access token from Google
Expo has this document
https://docs.expo.dev/guides/authentication/#google
Unfortunately, their document is not complete, there's no other guides or API documentations. (They don't even document some functions that they are using)
There's no instructions on how to add scopes when following this method.
Has anyone succeeded in attaching a scope and grabbing a valid access token?
Any help would be appreciated, Thanks

Read/Write Google Sheets API on react-native

basically I want to use Google Sheets API on my React Native project to write some data there on a single sheet.
Here are the problems I'm facing after searching for hours:
I want to be able to read and write, such as creating new sheets inside the spreadsheet, hence I can't use the public API or an API key.
I don't need the user to login, so I can't use the Google sign in API. More like, I want my developer account to be signed in, as I wanna use my own single spreadsheet for all users. Think of it as using it as a database for my app (don't worry, I'm not).
I found many wrappers but they're all meant for node and don't work on react native.
I'm trying to use the vanilla google APIs, but I'm having trouble getting an "Access Token" as the only way i found to get it was by making a user sign in. I created a Service Account but I can't figure out how to use on react native. The npm module I found doesn't work on react native.
So I guess here is what I'm looking for: either
A wrapper for Google Sheets API that takes care of authentication as well.
How to get an access_token for my developer account, without prompting the user to sign in.
Thanks!

How can I send information about user who is trying to book tickets of Eventbrite?

I am trying to implement checkout flow with Eventbrite in my mobile app.
I already know the user's first name, last name, and email.
Is it possible to send this information to Eventbrite during checkout, so users do not have to enter them again while purchasing tickets?
We are building an app that will run on Android and iOS.
Using ReactNative / Heroku / PosgreSQL database
Thanks,
Hema.

How to save data in a salesforce account using react-native?

We are building an Application and we need to store some data to the user's Salesforce account. I looked into some solutions where people are using Apex but I am unable to understand how to use them with React Native.
Please give me some good documentations to refer of How can I save my data from my React Native App to my Salesforce Account.
I tried to look into Apex and visualforce but not understanding how to use it with React Native.
For react Native you will have to call REST API exposed by salesforce. You will need to create a connected app and get the security key and client id. Use them to authenticate and get a access_token. Once you have that token, use it to make a POST call to /services/data/v45.0/sobjects/Account using the account id. Send a JSON payload to add your data.
Example of a GET call is :
/services/data/v45.0/sobjects/Account/0013600000udFs8AAE
Hope this helps!

hubspot api access but client_id

I am trying to parse some data using hubspot api by given demo account. To have a proper response you need client_id within parameters. It says, I can find my client_id inside app dashboard. Can someone please tell me what is the exact client_id inside dashboard or what is the client parameter for tokens.
Thanks
You would get the client_id by creating an app from the Developers dashboard, not your portal dashboard. If you haven't created an app yet, you would first need to sign in and then go here:
https://app.hubspot.com/developers/signup
If you haven't signed up yet, you can sign up there to create a Developers account, otherwise you'll get directed to the My Apps Dashboard. click the blue Create App button in the top right to create an app, and after the app is created you can click on the app name from the App Dashboard to get the Client ID.