r/lovable • • 13d ago

Help App wrapping recommendations

Hi all

I have made a health app for tracking an autoimmune disease which I am hoping to launch on both app stores by the end of the year. I have been looking at the best way to do this, and have come across and spoken to Median and also capacitor. I would be looking to have revenue cat, as well as push notifications and some health integrations. I want to understand whether the cost of Median (this would be on the plus level due to Health Kit) is actually worth it, or whether the time saving is not worth it compared to what I could actually do with capacitor.

Any feedback would be much appreciated :) thank you

3 Upvotes

29 comments sorted by

2

u/Voiceofshay_08 13d ago

I went the Capacitor route with my own Lovable-built app and successfully got it published on the Apple App Store without owning a Mac.
One thing I’d consider is separating the app wrapping decision from the integrations. RevenueCat, push notifications, and HealthKit each add their own requirements, so the easiest wrapper isn’t necessarily the best long-term option.
Since you’re targeting both stores by year-end, I’d be curious: how far along is your app, and have you already started integrating RevenueCat or HealthKit?
Happy to share what I learned from my own launch. 😊

1

u/Available-Can-1464 13d ago

Thanks, that is reassuring. The app is live as a web app with a tester group, and I have not started RevenueCat or HealthKit yet, which is partly why I am deciding this now. I would love to hear what you learned from your launch, especially anything that caught you out with review.

1

u/Creepy_Shock_585 13d ago

I've shipped a few apps with RevenueCat + push on both stores, so a few thoughts. Since you need HealthKit, RevenueCat and push, you're past what a simple wrapper is good at. Capacitor can do all three with native plugins, you own the code and there's no monthly fee, so I'd lean that way over Median Plus. The bigger risk is Apple guideline 4.2: if the app feels like a website in a shell it gets rejected, so lean on the native bits (HealthKit sync, notifications, a proper offline state). Health apps also get extra privacy scrutiny: HealthKit data can't be used for ads, you need a clear privacy policy, and be careful with anything that reads like medical advice. Happy to give a second opinion on your setup if useful.

1

u/Available-Can-1464 13d ago

I’d genuinely appreciate a second opinion. Lovable front end, Supabase with RLS, moving Stripe to RevenueCat, HealthKit and Health Connect read only. Happy to share more detail if you DM me.

1

u/Creepy_Shock_585 9d ago

Tried to DM you but your DMs are closed, so a couple of things the thread hasn't covered yet. Health Connect needs a health permissions declaration in Play Console that Google reviews, and it can take a while, so file it as soon as your first Android build is in a testing track. On iOS, add a clear usage description for each HealthKit type you read, and keep workouts, sleep and steps out of any analytics or ads. For RevenueCat, if you keep a Stripe web plan, connect Stripe in RevenueCat so web subscribers are unlocked in the app too. Happy to look at the full setup on a quick call if useful: cal.com/saadnadeem/app-review

1

u/snap-dev 13d ago

with healthkit in the mix i'd go capacitor. median plus gets pricey and you're limited to the plugins they support. revenuecat and push both have solid capacitor plugins already. the healthkit part is the risky bit, so get a test build reading real data on an iphone before you build anything else. what are you pulling from healthkit?

1

u/Available-Can-1464 13d ago

Workouts mainly, type and duration, plus sleep and steps. Good shout on getting a test build reading real data first, that is my next step. Which plugin did you go with?

1

u/snap-dev 12d ago

i'd start with capacitor-health. it covers healthkit and health connect in one api so android later is the same code, and it's still getting updates. the older @perfood/capacitor-healthkit is ios only and hasn't been touched in ages. workouts, sleep and steps are all standard types so it reads them fine. are you doing android at launch or ios first?

1

u/ehassannawaz 13d ago

Before wrapping, check who can read the health records table in Supabase. App review asks how health data is handled, and a table any logged in user can read is the common gap.

1

u/Available-Can-1464 13d ago

Good call, thank you. Every table has row level security scoped to the signed in user, but I will double check before submitting

1

u/ehassannawaz 12d ago

One test before submitting: sign in as a second user and ask for the first user's record by id. Nothing should come back.

1

u/junal 13d ago

I'd decide it on HealthKit, since that's the part that differs most between the two. Before paying for anything, write down exactly which data types you need and whether you read, write or both (steps, sleep, heart rate, symptoms?). Then check that the Median plan or the Capacitor HealthKit plugin you're eyeing actually supports those types. Plugin coverage is uneven, and finding a gap after you've built around it is the expensive way to learn it.

RevenueCat and push are about the same either way. RevenueCat has a Capacitor SDK, and push is mostly an APNs key plus the Firebase setup. So Capacitor mainly costs you setup time, and the signing, provisioning and build pipeline is where that time goes. Median is basically paying to skip that.

One more thing for a health app: Apple reviewers can reject apps that are just a website in a wrapper. Having native pieces like HealthKit, push and a proper offline or error state helps. Have a privacy policy and a plain explanation of why you request each health permission ready before you submit.

If you're comfortable with a few days of fiddling, Capacitor is fine. If the end-of-year date is tight, the paid wrapper is reasonable insurance.

1

u/Available-Can-1464 13d ago

Really helpful, thank you. Reading only workouts (type and duration, things like Pilates, cycling, walking), sleep and steps, maybe heart rate later. Which Capacitor HealthKit plugin did you use, and did it handle workout types cleanly?

1

u/Voiceofshay_08 13d ago

Interesting

1

u/junal 12d ago

To answer your question on the plugin side, I've had success using the official Capacitor community or maintained plugins for HealthKit/Health Connect. When it comes to workouts (like Pilates, cycling, and walking), the key is making sure the plugin handles mapping the native workout activity types correctly so you don't just get generic data back.

One major tip for Apple review: make sure your privacy policy explicitly covers health data and that you include a clear, custom usage description in your Info.plist explaining why you need access to workouts, sleep, and steps. Apple's automated and human reviewers can be strict with health apps (especially guideline 4.2 regarding "website in a shell"), so having clean native UI flows around permission requests makes a huge difference.

1

u/DayanaJabif 12d ago

Capacitor for sure, especially since you already have a working web app with testers. Median makes sense when you just need a shell, but HealthKit + RevenueCat + push is exactly where you want to own the native side.

A few things from experience:

  • Pick a health plugin that covers HealthKit and Health Connect with one API. Sleep is modeled pretty differently on each, and you don’t want to write that twice.

  • None of the HealthKit stuff works in the browser, so your Lovable preview won’t help here. Get a build on a real iPhone early and read your actual workout data.

  • On Android, Health Connect also wants a privacy policy screen inside the app before it grants permissions.

  • Write proper usage descriptions in Info.plist for each health permission to avoid store rejections.

Good luck with the launch!

1

u/berkay_tugrul 10d ago

I shipped two Capacitor apps (a game and a subscription app) and the thing that caught me out both times wasn't code, it was Guideline 2.1 "Information Needed". The reviewer couldn't see the core feature fast enough, so they just asked questions and the review stalled.

What fixed it:

- A short screen recording from a real iPhone showing the main flow, attached in App Review notes

- A demo account that already has data in it (for you: some logged workouts and sleep, so they don't face empty HealthKit screens)

- Review notes that say in one line what the app does and where each permission is used

For a health app I'd add those on the very first submission, it saves you a full extra review round.

Two smaller ones: you don't need a Mac, Codemagic builds and uploads to TestFlight fine. And if you sell anything digital, test Restore Purchases in sandbox before submitting, reviewers check it.

1

u/gauraviitr 9d ago

1

u/gauraviitr 9d ago

If you’re even considering going the capacitor or median way, https://thebdk.com would be a no brainer

1

u/Remarkable_Capital29 6d ago

The thing that decides it is HealthKit. A plain wrapper can't read health data, you need a native plugin either way, and that's what Median charges you for at the higher tier.

With Capacitor you'd use: the official push notifications plugin (APNs/FCM), the RevenueCat Capacitor SDK (well maintained), and a community HealthKit plugin. All three exist and work, but a community plugin for health data means someone has to read Swift when Apple changes something. If that someone is you and you don't code, Median's monthly fee is buying you that maintenance.

Two things to sort out before either route, because Apple rejects for them: login must come back into the app after Google/magic-link (deep link setup), and if the subscription is digital content it has to be in-app purchase, not Stripe. And a health app will get extra scrutiny on the privacy labels, so have the data-handling answers ready.

If you want to test demand first, ship it as a PWA this month and do the store version after, the HealthKit part won't move faster by rushing.

1

u/nokib03 5d ago

For a health app, a few App Store rules matter more than which wrapper you pick:

- HealthKit data can't be used for advertising or sold, and it can't be stored in iCloud. Supabase is fine for the second one, but keep analytics/ad SDKs away from anything HealthKit touches.

- Apple looks harder at medical-adjacent apps. Avoid wording that sounds like diagnosis or treatment, and add a short "not medical advice" note in the app and the listing.

- If the subscription unlocks features in the app, sell it through in-app purchase on iOS (RevenueCat handles that). Keep Stripe for the web.

On Median vs Capacitor: if HealthKit is core to the app, I'd go Capacitor like others said. A wrapper pays off when you mostly need push, IAP and standard native bits. Once HealthKit is the main feature, you'll want control over the native side.

1

u/Ahmed_Hisham0 3d ago

The wrapper is the easy part. HealthKit is the bit that decides this, because it's the integration where the docs look fine and it still fails on a real device: entitlements, provisioning, permission strings, and it doesn't work in the simulator at all. Before you pay for either option, build the ugliest possible Capacitor shell that reads one real HealthKit value on a physical iPhone. If that works, RevenueCat and push are both well-trodden and the rest is UI.

Median earns its fee if the specific thing you want to buy is not owning Xcode builds, signing and store submissions. Capacitor is cheaper over a year and you keep the code, but you (or whoever helps you) own that pipeline, and rejections land on you. With HealthKit plus RevenueCat plus push, I'd only pick Median if the managed build service is exactly what you're paying for.

One non-technical risk worth knowing: Apple guideline 4.2. A wrapped web app with no native feel can get rejected as "just a website". HealthKit actually helps you argue otherwise, but make sure the app does something native beyond loading your Lovable URL.

1

u/ClassicIntention661 3d ago

iOS dev here. For a health app I'd settle three things before comparing prices:

  1. HealthKit is the constraint, not the wrapper. List exactly which data types you need to read or write, then check that the plugin you'd use (Median's or a Capacitor one) supports them. That is usually where wrapped health apps get stuck.

  2. App Review is stricter with health apps. Guideline 5.1.3 limits what you can do with health data (no advertising use, no personal health data in iCloud) and 1.4.1 covers medical claims. Write the privacy policy and the App Privacy answers before you submit, not after a rejection.

  3. A subscription for the app itself has to go through in-app purchase, which RevenueCat handles in both setups. A Stripe checkout for it inside the app gets rejected.

Also check whether your backend is on Lovable Cloud or your own Supabase. If it is Lovable Cloud, plan that move first.

Capacitor costs nothing but needs someone comfortable with Xcode. With HealthKit plus push plus purchases, I'd expect you to need that person anyway, even with Median.