Sample audit · 1 December 2026
Ritmo: what an audit finds in an app built with Lovable
We built Ritmo, a habit tracker, in Lovable from a single prompt, the way someone who does not code would, and audited it with the same checklist we use for clients. Every finding below is real for this app. No client data: the app is ours.
The database is in good shape. What blocks the launch is everything the stores add: there is no iPhone or Android app yet, no in-app purchase, no account deletion, and a paid perk that does not exist.
- The app
- Email sign-up, daily habits with streaks and a weekly chart. Three habits free; Pro at €4.99 a month for unlimited habits, reminders and full stats.
- Built with
- Lovable: a TanStack Start web app with a Lovable Cloud (Supabase) database. One prompt, about ten minutes.
- Owner's goal
- Publish in the App Store and Google Play with the Pro subscription.
- Audit
- iPhone, Android and backend: €990, three working days.
Scorecard
| Area | Status | Critical | High | Medium | Low |
|---|---|---|---|---|---|
| App Store review | Red | 2 | 4 | 0 | 1 |
| Payments and subscriptions | Red | 1 | 2 | 1 | 0 |
| Google Play | Red | 1 | 2 | 0 | 0 |
| Security and data | Amber | 0 | 1 | 1 | 2 |
| Architecture and running costs | Amber | 0 | 0 | 3 | 0 |
| Total | 4 | 9 | 5 | 3 |
Already done well
- Row Level Security is on for all four tables, and every rule limits a row to its owner.
- The free limit of three habits is enforced by the database, not only by the screen.
- Users can read their plan but cannot change it; only the server can.
- Profile photos are in a private bucket and are shown through links that expire after an hour.
- The app contains only the public key, and no rule gives anonymous visitors access to any table.
In 2025 a scan found 303 exposed database endpoints in 170 Lovable apps (CVE-2025-48757). Ritmo shows how much the defaults have improved, and that the remaining work is mostly what the stores require.
Findings
Ranked by severity. Critical: blocks approval or exposes data or money. High: likely rejection or a real risk in the first month. Medium: fix within the first month. Low: worth doing later. Times are our estimates for the fix.
App Store review
| ID | Severity | What we found | Why it matters | Fix | Time |
|---|---|---|---|---|---|
| A-1 | Critical | There is no iPhone app: Ritmo is a website. | Apple rejects a website in a wrapper under rule 4.2 (minimum functionality), and today there is nothing to submit. | A native shell with Capacitor for iPhone and Android, with native notifications and purchases, so the app does more than the website. | 16 h |
| A-2 | Critical | Habit trackers are one of the most crowded categories, and Ritmo's features (habits, streaks, a weekly chart) match what is already widely available. | Since June 2026 Apple rejects and removes apps it sees as indistinguishable from others, under rule 4.3(b). | Choose one thing only Ritmo does, show it on the first screen and explain it in the review notes. We propose three options. | 2 h |
| A-3 | High | "Daily reminders" are sold as a Pro benefit but are not built. | Selling a feature that does not exist breaks App Store rule 2.3 (accurate metadata) and EU consumer law. | Build reminders with local notifications, or remove them from the paywall until they exist. | 6 h |
| A-4 | High | There is no way to delete the account inside the app; the profile screen offers only "Sign out". | Rule 5.1.1(v) requires account deletion in every app that lets people sign up. | "Delete account" with confirmation, run by a server function (see S-1). | 2 h |
| A-5 | High | No privacy policy or terms anywhere: not at sign-up, not on the paywall, not in the profile. | Required by Apple rule 5.1.1(i) and by Google Play, and needed under the GDPR. | Privacy policy and terms in English and Spanish, linked in the app and in both store listings. | 3 h |
| A-6 | High | The sign-up confirmation link points to the website, and there is no password reset. | In a phone app the link opens the browser instead of the app, so new users get stuck, and reviewers usually sign up. A forgotten password locks people out of their streaks. | Universal links and Android app links, password reset by email, a demo account in the review notes. | 7 h |
| A-7 | Low | Template leftovers in the page data: author "Lovable" and Twitter account @Lovable. | Points reviewers to a template app and shows the wrong owner in link previews. | Replace with Ritmo's own details. | 0.5 h |
Payments and subscriptions
| ID | Severity | What we found | Why it matters | Fix | Time |
|---|---|---|---|---|---|
| P-1 | Critical | No way to pay: the Upgrade button shows "Payments are coming soon". | Inside the iPhone and Android apps a digital subscription is sold through Apple In-App Purchase and Google Play Billing (App Store rule 3.1.1); links to outside payment are allowed only in some countries and under extra rules. | RevenueCat with StoreKit 2 and Play Billing, and a €4.99 monthly product in both stores. | 12 h |
| P-2 | High | Nothing changes a user's plan after a purchase, renewal, cancellation, refund or failed payment. The plan table is ready, but no server code writes to it. | Paying users would not get Pro, and people who cancel would keep it. | A RevenueCat webhook to a server function that updates the plan for every event, with a grace period for failed payments. | 6 h |
| P-3 | High | The paywall shows only the price and "Cancel anytime": no auto-renewal text, no links to the terms and privacy policy, no Restore Purchases. | Apple asks for all of these under rules 3.1.1 and 3.1.2; missing them is a common reason for rejection. | Add the renewal text, the two links and a Restore button. | 3 h |
| P-4 | Medium | For free users the "full stats" are calculated and drawn on the screen, only blurred. | The paid feature can be read without paying, for example with the browser's developer tools on the web version. | Show free users a placeholder and calculate Pro stats only for Pro. | 2 h |
Google Play
| ID | Severity | What we found | Why it matters | Fix | Time |
|---|---|---|---|---|---|
| G-1 | Critical for the date | If the owner's Google Play account is a personal one created after 13 November 2023, the app needs a closed test with at least 12 testers for 14 days in a row before it can go to production. | This, not the code, sets the earliest Android launch date. | Start the closed test in week 1 with 15–20 testers, or register as an organization if the owner has a company. | 2 h |
| G-2 | High | There is no Android project yet; when it is created it must target Android 16 (API level 36). | Since 31 August 2026 Google Play does not accept new apps or updates that target a lower level. | Set the target in the Capacitor project and test the Android 16 behaviour changes. | 1 h |
| G-3 | High | No web page for deleting an account; the Data safety form, content rating and target audience are not prepared. | Google Play requires a deletion link in Play Console for apps with accounts, and the forms before release. | A simple deletion page on the app's site and the forms filled in to match what the app collects. | 3 h |
Security and data
| ID | Severity | What we found | Why it matters | Fix | Time |
|---|---|---|---|---|---|
| S-1 | High | Only the profile is removed together with the account. Habits, daily ticks and the plan row have no link to the user and would stay in the database. | Personal data left after deletion breaks the GDPR right to erasure and Apple rule 5.1.1(v), which expects the account's data to go too. | Foreign keys with cascade delete, and the user's photos removed by the same server function. | 2 h |
| S-2 | Medium | Photo upload accepts any file of any size; every change adds a new file, old ones are never deleted, and users cannot delete their photo. | Storage costs grow, and old photos stay after a user replaces or removes them. | Type and size limits on the bucket, one file per user, and a delete rule. | 2 h |
| S-3 | Low | Two requests sent at the same moment can create a fourth free habit: the limit counts rows without a lock. | A small leak in the paid limit that is easy to close. | A per-user lock in the database rule. | 1 h |
| S-4 | Low | Passwords can be six characters long. | Weak passwords make accounts easier to take over. | At least eight characters and the leaked-password check. | 0.5 h |
Architecture and running costs
| ID | Severity | What we found | Why it matters | Fix | Time |
|---|---|---|---|---|---|
| R-1 | Medium | No crash reporting, and no events for sign-up, paywall shown and purchase. | After launch nobody knows where the app crashes or where people give up. | Sentry and four events, without personal data. | 3 h |
| R-2 | Medium | The photo bucket was created by hand, outside the database migrations. | A new test or production environment would be missing it, and photo upload would fail there. | Create the bucket and its limits in a migration. | 0.5 h |
| R-3 | Medium | One backend serves building, testing, store review and real users. | Test purchases and review accounts mix with customers' data. | A separate test environment with its own keys. | 2 h |
Store readiness
- ✗Apple 4.2: more than a website in a wrapper · A-1
- ✗Apple 4.3(b): a clear reason to exist next to competitors · A-2
- ✗Apple 3.1.1 and 3.1.2: in-app purchase, restore, paywall disclosures · P-1, P-3
- ✓Apple 4.8: Sign in with Apple is not needed, because there is no Google or Facebook sign-in
- ✗Apple 5.1.1(v): account deletion in the app, data included · A-4, S-1
- ✗Privacy policy in the app and in both listings · A-5
- ✗Google Play: closed test of 12 testers for 14 days, if the account needs it · G-1
- ✗Google Play: target API level 36, Data safety form, deletion link · G-2, G-3
- ✓Database rules: every table limited to its owner
Launch plan
- Week 1Native shell for iPhone and Android, RevenueCat with products in both stores, privacy policy and terms, Google closed test started.
Result: test builds on your phone through TestFlight and the Play internal test.
- Week 2Plan updates on the server, paywall disclosures and restore, reminders, account deletion with all data, app links and password reset, the differentiating feature.
Result: every Critical and High finding closed.
- Week 3Listings in English and Spanish, screenshots, App Privacy and Data safety, submission to Apple, answers to review and up to three resubmissions.
Result: live in the App Store; Google Play as soon as the 14-day test ends.
Not included: new features beyond this list, a redesign, marketing, the stores' developer fees (Apple $99 a year, Google $25 once) and RevenueCat's fee once revenue passes its free tier. Approval is Apple's and Google's decision; we fix everything their rules require for the agreed scope.
How we checked
- Read the code in Lovable's code view on 1 December 2026: database migrations, data access, and the sign-up, paywall, profile and stats screens.
- Sent anonymous requests with the app's public key to every table and to photo storage.
- Compared the app with the App Store Review Guidelines and Google Play's rules as published on 1 December 2026.
- Not part of this sample: tests on devices (there is no app binary yet), signed-in tests with two accounts, and a dependency audit. In a client audit they are day two.
Want this for your app?
Three working days, a written report like this one, and a fixed price for the launch. €490 for one platform, €990 for iPhone, Android and the backend, credited in full to the launch. No calls needed.
Request an auditSources
- Apple: App Store Review Guidelines
- MacRumors: Apple tightens rule 4.3(b), June 2026
- Google Play: account deletion requirements
- Google Play: testing requirements for new personal developer accounts
- Google Play: target API level requirements
- NVD: CVE-2025-48757, missing Row Level Security in Lovable apps
Auditoría de ejemplo · 1 de diciembre de 2026
Ritmo: lo que encuentra una auditoría en una app hecha con Lovable
Creamos Ritmo, una app de hábitos, en Lovable con una sola instrucción, como lo haría alguien que no programa, y la auditamos con la misma lista que usamos con nuestros clientes. Todo lo que aparece aquí es real para esta app. Sin datos de clientes: la app es nuestra.
La base de datos está bien. Lo que impide publicarla es todo lo que exigen las tiendas: todavía no hay app para iPhone ni Android, no hay compra dentro de la app, no se puede borrar la cuenta y se vende una ventaja de pago que no existe.
- La app
- Registro con email, hábitos diarios con rachas y un gráfico semanal. Tres hábitos gratis; Pro por 4,99 € al mes con hábitos ilimitados, recordatorios y estadísticas completas.
- Hecha con
- Lovable: una web TanStack Start con base de datos Lovable Cloud (Supabase). Una instrucción, unos diez minutos.
- Objetivo del dueño
- Publicarla en App Store y Google Play con la suscripción Pro.
- Auditoría
- iPhone, Android y backend: 990 €, tres días hábiles.
Resumen
| Área | Estado | Crítico | Alto | Medio | Bajo |
|---|---|---|---|---|---|
| Revisión de App Store | Rojo | 2 | 4 | 0 | 1 |
| Pagos y suscripciones | Rojo | 1 | 2 | 1 | 0 |
| Google Play | Rojo | 1 | 2 | 0 | 0 |
| Seguridad y datos | Ámbar | 0 | 1 | 1 | 2 |
| Arquitectura y costes | Ámbar | 0 | 0 | 3 | 0 |
| Total | 4 | 9 | 5 | 3 |
Lo que ya está bien
- Row Level Security está activada en las cuatro tablas, y cada regla limita cada fila a su dueño.
- El límite gratuito de tres hábitos lo aplica la base de datos, no solo la pantalla.
- El usuario puede ver su plan pero no cambiarlo; solo puede hacerlo el servidor.
- Las fotos de perfil están en un almacenamiento privado y se muestran con enlaces que caducan en una hora.
- La app solo contiene la clave pública, y ninguna regla da acceso a las tablas a visitantes anónimos.
En 2025 un análisis encontró 303 accesos abiertos a bases de datos en 170 apps de Lovable (CVE-2025-48757). Ritmo muestra cuánto han mejorado los valores por defecto, y que lo que queda es sobre todo lo que exigen las tiendas.
Hallazgos
Ordenados por gravedad. Crítico: impide la aprobación o expone datos o dinero. Alto: rechazo probable o un riesgo real en el primer mes. Medio: corregir en el primer mes. Bajo: conviene hacerlo más adelante. Los tiempos son nuestra estimación de la corrección.
Revisión de App Store
| ID | Gravedad | Qué encontramos | Por qué importa | Solución | Tiempo |
|---|---|---|---|---|---|
| A-1 | Crítico | No hay app para iPhone: Ritmo es una web. | Apple rechaza una web metida en una app por la norma 4.2 (funcionalidad mínima), y hoy no hay nada que enviar. | Una capa nativa con Capacitor para iPhone y Android, con notificaciones y compras nativas, para que la app haga más que la web. | 16 h |
| A-2 | Crítico | Las apps de hábitos son una de las categorías más saturadas, y las funciones de Ritmo (hábitos, rachas, gráfico semanal) coinciden con lo que ya abunda. | Desde junio de 2026 Apple rechaza y retira las apps que considera indistinguibles de otras, por la norma 4.3(b). | Elegir algo que solo haga Ritmo, mostrarlo en la primera pantalla y explicarlo en las notas para la revisión. Proponemos tres opciones. | 2 h |
| A-3 | Alto | Los «recordatorios diarios» se venden como ventaja Pro, pero no existen. | Vender una función que no existe incumple la norma 2.3 de App Store (información veraz) y la normativa de consumo de la UE. | Crear los recordatorios con notificaciones locales o quitarlos de la pantalla de pago hasta que existan. | 6 h |
| A-4 | Alto | No se puede borrar la cuenta desde la app; el perfil solo ofrece «Cerrar sesión». | La norma 5.1.1(v) exige borrar la cuenta en toda app que permite registrarse. | «Borrar cuenta» con confirmación, ejecutado por una función del servidor (ver S-1). | 2 h |
| A-5 | Alto | No hay política de privacidad ni condiciones en ningún sitio: ni en el registro, ni en la pantalla de pago, ni en el perfil. | Lo exigen la norma 5.1.1(i) de Apple y Google Play, y hace falta por el RGPD. | Política de privacidad y condiciones en inglés y español, enlazadas en la app y en las dos fichas de las tiendas. | 3 h |
| A-6 | Alto | El enlace de confirmación del registro lleva a la web, y no hay forma de restablecer la contraseña. | En una app de móvil el enlace abre el navegador en lugar de la app, así que los nuevos usuarios se quedan fuera, y quien revisa la app suele registrarse. Con una contraseña olvidada se pierde el acceso a las rachas. | Enlaces universales y enlaces de app de Android, restablecimiento de contraseña por email, una cuenta de prueba en las notas para la revisión. | 7 h |
| A-7 | Bajo | Restos de la plantilla en los datos de la página: autor «Lovable» y la cuenta de Twitter @Lovable. | Indica a la revisión que es una app de plantilla y muestra otro dueño en las vistas previas de enlaces. | Sustituirlos por los datos de Ritmo. | 0,5 h |
Pagos y suscripciones
| ID | Gravedad | Qué encontramos | Por qué importa | Solución | Tiempo |
|---|---|---|---|---|---|
| P-1 | Crítico | No se puede pagar: el botón de mejora muestra «Los pagos llegarán pronto». | Dentro de las apps de iPhone y Android una suscripción digital se vende con la compra integrada de Apple y Google Play Billing (norma 3.1.1 de App Store); los enlaces a pagos externos solo se permiten en algunos países y con reglas adicionales. | RevenueCat con StoreKit 2 y Play Billing, y un producto mensual de 4,99 € en las dos tiendas. | 12 h |
| P-2 | Alto | Nada cambia el plan del usuario tras una compra, renovación, cancelación, reembolso o pago fallido. La tabla del plan está lista, pero ningún código del servidor escribe en ella. | Quien paga no recibiría Pro, y quien cancela lo conservaría. | Un webhook de RevenueCat hacia una función del servidor que actualiza el plan en cada evento, con periodo de gracia para pagos fallidos. | 6 h |
| P-3 | Alto | La pantalla de pago solo muestra el precio y «Cancela cuando quieras»: no explica la renovación automática, no enlaza las condiciones ni la privacidad y no tiene «Restaurar compras». | Apple pide todo esto en las normas 3.1.1 y 3.1.2; su falta es un motivo frecuente de rechazo. | Añadir el texto de renovación, los dos enlaces y un botón «Restaurar». | 3 h |
| P-4 | Medio | A los usuarios gratuitos las «estadísticas completas» se les calculan y se dibujan en pantalla, solo difuminadas. | La función de pago se puede leer sin pagar, por ejemplo con las herramientas de desarrollo del navegador en la versión web. | Mostrar un marcador a los usuarios gratuitos y calcular las estadísticas Pro solo para Pro. | 2 h |
Google Play
| ID | Gravedad | Qué encontramos | Por qué importa | Solución | Tiempo |
|---|---|---|---|---|---|
| G-1 | Crítico para la fecha | Si la cuenta de Google Play del dueño es personal y se creó después del 13 de noviembre de 2023, la app necesita una prueba cerrada con al menos 12 personas durante 14 días seguidos antes de pasar a producción. | Esto, y no el código, marca la fecha más temprana de publicación en Android. | Empezar la prueba cerrada la primera semana con 15–20 personas, o registrarse como organización si el dueño tiene empresa. | 2 h |
| G-2 | Alto | Todavía no hay proyecto Android; cuando se cree, debe apuntar a Android 16 (nivel de API 36). | Desde el 31 de agosto de 2026 Google Play no acepta apps nuevas ni actualizaciones con un nivel inferior. | Fijar el nivel en el proyecto Capacitor y probar los cambios de comportamiento de Android 16. | 1 h |
| G-3 | Alto | No hay página web para borrar la cuenta; el formulario de Seguridad de los datos, la clasificación de contenido y el público objetivo están sin preparar. | Google Play exige un enlace de borrado en Play Console para las apps con cuentas, y los formularios antes de publicar. | Una página sencilla de borrado en la web de la app y los formularios completados según lo que recoge la app. | 3 h |
Seguridad y datos
| ID | Gravedad | Qué encontramos | Por qué importa | Solución | Tiempo |
|---|---|---|---|---|---|
| S-1 | Alto | Al borrar la cuenta solo se elimina el perfil. Los hábitos, las marcas diarias y la fila del plan no están vinculados al usuario y quedarían en la base de datos. | Dejar datos personales tras el borrado incumple el derecho de supresión del RGPD y la norma 5.1.1(v) de Apple, que espera que se borren también los datos de la cuenta. | Claves foráneas con borrado en cascada, y las fotos del usuario eliminadas por la misma función del servidor. | 2 h |
| S-2 | Medio | La subida de foto acepta cualquier archivo de cualquier tamaño; cada cambio añade un archivo nuevo, los antiguos nunca se borran y el usuario no puede borrar su foto. | El coste de almacenamiento crece y las fotos antiguas siguen ahí después de cambiarlas o quitarlas. | Límites de tipo y tamaño en el almacenamiento, un archivo por usuario y una regla de borrado. | 2 h |
| S-3 | Bajo | Dos peticiones enviadas a la vez pueden crear un cuarto hábito gratis: el límite cuenta filas sin bloqueo. | Una pequeña fuga en el límite de pago, fácil de cerrar. | Un bloqueo por usuario en la regla de la base de datos. | 1 h |
| S-4 | Bajo | Se admiten contraseñas de seis caracteres. | Las contraseñas débiles facilitan el robo de cuentas. | Mínimo de ocho caracteres y comprobación de contraseñas filtradas. | 0,5 h |
Arquitectura y costes
| ID | Gravedad | Qué encontramos | Por qué importa | Solución | Tiempo |
|---|---|---|---|---|---|
| R-1 | Medio | No hay registro de errores ni eventos de registro, pantalla de pago mostrada y compra. | Tras el lanzamiento nadie sabe dónde falla la app ni dónde abandona la gente. | Sentry y cuatro eventos, sin datos personales. | 3 h |
| R-2 | Medio | El almacenamiento de fotos se creó a mano, fuera de las migraciones de la base de datos. | En un entorno nuevo de pruebas o producción no existiría y la subida de fotos fallaría. | Crear el almacenamiento y sus límites en una migración. | 0,5 h |
| R-3 | Medio | Un mismo backend sirve para desarrollar, probar, la revisión de las tiendas y los usuarios reales. | Las compras de prueba y las cuentas de revisión se mezclan con los datos de los clientes. | Un entorno de pruebas separado con sus propias claves. | 2 h |
Preparación para las tiendas
- ✗Apple 4.2: más que una web metida en una app · A-1
- ✗Apple 4.3(b): un motivo claro para existir frente a la competencia · A-2
- ✗Apple 3.1.1 y 3.1.2: compra integrada, restauración, información en la pantalla de pago · P-1, P-3
- ✓Apple 4.8: no hace falta «Iniciar sesión con Apple», porque no hay acceso con Google ni Facebook
- ✗Apple 5.1.1(v): borrar la cuenta desde la app, con sus datos · A-4, S-1
- ✗Política de privacidad en la app y en las dos fichas · A-5
- ✗Google Play: prueba cerrada de 12 personas durante 14 días, si la cuenta lo requiere · G-1
- ✗Google Play: nivel de API 36, Seguridad de los datos, enlace de borrado · G-2, G-3
- ✓Reglas de la base de datos: cada tabla limitada a su dueño
Plan de lanzamiento
- Semana 1Capa nativa para iPhone y Android, RevenueCat con los productos en las dos tiendas, política de privacidad y condiciones, inicio de la prueba cerrada de Google.
Resultado: versiones de prueba en tu móvil con TestFlight y la prueba interna de Play.
- Semana 2Actualización del plan en el servidor, información y restauración en la pantalla de pago, recordatorios, borrado de cuenta con todos los datos, enlaces a la app y restablecimiento de contraseña, la función diferencial.
Resultado: todos los hallazgos críticos y altos cerrados.
- Semana 3Fichas en inglés y español, capturas, Privacidad de la app y Seguridad de los datos, envío a Apple, respuestas a la revisión y hasta tres reenvíos.
Resultado: publicada en App Store; en Google Play en cuanto termine la prueba de 14 días.
No incluido: funciones nuevas fuera de esta lista, rediseño, marketing, las cuotas de desarrollador de las tiendas (Apple 99 $ al año, Google 25 $ una vez) y la comisión de RevenueCat cuando los ingresos superen su tramo gratuito. La aprobación la deciden Apple y Google; corregimos todo lo que sus normas exigen dentro del alcance acordado.
Cómo lo comprobamos
- Leímos el código en la vista de código de Lovable el 1 de diciembre de 2026: migraciones de la base de datos, acceso a datos y las pantallas de registro, pago, perfil y estadísticas.
- Enviamos peticiones anónimas con la clave pública de la app a todas las tablas y al almacenamiento de fotos.
- Comparamos la app con las normas de revisión de App Store y de Google Play publicadas a 1 de diciembre de 2026.
- Fuera de este ejemplo: pruebas en dispositivos (aún no hay app instalable), pruebas con dos cuentas iniciadas y revisión de dependencias. En una auditoría de cliente son el segundo día.
¿Quieres esto para tu app?
Tres días hábiles, un informe escrito como este y un precio cerrado para el lanzamiento. 490 € por una plataforma, 990 € por iPhone, Android y el backend, descontados íntegramente del lanzamiento. Sin llamadas.
Pedir una auditoríaFuentes
- Apple: normas de revisión de App Store
- MacRumors: Apple endurece la norma 4.3(b), junio de 2026
- Google Play: requisitos de borrado de cuentas
- Google Play: requisitos de prueba para cuentas personales nuevas
- Google Play: requisitos de nivel de API
- NVD: CVE-2025-48757, falta de Row Level Security en apps de Lovable