Skip to content

Commit 681ea1a

Browse files
committed
Merge branch 'main' of https://github.com/FlutterFlow/flutterflow-documentation into pinkesh/library-values
2 parents a694e51 + 7396b20 commit 681ea1a

File tree

5 files changed

+76
-32
lines changed

5 files changed

+76
-32
lines changed
25.2 KB
Binary file not shown.
18.8 KB
Binary file not shown.

docs/accounts-billing/referral-program.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Your personal referral code is listed on your [My Account Page](https://app.flut
2121
1. Navigate to the [My Account Page](https://app.flutterflow.io/account) and scroll down to the **Referrals** section.
2222
2. To copy your referral code, press the copy icon.
2323

24-
![img_19.png](imgs/img_19.png)
24+
![referral-link](imgs/referral-link.avif)
2525

2626
### How To Track How Many People Have Signed Up Using Your Referral Code
2727

@@ -30,7 +30,7 @@ You can track your referrals in the **Referrals** section on the [My Account Pag
3030
* **Signed Up:** How many people have signed up for FluterFlow using your referral link.
3131
* **Subscribed:** How many people have subscribed to FlutterFlow Pro or Standard using your referral link.
3232

33-
![img_20.png](imgs/img_20.png)
33+
![track-referrals.png](imgs/track-referral.avif)
3434

3535
### I forgot to sign-up using the referral link, can I add this after creating account?
3636

docs/ff-integrations/authentication/firebase-auth/google-login.md

Lines changed: 72 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,33 @@ Before getting started with this section:
2323

2424
## Enable Google Sign-in Provider in Firebase
2525

26-
- Open the Firebase Console and click on Authentication
27-
- Follow the steps to enable Google Sign in for your Firebase project
28-
29-
<iframe src="https://demo.arcade.software/I50vTFEEyhXfU82yLick?embed&show_copy_link=true" title="EcommerceFlow - Authentication - Sign-in method - Firebase console" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="600"></iframe>
26+
Open the **Firebase Console**, click on **Authentication** and then follow the steps below to enable Google Sign in for your Firebase project.
27+
28+
<div style={{
29+
position: 'relative',
30+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
31+
height: 0,
32+
width: '100%'}}>
33+
<iframe
34+
src="https://demo.arcade.software/I50vTFEEyhXfU82yLick?embed&show_copy_link=true"
35+
title=""
36+
style={{
37+
position: 'absolute',
38+
top: 0,
39+
left: 0,
40+
width: '100%',
41+
height: '100%',
42+
colorScheme: 'light'
43+
}}
44+
frameborder="0"
45+
loading="lazy"
46+
webkitAllowFullScreen
47+
mozAllowFullScreen
48+
allowFullScreen
49+
allow="clipboard-write">
50+
</iframe>
51+
</div>
52+
<p></p>
3053

3154
## Add a Login Screen with Google Login Action
3255

@@ -37,21 +60,42 @@ You can create your own or use the one from page templates.
3760

3861
### Add Login Action
3962

40-
- On your Google Login button, select **Actions** from the properties panel (the
41-
right menu) and select Add Action.
42-
- Search and select the Log In (under **Backend/Database > Firebase
63+
1. On your Google Login button, select **Actions** from the properties panel (the
64+
right menu) and select **Add Action**.
65+
2. Search and select the Log In (under **Backend/Database > Firebase
4366
Authentication**) action.
44-
- Set Auth Provider to Google.
45-
46-
<iframe src="https://demo.arcade.software/CBVoec46awMc3yNGLuVJ?embed&show_copy_link=true" title="EcommerceFlow - FlutterFlow" frameborder="0" loading="lazy" webkitallowfullscreen mozallowfullscreen allowfullscreen allow="clipboard-write" width="100%" height="600"></iframe>
47-
48-
- Enable the **Create User Document** and set the **Collection** to **users**.
49-
After successful login, this will insert the user's account details, such as
50-
email,
51-
name, and photo, into the 'users' collection. If a user already exists, it
52-
won't add details again.
53-
54-
:::info
67+
3. Set **Auth Provider** to **Google**.
68+
4. Enable **Create User Document** and set the **Collection** to **users**. After successful login, this will insert the user's details, such as email, name, and photo, into the *users* collection. **Note** that, if a user exists already, it won't add the details again.
69+
70+
If you haven’t already, see how to [create *users* collection](auth-initial-setup.md#creating-the-users-collection).
71+
72+
<div style={{
73+
position: 'relative',
74+
paddingBottom: 'calc(56.67989417989418% + 41px)', // Keeps the aspect ratio and additional padding
75+
height: 0,
76+
width: '100%'}}>
77+
<iframe
78+
src="https://demo.arcade.software/CBVoec46awMc3yNGLuVJ?embed&show_copy_link=true"
79+
title=""
80+
style={{
81+
position: 'absolute',
82+
top: 0,
83+
left: 0,
84+
width: '100%',
85+
height: '100%',
86+
colorScheme: 'light'
87+
}}
88+
frameborder="0"
89+
loading="lazy"
90+
webkitAllowFullScreen
91+
mozAllowFullScreen
92+
allowFullScreen
93+
allow="clipboard-write">
94+
</iframe>
95+
</div>
96+
<p></p>
97+
98+
:::tip
5599
To let users log out of your app, you can use the [**Logout**](auth-actions.md#logout-action) action.
56100
:::
57101

@@ -69,29 +113,29 @@ To let users log out of your app, you can use the [**Logout**](auth-actions.md#l
69113

70114
2. To add in Firebase console:
71115

72-
- Open the Firebase console and click on Authentication and select the
116+
1. Open the Firebase console and click on Authentication and select the
73117
Setting tab.
74118

75-
- Select **Authorized domains** from the left side menu.
119+
2. Select **Authorized domains** from the left side menu.
76120

77-
- Click **Add domain**.
121+
3. Click **Add domain**.
78122

79123
3. To add in Google cloud console:
80124

81-
- Head over to
125+
1. Head over to
82126
your [Project Credentials](https://console.cloud.google.com/apis/credentials?project=_) page.
83127

84-
- Ensure you are on the correct project. In our case, we are using the
128+
2. Ensure you are on the correct project. In our case, we are using the
85129
[EcommerceFlow demo project](https://bit.ly/ff-docs-demo-v1), it will be different for you.
86130

87-
![credential-page.png](../imgs/credential-page.png)
131+
![credential-page.png](../imgs/credential-page.png)
88132

89-
- Under the '**OAuth 2.0 Client IDs**', select '**Web client** (auto created by
133+
3. Under the '**OAuth 2.0 Client IDs**', select '**Web client** (auto created by
90134
Google Service)'.
91135

92-
- Under the '**Authorized JavaScript origins**', click ADD URI and add both the
136+
4. Under the '**Authorized JavaScript origins**', click ADD URI and add both the
93137
URL.
94-
- Similarly, under the '**Authorized redirect URIs**', click ADD URI, add both
138+
5. Similarly, under the '**Authorized redirect URIs**', click ADD URI, add both
95139
the URL and append '/__/auth/handler' at the end.
96140

97141
<iframe src="https://www.loom.com/embed/efd5b99b858d4de8bca55452c6e1d20c" frameborder="0"
@@ -112,6 +156,6 @@ allowFullScreen style={{ width: '100%', height: '600px' }}></iframe>
112156
### Verify user created in Firebase Dashboard
113157

114158
To confirm the successful integration of Google authentication and the creation of users, navigate
115-
to your Firebase project > Authentication > Users and check the user entries.
159+
to your **Firebase project > Authentication > Users** and check the entries.
116160

117161
![verify-google-auth-users.png](../imgs/verify-google-auth-users.png)

docs/ff-integrations/maps/google-maps/place-picker-widget.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Here's an example from the Demo app:
4646
<p></p>
4747

4848
:::note[Prerequisites]
49-
- Ensure you have enabled **Places API** from Cloud console. [**Check out the Setup docs.**](generate-maps-keys)
49+
- Ensure you have enabled **Places API** from Cloud console. [**Check out the Setup docs.**](generate-maps-keys.md#add-places-apis)
5050
- Enable **Google Maps Platform Billing** via your Cloud console. Please note: Failing to enable the Google Maps Platform Billing will not show any place in an autocomplete list.
51-
- Add API keys as suggested in [**Getting Started**](generate-maps-keys) guide.
51+
- Add API keys as suggested in [**Getting Started**](generate-maps-keys.md#add-keys-to-flutterflow) guide.
5252

5353
:::
5454
<figure>

0 commit comments

Comments
 (0)