r/FlutterDev • • 55m ago

Article What are you using for low-latency live video in Flutter apps?

Thumbnail
antmedia.io
2 Upvotes

I work at Ant Media, so take this with that in mind. We've had a MoQ plugin for a while, and the obvious problem was that every viewer connects to the relay on your own server. Do the math on a 1 Gbps port and you're at roughly 330 viewers of a 1080p stream before you run out of bandwidth.

So we wired it up to push to Cloudflare's MoQ relays too. The server sends each track once and Cloudflare handles getting it to viewers. It's one config line, and in our test the Cloudflare copy stayed within a fraction of a second of the source.

Two things that cost us time: it only works with the draft-16 host right now, and if you use a draft-14 host everything looks fine in the logs but no viewer can ever find the stream. Also it's still beta with no SLA, so I wouldn't put anything critical on it yet.

We wrote the steps down here: https://antmedia.io/cloudflare-moq-cdn/

Is anyone else running MoQ behind a CDN or their own relays? I'm wondering what people are doing for auth, since a single shared subscribe token isn't great.


r/FlutterDev • • 4h ago

Tooling An update on analyzer_kit

Thumbnail
reddit.com
1 Upvotes

r/FlutterDev • • 4h ago

Dart [FOR HIRE] Flutter Developer | Android & iOS Apps | Firebase | REST APIs | AdMob

2 Upvotes

Hi everyone!

I'm a Flutter Developer with around 1 year of professional experience building and maintaining cross-platform mobile applications for Android and iOS.

I'm currently available to work with startups, businesses, and individuals who need help developing or improving their mobile applications.

What I can help you with:

  • Building mobile applications using Flutter and Dart.
  • Creating responsive and modern UI designs.
  • Firebase Authentication and Firestore integration.
  • REST API integration.
  • Google AdMob integration (Banner, Native, Interstitial, App Open).
  • In-App Purchases and subscriptions using RevenueCat.
  • Fixing bugs and improving existing Flutter applications.
  • Publishing and preparing apps for Google Play Store and Apple App Store.

My technical skills:

Flutter, Dart, Firebase, REST APIs, Provider, GetX, SharedPreferences, Hive, AdMob, RevenueCat and Git.

Availability: Open to freelance projects and long-term collaboration.

Location: Pakistan (UTC+5)
Work preference: Remote | International clients welcome.

If you have a mobile app idea, an existing app that needs improvements, or specific Flutter tasks, feel free to send me a Reddit DM.

I'm happy to discuss your requirements, timeline and budget.

Thanks for reading!


r/FlutterDev • • 7h ago

Discussion Can someone explain why ImageFiltered causes lag when it comes to blurring large amounts of text?

2 Upvotes

Genuinely curious.


r/FlutterDev • • 9h ago

Discussion Play rejected our update because a card hid itself after the user granted a Health Connect permission

14 Upvotes

We read one health metric from Health Connect and show it in a single card. If the user granted permission but had no readings yet, we hid the card. It seemed tidy: nothing to show, so show nothing.

Play rejected the update. From the reviewer's side, they granted the permission and then nothing on screen used it, so the app looked like it was asking for health data it didn't need.

The fix was a boring empty state. The card now stays after permission is granted and says there are no readings yet. It went through after that.

Two things I took from it. Every health permission needs a visible feature a reviewer can find in a minute, even on an account with zero data. And "hide when empty" is a bad default for anything that sits behind a permission.

Has anyone else been caught in review by something that only happens on an empty account? Curious what other empty-state traps are out there.


r/FlutterDev • • 12h ago

Discussion How do certain apps make a custom in app browser window?

4 Upvotes

I'm looking at some ecommerce apps and some of them have a slider as an in app browser rather than a new window. example of what im talking about here: https://imgur.com/a/AUJM13U
is this just them displaying the checkout link with a webview?


r/FlutterDev • • 17h ago

Plugin I shipped smart_context_menu 1.1.0 with actions row, right-click, and hover.

Thumbnail
raw.githubusercontent.com
15 Upvotes

Hi, r/FlutterDev! 👋

Back in October, I shared my first Flutter package here, smart_context_menu: a configurable context menu styled like iOS menus. Items can have live updates, and submenus can be loaded on demand or fetch longer lists a page at a time.

A commenter asked for right-click support on desktop, and I'm glad to say that's now in 1.1.0 version. Thanks for the feedback! On desktop and web, you can now open the menu with a right-click or a two-finger click on a trackpad. Menu items highlight on hover, too.

I also added action rows. They let you group common actions like Copy, Share, and Rename (say, in a file menu) together. The rest of the actions can go in a regular list, or you can use an action row as the entire menu. For example, the drawing toolbar in the image has an action row with a Shapes button which opens a submenu to select a shape.

I wanted rows to be as flexible as the rest of the menu. They can be added anywhere, and can show icons with or without labels, use custom styling, or even render a cell with a custom widget. Items in a row can open paginated submenus and update while the menu is open.

Try the live demo  · 90-second video overview

Package on pub.dev

I have a couple of questions for you.

1. cupertino_ui - Has anyone here started using cupertino_ui in their apps? Do you think it’s worth moving Smart Context Menu to it now, or would you wait?

2. Liquid Glass - Are you already using Liquid Glass in your Flutter app, or planning to adopt it? How important is it to you that context menus use Liquid Glass too?

Happy Thanksgiving to everyone celebrating! 🦃


r/FlutterDev • • 22h ago

Discussion RevenueCat vs in_app_purchase with a custom backend for Flutter subscriptions: where's the tipping point?

8 Upvotes

For Flutter apps with subscriptions, I see two common approaches: RevenueCat for fast setup or the in_app_purchase plugin plus a custom backend for receipt validation. RevenueCat saves a lot of time, but its cost grows with revenue and it adds a third-party dependency for a critical flow. At what point does going custom start to make sense: revenue size, need for custom entitlements or data ownership? And how much of the work (restore purchases, refunds, expired subscriptions, grace periods) did you underestimate?


r/FlutterDev • • 22h ago

Discussion Integration tests for an app with dozens of small screens: one big smoke test, or split it up?

1 Upvotes

I've been working on a Flutter puzzle app that has dozens of separate mini-games, each with its own board and input. Testing the game rules with unit tests was the easy part.

Integration tests are where it gets messy. A single test that opens every game and makes a move takes ages on an emulator, and any screen with a looping animation makes pumpAndSettle hang, so I keep adding hand-tuned pump durations.

If your app has lots of independent screens, how do you handle it? One big smoke test, one test per feature, or mostly widget tests with just a few real-device flows? Interested in what has actually held up for you.


r/FlutterDev • • 23h ago

Discussion Google Play Billing – “You Already Own This Item” Error in Flutter

1 Upvotes

Hi everyone,

I have implemented In-App Purchases (subscriptions) in my Flutter application using Google Play Billing.

The first purchase flow works correctly:

- I added my Gmail account to the License Testing section in Google Play Console.

- The purchase popup opens successfully.

- I can complete the subscription without any issues.

However, when I try to purchase the same subscription again, I always get the following error:

“You already own this item.”

Things I have already tried:

  1. Refunded all test purchases from Google Play Console.
  2. Cleared Google Play Store cache and data.
  3. Uninstalled and reinstalled the application.
  4. Tried purchasing again after refunding.
  5. Switched Google accounts in the Play Store, but the app still seems to use the previous account.

Unfortunately, the issue is still not resolved.

My questions:

- Why does Google Play still consider the subscription active after it has been refunded?

- How can I completely reset the test purchase state?

- Why is the Play Store not recognizing the newly switched Google account?

- Is there any additional step required to test the same subscription multiple times?

I would really appreciate any guidance or suggestions from developers who have faced this issue.

Thanks in advance!


r/FlutterDev • • 23h ago

Article Shorebird can now send a signed webhook when a release is created or a patch is promoted or rolled back

6 Upvotes

We just shipped outbound webhooks, and I know a few of you run Shorebird from CI, so I thought I'd post.

When something happens in your org, we POST to an HTTPS endpoint you run. On Business you get release, patch and channel events: release created, patch promoted to stable, rolled back or rolled forward, channel created or deleted. On Enterprise it can be any event in the audit log, so you can stream it into a SIEM instead of polling.

If you're wiring one up:

- Each delivery is one OCSF 1.9.0 API Activity event as JSON.

- It's signed per the Standard Webhooks spec (webhook-id, webhook-timestamp, webhook-signature headers), so any Standard Webhooks library can verify it.

- Return a 2xx within 5 seconds and do the slow work after. Timeouts, 408, 429 and 5xx get retried with backoff, up to 6 attempts.

- Retries keep the same webhook-id, so dedupe on that. Events can arrive out of order, so sort by `time`.

- Up to 5 webhooks per org, and there's a test ping button to check your endpoint.

- Scheduled changes (a patch approved to ship later, a scheduled rollout bump) show up in the audit log but aren't sent to webhooks.

Setup is Settings > Webhooks in the console. More in the blog post: https://shorebird.dev/blog/stream-shorebird-events-to-your-webhooks/?utm_source=reddit&utm_medium=social&utm_campaign=webhook-streaming-socials&utm_content=reddit-webhook-streaming-socials

Ask here or on Discord (https://discord.gg/shorebird). We're curious what you'd point this at besides a chat channel.


r/FlutterDev • • 1d ago

Plugin We built TkushPatch (tk_ota_push v2.0.5): Flutter OTA Code Push for Android & iOS with a Self-Hosted option

4 Upvotes

Hi r/FlutterDev!

Over the past months, we built TkushPatch (tk_ota_push on pub.dev) — an Over-The-Air (OTA) differential Code Push platform for Flutter on Android (.aab / .apk) and iOS (.ipa).

While existing cloud OTA services work great for many teams, we kept running into teams (especially in regulated industries, fintech, and mobile agencies) that needed either private self-hosted deployment, server-side key isolation, or pre-release team approval gates before an update reaches production devices.

What TkushPatch provides:

  • 2-command CLI workflow: Register a release (tkushpatch release 1.0.0+1) and ship a differential Dart hotfix (tkushpatch patch 1.0.0+1 --rollout 25) in minutes without waiting 24–72h for store review.
  • Managed Cloud or Self-Hosted (On-Premise / Private Cloud): Run on our managed cloud or deploy the control plane on your own infrastructure.
  • Server-side cryptographic signing: Private signing keys stay isolated server-side while mobile apps verify authenticity on-device before activation.
  • Pre-release approval workflow: Require an explicit reviewer approval in the web console before a staged patch becomes live for end users.
  • Progressive & geo-targeted rollouts: Roll out updates gradually by percentage (--rollout) or target specific country codes (--countries).
  • Automatic startup protection: Built-in SDK protection automatically rolls back to the previous stable version if a patch fails at startup.
  • Flavors & multi-environment support: Native support for --flavor, custom entrypoints (-t), and --dart-define.

Links:

We'd love to get your feedback on the CLI ergonomics and multi-environment workflow!


r/FlutterDev • • 1d ago

Article Flutter Windows CMake error: .plugin_symlinks exists, but its entries cannot be traversed

3 Upvotes

I recently investigated a strange Flutter Windows build failure:

CMake Error:
add_subdirectory given source
"flutter/ephemeral/.plugin_symlinks/<plugin>/windows"
which is not an existing directory.

Initially, I suspected a Flutter plugin or CMake configuration issue. However, the plugin packages were actually present in the Pub cache.

After comparing NTFS reparse point data and testing Dart's Link.createSync() with different target paths, I narrowed down the issue.

In our managed Windows environment, a third-party endpoint security driver (Corplink) was interfering with the creation of Flutter's plugin symlinks, leaving some generated links unusable.

The workaround: use Windows junctions instead of symbolic links.

I built a small Dart CLI tool to automate this process:

https://pub.dev/packages/win_plugin_link_repair

Install and run:

dart pub add --dev win_plugin_link_repair
flutter pub get
dart run win_plugin_link_repair

Preview the changes first:

dart run win_plugin_link_repair --dry-run

The tool reads .flutter-plugins-dependencies and recreates Windows plugin links as directory junctions using mklink /J.

A few notes:

  • The repair must run on Windows.
  • Run it after flutter pub get, since Flutter regenerates .plugin_symlinks.
  • This is an environment-specific workaround, not a general fix for every Flutter CMake error.

Source code: https://github.com/super-lz/win_plugin_link_repair

Full disclosure: I'm the author of this tool. I wanted to share the investigation because others might encounter the same issue.

Has anyone else experienced endpoint security software or filesystem filter drivers interfering with Dart-created symlinks on Windows?


r/FlutterDev • • 1d ago

Discussion Are we building apps for a world that’s about to disappear?

15 Upvotes

With the rapid development of personal AI agents like Muse, I’m starting to wonder what the future of mobile apps actually looks like.

If AI agents can understand users, manage their data, make recommendations, and perform tasks on their behalf, will people even need dedicated apps anymore?

I’m an independent developer currently building a fitness app with Flutter. I’ve invested a lot of time and effort into developing my product, but lately, I’ve been feeling increasingly uncertain about its future.

It’s not just about AI making app development easier or increasing competition. I’m more concerned about AI fundamentally changing how people interact with software, potentially eliminating the need for many standalone apps altogether.

I’d love to hear what other Flutter and mobile developers think.

* Are you worried about the future of mobile apps?

* What kinds of apps do you think will survive in the age of personal AI agents?

* What competitive advantages can independent app developers still build?

* Are you changing your product strategy because of AI?

* If you were building an app today, would you continue investing in it or pivot to something else?

Part of me wonders whether I should cut my losses and move on, but another part of me believes there must still be opportunities for mobile apps.

I’m genuinely curious about how other developers are thinking about this.

What’s your take?


r/FlutterDev • • 1d ago

Discussion 23 locales in ARB files on a two-person team. How do you check translations you can't read?

0 Upvotes

We're a two-person team with a small consumer app, and it ships in 23 languages. Neither of us speaks more than two of them.

It started as a cheap bet. Translating the strings with AI took an afternoon, and we figured more languages meant more store searches we could show up in.

What we didn't plan for is the upkeep. Every new screen now means 23 sets of strings. Plurals and gendered words break in ways we can't see. And we can't tell if a language reads naturally or like a machine wrote it, because we can't read it.

The surprise is that some of the smaller languages get found more easily than English, probably because there's less competition there.

So now I'm not sure which way to go: keep all 23 and accept that some read a bit off, or cut down to the handful we can actually check.

If you've localized a small app this wide, how do you check quality in languages you don't speak? And did cutting languages ever hurt you?


r/FlutterDev • • 1d ago

Discussion How are Flutter teams handling golden tests in CI in 2026 without bloating Git or paying for macOS runners?

13 Upvotes

Hey everyone, curious how teams with real production Flutter apps are handling visual regression / golden tests right now.

Every setup I've seen ends up with one of three headaches:

  1. Committing hundreds of PNGs to Git (or fighting Git LFS in CI).
  2. Mac vs Linux font rendering diffs forcing teams to either run expensive macos-latest runners or maintain Docker setups.
  3. Reviewing 30+ changed PNGs one-by-one in GitHub's PR diff UI whenever a shared widget or .arb translation changes.

Are most teams using Widgetbook Cloud, Alchemist + Docker, macOS GitHub runners, or did you just give up on golden tests altogether?

Asking because I'm considering building a super lightweight, Chromatic-style web PR diff viewer specifically for plain flutter test / Alchemist goldens (no Widgetbook required, baselines stored in cloud instead of Git), and I want to know if this is still an actual pain or already solved for you.


r/FlutterDev • • 1d ago

Article Review in Dependency Order: A Method for Large (and AI-Written) Pull Requests

Thumbnail
kiransaidev.hashnode.dev
0 Upvotes

r/FlutterDev • • 1d ago

Example AI agent tools for Flutter development worth a look

3 Upvotes

For anyone using Claude Code, Cursor or Copilot with Flutter, these may be worth a look:

- Flutter Agent Plugins and Dart Skills, from the Flutter and Dart teams

- Marionette MCP from LeanCode, the team behind Patrol. It lets your agent interact with the running app (tap, read logs, hot reload), so it can verify its own UI changes

- Context7, for up-to-date package documentation

One note on Marionette: apps with a custom design system need one configuration step before the agent can see your widgets.

These are part of a broader list I maintain: https://github.com/uveshm003/ai-dev-toolkit


r/FlutterDev • • 1d ago

Discussion Looking for responses from developers and programming students

2 Upvotes

Hey everyone!

I'm conducting a small research survey to understand how developers and programming students manage their learning journey.

As developers, we constantly learn new technologies, explore frameworks, solve bugs, and encounter concepts that take time to understand.

I'm interested in understanding how people keep track of their learning and manage the knowledge they gain along the way.

I've created a short survey that should take around 2–3 minutes to complete.

Google Form: link

Thanks


r/FlutterDev • • 1d ago

Tooling I built an open-source anime streaming & download app with Flutter and media_kit (libmpv) – Inspired by ani-cli [100% Dart / MIT]

1 Upvotes

Hi r/FlutterDev!

I've been working on a little project over the past few weeks and thought I'd share it here. my reason for sharing is kinda awful haha. i just want some stars for my github porfolio.

It's called ani-mobile, an anime streaming and offline download app built entirely with Flutter and Dart. The idea was to create something similar in spirit to ani-cli, but with a proper cross-platform UI.

It's completely free, ad-free, and open-source under the MIT License.

GitHub: https://github.com/NonLaHu/ani_mobile

A little about how it works

One of the things I spent quite a bit of time on was video playback. Instead of using the default platform video players, I went with media_kit and native libmpv binaries. It gives me better control over playback, including HLS streaming and handling different subtitle and audio tracks.

Another challenge was dealing with video sources. Some CDNs require specific HTTP headers, otherwise they simply return 403 Forbidden. I had to make sure those headers were passed correctly through both Dio and MediaKit's native streaming layer, especially Referer and Origin.

I also added automatic fallback handling. If a video source stops working or gets blocked, the player can try another quality or mirror instead of just leaving the user with a broken player.

As for the architecture, there's no centralized backend involved. The app handles scraping directly on the device using CSS selectors and regular expressions.

Give it a try!

You can check out the source code, build it yourself with flutter run, or grab a precompiled APK from the GitHub Releases page.

I'm still working on the project, so feedback and suggestions are very welcome. I'd also appreciate a GitHub star if you find it interesting!

Thanks for taking a look!


r/FlutterDev • • 1d ago

Article Matching iOS text tracking in Flutter

Thumbnail
kekland.substack.com
1 Upvotes

r/FlutterDev • • 1d ago

Article Shorebird now supports percentage rollouts for Flutter patches

19 Upvotes

Hey r/FlutterDev, Shorebird team here.

One of the scariest parts of code push is that a patch goes to every user at once. If it has a bug, everyone gets the bug.

We just shipped percentage rollouts to fix that. You can send a patch to a share of your users first and raise it as you gain confidence:

shorebird patch android --release-version 1.0.0+1 --track stable --rollout 10

Then, when you're happy:

shorebird patches rollout --release-version 1.0.0+1 --patch-number 1 --percentage 50

A few details people usually ask about:

  • How devices are picked: each install has a random anonymous ID. We hash it with the patch to give the device a fixed spot from 0 to 100%. At 10%, the bottom 10% get it. Different patches shuffle the order, so the same users aren't always first.
  • Rolling back: devices that got the patch remove it on their next check. At 10%, the other 90% never saw it.
  • Percentages only go up. If you need to lower one, the older tracks-based approach still works.
  • Requirements: Shorebird CLI 1.6.139+ and a release built with Flutter 3.35.7+. Older releases get patches at 100%.
  • Plans: basic rollouts work on every plan. Scheduled rollouts (for example 1% → 10% → 50% → 100% with weekends skipped) are Enterprise.

Full write-up: https://shorebird.dev/blog/percentage-rollouts/?utm_source=reddit&utm_medium=social&utm_campaign=percentage-rollouts-for-patches&utm_content=reddit-launch-post

Happy to answer questions in the comments.


r/FlutterDev • • 2d ago

Discussion Foss YouTube client for Android with no ads, no login, PiP and offline downloads: HiveTube v1.16.0

3 Upvotes

Tired of ads, tracking and forced Google login? I built HiveTube.

- Ad-free YouTube + Shorts, no account needed

- Background play, native PiP, audio-only mode

- Downloads up to 1080p, or audio only

- Smart multi-language feed (Tamil, Hindi, Tanglish, Hinglish and more)

- Return YouTube Dislike, chapters, comments, captions

- No ads, no trackers, free, open source

Download: github.com/harish-srinivas-07/hivetube

Storyline:

I already built Hivefy, a Spotify-style music app. HiveTube is the video side of it

hivefy

- Subscriptions via public RSS, stored only on your device

- Home feed built on-device, no central algorithm

- Import subs from Google Takeout, JSON backup/restore

- Themes: System, Light, Dark, OLED black

- Planned: SponsorBlock, NewPipe import, seekbar previews

Feedback, issues and PRs welcome.

Tell me what to fix or add.


r/FlutterDev • • 2d ago

Plugin Is there a floating package equivalent for iOS?

1 Upvotes

I would like to have picture in picture mode outside of the app.