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 • • 22h ago

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

9 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 • • 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 • • 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](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 • • 55m ago

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

Thumbnail
antmedia.io
• 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 • • 23h ago

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

5 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 • • 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!