-
Notifications
You must be signed in to change notification settings - Fork 104
Uncategorized: moved articles from the uncategorized folder to various aspect of the document tree. #438
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Uncategorized: moved articles from the uncategorized folder to various aspect of the document tree. #438
Changes from 1 commit
1761c49
57b7670
5fa6aa0
6133e9a
b9380c2
6a1cff4
1794577
c4b147a
e251849
5e4c3b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ tags: [Auth Actions, Authentication, Firebase] | |
sidebar_position: 1 | ||
keywords: [FlutterFlow, Auth Actions, Authentication, Firebase] | ||
--- | ||
|
||
# Common Auth Actions | ||
|
||
Here's a list of common authentication actions: | ||
|
@@ -22,6 +23,12 @@ Follow the steps below to add this action: | |
|
||
 | ||
|
||
## Login [Action] | ||
|
||
The Login action allows users to authenticate and gain access to your app. Login behavior can differ based on the provider you configure (e.g., email/password, Google, Apple, phone number). Each provider has its own setup, but they all share the same underlying action to sign in users. | ||
|
||
You typically add the login action to a button (e.g., "Login" or "Sign In") that collects user credentials via TextFields or third-party authentication triggers. | ||
|
||
## Handling Invalid Login Credentials | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. adding this after logout action doesnt make sense because this page doesnt have login action. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have done that There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. where? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
||
When a user enters incorrect login credentials, FlutterFlow automatically displays a `SnackBar` with an error message. This helps users understand why their login attempt failed without needing custom logic. | ||
|
@@ -34,7 +41,7 @@ When the **Login Action** fails, a `SnackBar` is shown with the relevant error ( | |
There is no need to manually add alert dialogs for failed login attempts. FlutterFlow handles `SnackBar` display automatically when authentication fails. | ||
::: | ||
|
||
### Customize the SnackBar (Optional) | ||
**Customize the SnackBar (Optional)** | ||
|
||
1. Select the **Login Action** from your button or trigger. | ||
2. In the **Actions tab**, open the **Action Output** section. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
--- | ||
mrdavidorok marked this conversation as resolved.
Show resolved
Hide resolved
|
||
slug: /integrations/maps/geocoding | ||
title: Geocoding in FlutterFlow | ||
keywords: ['geocoding', 'reverse geocoding', 'maps', 'location', 'address'] | ||
--- | ||
|
||
# Geocoding in FlutterFlow | ||
|
||
**Geocoding** is the process of converting between human-readable addresses (like “1600 Amphitheatre Parkway, Mountain View, CA”) and geographic coordinates (latitude and longitude). | ||
|
||
FlutterFlow supports geocoding through **custom API calls** and **custom code actions**, giving you flexibility to choose the approach that works best for your app. | ||
|
||
**Types of Geocoding** | ||
|
||
There are two common types of geocoding: | ||
|
||
1. **Forward Geocoding** | ||
Converting an address into geographic coordinates. | ||
*Example:* `"Paris, France"` → `(48.8566, 2.3522)` | ||
|
||
2. **Reverse Geocoding** | ||
Converting geographic coordinates into an address. | ||
*Example:* `(37.4221, -122.0841)` → `"1600 Amphitheatre Parkway, Mountain View, CA"` | ||
|
||
**Approaches in FlutterFlow** | ||
|
||
You can implement geocoding in FlutterFlow in two main ways: | ||
|
||
1. **Google Maps Geocoding API** | ||
|
||
- Uses the official Google Maps API for reliable, global geocoding. | ||
- Requires a Google Cloud project and API key. | ||
- Works via a standard API Call in FlutterFlow. | ||
- Best for: | ||
- Apps with existing Google Maps integrations. | ||
- Large-scale or high-accuracy location services. | ||
|
||
See: **[Google Maps Geocoding API Documentation](https://developers.google.com/maps/documentation/geocoding)** | ||
|
||
2. **`geocoding` Dart Package (Custom Code)** | ||
|
||
- Uses Flutter’s [`geocoding`](https://pub.dev/packages/geocoding) package for native geocoding. | ||
- Works entirely offline for some lookups (depending on platform and data availability). | ||
- Implemented via a custom action in FlutterFlow. | ||
- Best for: | ||
- Apps that don’t want to rely on external APIs. | ||
- Simpler geocoding needs. | ||
|
||
:::tip[Related Guides] | ||
- [Convert Device Location to Address](/convert-device-location-to-address) — Step-by-step guide for reverse geocoding a device’s coordinates. | ||
- (Coming soon) Forward Geocoding with FlutterFlow — Learn how to convert an address into coordinates. | ||
::: | ||
|
||
|
||
:::tip | ||
If your app already uses Google Maps for displaying locations, the Google API method will be the most seamless. If you want a code-based approach that avoids API calls, the `geocoding` package is a good alternative. | ||
::: |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ On opening the project, you'll see the App Builder, which consists of four main | |
|
||
:::warning[Editor Performance Does Not Affect App Builds] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why is it the first thing in the article? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't work on this article. It wasn't written by me There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. again what do you even mean? you're adding info to this file and I'm adding comments on your content addition, not on his content |
||
|
||
Slow performance in the FlutterFlow editor—such as UI lag or long loading times—may occur in large projects or long sessions, but **this does not impact the performance of your final app build**. | ||
Slow performance in the FlutterFlow editor, such as UI lag or long loading times, may occur in large projects or long sessions, but **this does not impact the performance of your final app build**. | ||
|
||
Editor slowness is typically caused by: | ||
- Large projects with many pages or custom functions. | ||
|
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.