Skip to content

Commit 8b5fc25

Browse files
authored
Merge pull request #227 from FlutterFlow/pinkesh/deploy-for-environment
Added Deploy for Dev Environment
2 parents 2ed2320 + 79a8a2c commit 8b5fc25

File tree

3 files changed

+46
-0
lines changed

3 files changed

+46
-0
lines changed

docs/testing-deployment-publishing/development-environments/development-environments.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,3 +183,9 @@ No, FlutterFlow does not use Flutter flavors. Instead, it generates code based o
183183
</p>
184184
</details>
185185

186+
<details>
187+
<summary>How to deploy apps for different environments?</summary>
188+
<p>
189+
You can configure deployment settings for each environment using the dropdown interface on the deployment page. For mobile, set a new package name, and for web, set a new site URL. Once done, deploy your app as usual. See how to do it in [**detail here**](../publishing/deploy-for-environment.md).
190+
</p>
191+
</details>
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
slug: /deployment/deploy-for-environments
3+
title: Deploy for Development Environments
4+
description: Learn how to deploy your apps for development environments.
5+
tags: [Apple App Store, Google Play Store, Deployment, Dev Environments]
6+
sidebar_position: 6
7+
keywords: [Apple App Store, Google Play Store, Deployment, Dev Environments]
8+
---
9+
# Deploy for Development Environments
10+
11+
FlutterFlow provides flexibility in configuring deployment settings for different [environments](../development-environments/development-environments.md), allowing you to manage your app builds for both mobile and web apps.
12+
13+
With deployment settings tailored to each environment, you can test, isolate app functionality, and optimize for various use cases without impacting production builds.
14+
15+
## Mobile Deployment
16+
17+
You can configure and publish environment-specific builds of your app for both iOS and Android platforms, allowing each build to coexist and function independently for different environments.
18+
19+
To set up deployment for different environments, go to **Settings & Integrations > App Settings > Mobile Deployment**, and select the desired environment from the **Current Environment** dropdown on the right side.
20+
21+
To submit an environment-specific build to the App Store and Play Store, you must have unique package names representing each environment. To achieve this, create [environment values](../development-environments/development-environments.md#use-environment-values) for the package name and set it into **Settings & Integrations > General > App Details > Package Name**. This ensures that when you switch environments, the package name changes and you can submit separate builds to the App Store and Play Store.
22+
23+
For example, in an ecommerce app, you can set environment values for package names such as `io.flutterflow.ecommerceflow.dev` for the development environment and `io.flutterflow.ecommerceflow.staging` for the staging environment.
24+
25+
Once this setup is complete, you can deploy to [App Store](apple-appstore-deployment.md) and [Play Store](google-playstore-deployment.md) as usual.
26+
27+
:::tip[For iOS]
28+
29+
- You can publish your apps as unlisted on the App Store to allow different builds without public exposure.
30+
- You must configure provisioning profiles, certificates, and App IDs unique to each environment to ensure secure and streamlined publishing.
31+
32+
:::
33+
34+
## Web Deployment
35+
36+
Web deployment in FlutterFlow provides you with the ability to configure the entire web deployment for each environment, including custom URLs, page titles, metadata, and deployment history.
37+
38+
To set up deployment for different environments, navigate to **Settings & Integrations > App Settings > Web Deployment**, and select the desired environment from the **Current Environment** dropdown on the right side. Then, set a new **Site URL** for the selected environment and [publish](web-publishing.md) your app as usual.
39+
40+
![deploy-web-app-for-environments.avif](imgs/deploy-web-app-for-environments.avif)

0 commit comments

Comments
 (0)