constantsolutions / website-comments

Comments for website
0 stars 0 forks source link

2024/06/06/automate-flutter-deployments-to-app-store-and-play-store-using-fastlane-and-github-actions/ #4

Open utterances-bot opened 4 months ago

utterances-bot commented 4 months ago

Automate Flutter Deployments to App Store and Play Store using Fastlane and Github Actions for a lazy developer | Constant Solutions

A place on the internet where Mattias shares (mostly) tech related stuff

https://constantsolutions.dk/2024/06/06/automate-flutter-deployments-to-app-store-and-play-store-using-fastlane-and-github-actions/

arnab commented 4 months ago

Fantastic article, thank you.

You mentioned this at the beginning:

Support for Firebase Crashlytics if you are using it (or plan to use it), by uploading the dSYMs

But I don’t see any other references about this later inside the code/configuration. Can you please elaborate?

acbasco commented 2 months ago

Great article!

Quick question, can we replace the step for Google play's signing key and use the Play Integrity API instead on the Google Play Console? Thank you

acbasco commented 2 months ago

My bad, saw it, it says to let Google handle the signing key. :D

simplenotezy commented 1 month ago

Fantastic article, thank you.

You mentioned this at the beginning:

Support for Firebase Crashlytics if you are using it (or plan to use it), by uploading the dSYMs

But I don’t see any other references about this later inside the code/configuration. Can you please elaborate?

Thank you for your kind words, happy I could help 😊 Oh yeah, you're right. I must admit I didn't test that part very much. But I see I left something related to firebase app distribution here: https://github.com/constantsolutions/flutter_fastlane_tutorial/blob/master/android/fastlane/Fastfile#L65-L82

Please let me know if you'll manage to get that part working, and if so, what steps you took - in that case I'll update the article.

simplenotezy commented 1 month ago

Great article!

Quick question, can we replace the step for Google play's signing key and use the Play Integrity API instead on the Google Play Console? Thank you

Thank you! Happy to help. Glad you figured it out.

AlexandreDevaux commented 3 weeks ago

Spent a lot of time trying to understand why

fastlane match appstore

was not working on my machine, turns out you have to be on macos for this command to work.. **crying**

AlexandreDevaux commented 3 weeks ago

Had to add "Get Flutter dependencies", "Install CocoaPods dependencies" and "Build iOS app"

      - name: Run Flutter tasks
        uses: subosito/flutter-action@v2.16.0
        with:
          channel: ${{ env.FLUTTER_CHANNEL }}
          cache: true

      - name: Get Flutter dependencies
        run: flutter pub get

      - name: Install CocoaPods dependencies
        run: |
          cd ios
          pod install

      - name: Build iOS app
        run: |
          flutter clean
          flutter build ios --release --no-codesign

      - uses: maierj/fastlane-action@v3.1.0
        with:
            lane: 'release_app_store'
            subdirectory: ios
            options: '{ "version_number": "${{ github.ref_name }}", "verbose": "true" }'

into my "build_ios" workflow in order for the app to build using github actions but thank you a lot for your article @simplenotezy, it helped me a lot !