|
| 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 | + |
0 commit comments