I'm using FlutterFlow for building an app which uses Google sign in and Google Maps API. When I try to connect login page with maps page, it gives me the following error:
I tried to integrate Google Maps and Google sign in API, but when I did so I got the following error:
String property not properly set in TextField.
Related
I am doing an azure active directory login with this plugin https://pub.dev/packages/aad_oauth.
However the plugin uses the webview plugin and the following error occurs because of that.
“You can’t sign in from this screen because this app doesn’t comply with Google’s secure browser policy”
Error 403 dissallowed_useragent
How do I get around this problem?
Google allows sign-in with Google Account only in normal browsers, it restricts it in web-views due to security reasons and recommends Google SDKs for iOS and Android for this purpose.
A similar behaviour exists for Facebook login.
In general, these services recognize the default WebView user agent, so to make it work, you could just set a custom user agent value.
You can use my flutter_inappwebview plugin to implement this logic.
I have created a project example that implements it and it's available at https://github.com/pichillilorenzo/flutter_inappwebview_examples/tree/main/third_party_oauth_user_sign_in
I am working on an application that has Google Maps in it. When I search for my address, I get an error shown in the image below.
Is the problem about the app or the Google Maps API? How can I solve it?
I am going to create a chat application using flutter with the firebase database, I want to add a profile sharing feature that opens a specific profile by its profile link, e.g. In Telegram, we have our own profile id and we can share it as https://t.me/username, just of one click it opens with telegram app with that specific user profile. Then how do I do this?
Firebase Dynamic Links
Firebase Dynamic Links is the service that does what you're describing. The documentation states the following:
You create a Dynamic Link either by using the Firebase console, using
a REST API, iOS or Android Builder API, or by forming a URL by adding
Dynamic Link parameters to a domain specific to your app. These
parameters specify the links you want to open, depending on the user's
platform and whether your app is installed.
Setup
First, you will need to enable it for your Firebase project through your Firebase console.
Then, you will include its official package for Flutter called firebase_dynamic_links in your app.
You can create Dynamic Links programmatically with your app or maybe Cloud Functions or by using the Firebase console.
Use the firebase_dynamic_links package to check if a Dynamic Link was passed to it when your app opens.
You can view the analytics data to track the performance of your Dynamic Links in the Firebase console.
Is there a way to implement Google Login without Firebase?
I just want to get a valid token to pass it to the Server, to use my own strategy, but I don't want to be dependet on Firebase. But I only find Google Login tutorials using Firebase.
I am using flutter firebase auth with email and password. When I am doing sign in or sign up I am getting the following error:
An internal error has occurred. [ Requests to this API identitytoolkit method google.cloud.identitytoolkit.v1.AuthenticationService.SignInWithPassword are blocked. ]
I am using firebase_auth: ^0.8.4+2. I have already enabled signup with email and password from my firebase console.
In my case the apiKey in the environment file of Angular was allowed to only use a few Google Cloud APIs as I had restricted.
I went to https://console.cloud.google.com,
chose the project
(same as the Firebase project of course)
and then API & Services > Credentials.
There in the list of API keys, I looked for the same API key given in the project overview of Firebase, clicked on it, and went on the tab API restrictions.
Therewith the select box, I added to the list of allowed APIs the Identity Toolkit API.
or make it Don't restrict key
I was facing this issue because my api keys were restricted. I had to go to my google developer console and change the restrictions on my api keys and allow the toolkit api. It worked for me then.