This will ask you a couple of questions, just fill those in and create a new service account.Once you're in the google cloud console, click on Create service account.On the popup that shows up click on the link that says Google Cloud Platform.Click on Learn how to create service accounts.Scroll Down until you see the Service Accounts section. On the left sidebar under Setup, you'll see API Access.Before doing this make sure you have already registered an app on the play console with the correct package name. To upload the app bundle on the play console we need a service account that will have the required permissions to perform actions on our behalf. Run the flutter build appbundle command to build a signed app bundle. Make sure to change these with your Keystore configuration. You also need to create a new file under the android folder called key.properties, and add the following configurations: storePassword =store -password Signing with the debug keys for now, so `flutter run -release` works. TODO: Add your own signing config for the release build. StoreFile keystoreProperties ? file(keystoreProperties) : null KeystoreProperties.load( new FileInputStream(keystorePropertiesFile))Īpply plugin: '-services' ĭef keystoreProperties = new Properties()ĭef keystorePropertiesFile = rootProject.file( 'key.properties') Go to android/app/adle file and define add the following lines. On a Linux or Windows machine, we'll use ruby's gem package manager to install Fastlane. Use homebrew to install it on a mac brew install fastlane Installing Fastlaneįirst, we will install the Fastlane tool on our local machine. First, we will get the Fastlane working on your local machine. I started reading some documentation available at flutter's official site and followed the instructions to set up Fastlane locally on my machine. Recently I was trying to figure out how I can publish flutter apps to the Play Store using Github Actions and publish them I did.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |