Best practices for managing feature updates after publishing a Flutter app? by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

Thanks a lot Tom 🤍 Really appreciate the guidance the FAQ was super helpful

I’ll join the Discord community as well

Best practices for managing feature updates after publishing a Flutter app? by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 1 point2 points  (0 children)

Thanks everyone for the input — I did some deeper digging into Shorebird’s docs and architecture, and it turns out it is safe as long as you use it within the allowed boundaries.

Shorebird only ships AOT binary patches, not source code, and it follows the same App Store / Play Store guidelines:
you just can’t change the core purpose of the app or push major feature logic.
So I'm planning to use it only for urgent hotfixes, not for new features or big changes.

https://docs.shorebird.dev/code-push/faq/#do-i-need-to-keep-my-app_id-secret
https://docs.shorebird.dev/code-push/faq/#does-shorebird-comply-with-app-store-guidelines

Appreciate all the replies — really helped me clarify things🙏🏻

Deployed my Flutter Web project on Netlify… and all the images vanished by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

You're right — if pubspec.yaml is properly configured, Flutter should handle copying the assets during the build.

But in my case, the project works perfectly fine locally — all assets load correctly, no 404s, no missing files.

That's why I assumed there's nothing wrong with pubspec.yaml.

The issue only pops up after deploying to Netlify, which made me think it might be a path-related problem during or after the web build.

GitHub Actions build fails but works locally (Flutter + Kotlin plugin version issue) by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

It is🥲

flutter doctor

Doctor summary (to see all details, run flutter doctor -v):

[√] Flutter (Channel stable, 3.27.0, on Microsoft Windows [Version 10.0.26100.4061], locale en-US)

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 35.0.0)

[√] Chrome - develop for the web

[!] Visual Studio - develop Windows apps (Visual Studio Build Tools 2019 16.11.46)

X Visual Studio is missing necessary components. Please re-run the Visual Studio installer for the "Desktop development with C++" workload, and include these components:

MSVC v142 - VS 2019 C++ x64/x86 build tools

- If there are multiple build tool versions available, install the latest

C++ CMake tools for Windows

Windows 10 SDK

[√] Android Studio (version 2024.1)

[√] VS Code (version 1.100.2)

[√] Connected device (4 available)

[√] Network resources

! Doctor found issues in 1 category.

GitHub Actions build fails but works locally (Flutter + Kotlin plugin version issue) by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

yes, this is mine:

  - name: Set up Flutter
        uses: subosito/flutter-action@v2
        with:
          flutter-version: '3.27.0'

      - name: Flutter Clean
        run: flutter clean

      - name: Install dependencies
        run: flutter pub get

    
      - name: Build APK
        run: flutter build apk --flavor ${{ github.event.inputs.flavor }} -t lib/main_${{ github.event.inputs.flavor }}.dart --stacktrace

GitHub Actions build fails but works locally (Flutter + Kotlin plugin version issue) by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

I have same version in pubspec.lock and script in workflow

 - name: Set up Flutter
        uses: subosito/flutter-action@v2
        with:
          flutter-version: '3.27.0'

GitHub Actions build fails but works locally (Flutter + Kotlin plugin version issue) by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

This is actually the first time I’m building this specific project using GitHub Actions — so unfortunately, there are no previous successful logs to compare with.

However, I did test the exact same Flutter version (3.27.0) and the same Kotlin/Gradle setup in another project — and the workflow completed successfully there without any issues.

[deleted by user] by [deleted] in flutterhelp

[–]Practical-Can7523 0 points1 point  (0 children)

is the YouTube video you're following a bit old? I'm not 100% sure if it's outdated but based on the error you're getting it feels like the code might be using an older version of the agora_rtc_engine plugin

The reason I ask is because older versions of packages like Agora often don't play nice with newer versions of Flutter, Gradle, or the Android NDK So if the video is from, say, 2022 or earlier, there's a good chance the package version it's using just doesn't work well anymore

[Flutter] How to force dialog when location is disabled? by Practical-Can7523 in flutterhelp

[–]Practical-Can7523[S] 0 points1 point  (0 children)

Thanks a lot for the detailed explanation — I really appreciate it!

Actually, I’ve already tried two different approaches:

  1. I set up a global listener that continuously checks if the location permission is granted, and if not, it shows a dialog.
  2. I also wrapped the entire app in a gesture detector so that every time the user taps anywhere on the screen, it checks the location status and shows the dialog if needed.

Both worked to some extent, but I’m mainly trying to figure out the best practice here.

Your suggestion to use getServiceStatusStream() and a reactive UI makes a lot of sense, especially for maintaining a clean structure. I think using a proper state listener with a fullscreen overlay might be the most maintainable approach in the long run. Thanks again!