![]() Navigate to the iOS directory ( FlutterProj/ios/) of your Flutter project, and initialize fastlane by using the command:įastlane add_plugin firebase_app_distribution We have to follow similar steps also for iOS. Fastfile (which contains the commands for building and uploading the app).Appfile (which contains the package name and secret JSON file path).This will generate a fastlane folder inside the android directory containing two files: It is not needed to add the secret JSON file location, as we will be distributing the pre-release version of the app to testers only and the JSON file is not needed by Firebase App Distribution. You can find the package name by going to: FlutterProj –> android –> app –> scr –> main –> AndroidManifest.xml If you decide to skip it for now, you can also add them later by going to the Appfile present inside the folder android/fastlane.Įnter the package name of the Android part of your Flutter project. You will need Firebase Command-Line interface tool in order to communicate with Firebase with the help of fastlane from your terminal directly.įor installing Firebase CLI, just run the following command from the terminal:Īfter running this command, it will ask for two things:īoth of them are optional (and can be skipped) but we will not be able to deploy without some of the information. Now, let’s look into the setup process of fastlane and integrate Firebase App Distribution with it. It can also be combined with Crashlytics which will give you reports about any crash that occurs on the tester’s device.Ĭombining Firebase App Distribution with fastlane makes automated distribution even more seamless. What is Firebase App Distribution?įirebase App Distribution makes it easy to distribute pre-release apps to testers so that you can get feedback from the early users quickly. You can customize the lanes as you need and they also help you to automate the code signing process for both platforms.įastlane also has CD support for Flutter apps, though you need to set it up separately for Android and iOS platforms. What is fastlane?įastlane is an open source continuous delivery (CD) tool that helps to automate the building and deployment of Android and iOS apps to Play Store and App Store. In this article, I will be showing how to set up and deploy your Flutter app to Firebase App Distribution with the help of fastlane.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |