Getting error while running on expo react native app in local environment iam using AUTH0 for authentication and use authsession.redirecturl(). we are using expo developer service which allow us to add any organization name in app.json owner and login with expo user account . but expo authsession not redirect me to on my project
If you try removing the owner : yourname in the app.json, it should run.
Related
I am using react native 0.60,react 16.8 with firebase authentication (using package react-native-firebase). We are using react-native-fbsdk for facebook login and react-native-google-signin. It is giving me the following errors.
"Could not determine the dependencies of task ':app:preDebugBuild'".
"Unable to find a matching configuration of project
:react-native-google-signin: - None of the consumable configurations
have attributes."
I Wanted to create GSuite app and deploy in my own server instead of deploying in google cloud. Is there a way to do it? It would be great if i get some solution for this.
Thanks in advance
You can't deploy G Suite apps/extensions to your own server - they must be published via Chrome Web Store and/or G Suite Marketplace.
What you can do when you publish your app, is to set it as private so that only users in your domain can see and install the app. See Step 4 on Create and publish custom Chrome apps & extensions page for more details. Obviously, the app must be published by a domain account - you don't get that option if you publish an app from your personal/Gmail account.
I have a problem with Firebase, React and Electron. When I use my app in dev, I use the localhost to load with react-scripts start , so it's loading in http://localhost:3000. I use this url to load my app with Electron.
BUT when I am trying to go in production, I use the electron-builder. I build my app with react-script build, it's create the build folder, and for the electron app, I change the loading url for file://${path.join(__dirname, "../build/index.html" I use build -c.extraMetadata.main=build/electron.js. It's now loading perfectly. BUT When I try to authenticate nothing happen and in the console, it says :
code : auth/operation-is-not-supported-in-this-environnement
message : This operation is not supported in the environnement this is running on. "location.protocol" must be http, https or chrome extension and web storage must be enable
How I can resolve this ?
My hypothesis it's because I don't write the url of my app in Authorized domains in Firebase Sign in method, but there is no url for my app, it's local. Does I need to load a server to employ Firebase ?
I see a similar post but without answer
I think it's because the SDK thinks it's running from a Node.js server environment. Currently, OAuth sign in with popup or redirect is not supported in Electronjs. You would need to get an OAuth credential from an electron compatible library and use the signInWithCredential API.
Firebase is looking into supporting signInWithPopup/Redirect in this environment.
I tried to deploy a very simple site for a Firebase project I have set up, and followed the following steps:
firebase login (I was already logged in since I have other projects I'm working on)
firebase init (created the .firebaserc and database.rules.json files).
firebase deploy
On deploy, I keep getting the following error message:
λ firebase deploy
! Your CLI authentication needs to be updated to take advantage of
new features.
! Please run firebase login --reauth
Error: Unable to authorize access to project [PROJECT NAME]
I succesfully ran firebase login --reauth and I still get this.
Anyone know what I could be doing wrong here?
First warning shows you have to update firebase-cli.
Run this command to update:
npm install -g firebase-tools
Your project may not have been linked which causes that error.
Run this command to link the project:
firebase use --add
It will list down the projects in your firebase account, select the correct one and try deploying the project using:
firebase deploy
PS: You don't have to append project_id to deploy command every time once you run use --add command
Found my answer in another post
It seems that when deploying, you're supposed to deploy with:
firebase deploy --project [PROJECT ID, not PROJECT NAME]
I'm trying to deploy a new application I created by running meteor deploy appname but it gives me this error... i'm logged in though using my meteor developer username & password...
Do I have to signup for galaxy or i can do this free without it?
Project is new, I just installed meteor so I didn't write any code yet.
If you want to deploy your app to Galaxy you have to sign up for it with your Meteor developer account. But keep in mind that this is not free of charge.
If you want to have a deeper look in the FAQ's of Galaxy you can visit Meteor Galaxy FAQ
If you only want to start developing and code your application until it is ready, then just run the meteor command in the working directory of your project.