Home / Insights / Mobile App Development
Mobile App Development
Building an AI Study Companion in React Native: Tutoring Flows, Guardrails and Offline Study
We built an AI study companion for an international education and family client: iOS and Android apps that help children aged 6 to 18 with homework, exam practice and reading, plus a parent app. This is what we learned about designing tutoring flows that teach rather than answer, the guardrails a children’s product needs, and how to plan for study without a reliable connection.
TopicsMobile App DevelopmentGenerative AI and LLMsProduct Design and Discovery
Key takeaways
- The core product decision in an AI tutor is pedagogical, not technical: the client wanted a companion that builds understanding rather than doing the homework, so every flow is designed around guided steps, not final answers.
- A children’s app inherits strict platform and legal rules before any AI is involved: Apple’s Kids Category bans third-party analytics and advertising with narrow exceptions, Google Play’s Families policy restricts identifiers and SDKs, and COPPA and the ICO Children’s Code shape data collection.
- Guardrails work best in layers: constrained prompts and tutoring state on the server, input and output checks, age-aware content policy, rate limits and logging that a parent-facing product can defend.
- Offline study is a product scope question: decide which activities must work without a connection (reading practice, saved explanations, practice sets) and which genuinely need the model, then design sync and conflict rules around that split.
- React Native let one team ship the student app, the parent app and shared logic for iOS and Android; the real effort sits in the AI services, content safety and testing, not in the cross-platform layer.
On this page
Education apps for children are one of the places where generative AI is most useful and most easily misused. A model that will happily solve a quadratic equation is a poor tutor if the child copies the answer and learns nothing. A model that chats freely is a risk if it drifts off topic with a nine-year-old. And a product that collects voice recordings and homework photos from minors carries obligations that most consumer apps never face.
This article is for founders, product leads and CTOs planning an AI learning product for children or teenagers. It draws on our work on the AI Study Companion, a project we delivered end to end for an international client in education and family. The published scope is clear: step-by-step homework help with explanations and feedback, exam preparation with practice on likely question types, reading practice with a read-aloud mode and AI feedback, coverage of maths, English, physics, chemistry and biology, iOS and Android apps for students aged 6 to 18, and a parent app showing subjects, progress and recommended focus areas. The client’s brief was an AI tutor that builds understanding rather than doing the homework for the child, and that lets parents follow progress.
The client’s name and internal metrics are confidential, so I will not quote numbers about usage or outcomes. What I can share is how we think about the three hardest parts of this class of product (tutoring flows, guardrails and offline study) and the decisions we would make again. Where I describe patterns, they reflect the approach our team takes for children’s AI apps rather than a line-by-line account of the client’s implementation. If you are staffing a similar build, our React Native developers work across cross-platform apps, native modules, store releases and backend integrations, as scoped projects or dedicated teams.
What the product had to do, and for whom
Before any architecture, we wrote down who uses the product and what each person needs. A study companion has at least three audiences with different goals, and conflating them is the most common design error we see.
| User | What they need | What the product must avoid |
|---|---|---|
| Younger students (roughly 6 to 11) | Short, encouraging steps; reading support; simple language; read-aloud | Long text, open chat, links out, anything that looks like an advert |
| Older students (roughly 12 to 18) | Worked reasoning in maths and sciences, exam practice on likely question types, feedback on their own attempts | Handing over final answers that can be copied straight into homework |
| Parents | Which subjects the child is working on, progress over time, recommended focus areas | Surveillance-style detail that undermines the child’s trust, or data they did not consent to share |
| The client’s team | Content control, safety review, the ability to change tutoring behaviour without a store release | Behaviour hard-coded in the app binary |
That last row matters more than it looks. Tutoring behaviour, prompts and safety policy change frequently in the first months after launch. If they live in the mobile binary, every adjustment waits for App Store and Google Play review. We kept that logic server-side in the AI services behind the guided explanations, and kept the apps focused on interaction, state and presentation.
Why two apps rather than one
A single app with a parent mode is cheaper to build, but it complicates everything else: authentication, store categorisation, notification permissions and what data is visible on which device. A separate parent app gives a clean boundary. The student app can be designed for a child’s attention span and stricter content rules, and the parent app can show progress summaries without exposing the child’s full conversation history by default.
Action: before estimating, write a one-page table like the one above for your own product, and decide which behaviour must be changeable without a release.
Designing tutoring flows that teach rather than answer
The client’s instruction that the companion should explain step by step instead of giving answers sounds simple. Implementing it means replacing an open chat with structured flows. We have written separately about designing AI tutors for learning rather than answer delivery; here is how that translates into product mechanics.
Homework help as a state machine, not a chat
We treat a homework session as a sequence of states the server controls: capture the problem, confirm the subject and level, ask the student what they have tried, offer the next step or a hint, check the student’s attempt, and only then move on. The model generates the content of each step, but it does not decide on its own to skip ahead to the final answer. That decision belongs to the flow.
- Capture. The student types the question or photographs it. The app sends the input with the student’s age band and subject.
- Diagnose. The tutor asks what the student already knows or where they are stuck, rather than starting from zero.
- Guide. The tutor offers one step, a hint or a worked example of a similar problem, not the solution to this one.
- Check. The student attempts the step; the tutor gives feedback on that attempt specifically.
- Consolidate. At the end, a short summary of the method, which feeds the parent app’s view of subjects and focus areas.
Exam practice and reading practice
Exam preparation is a different flow: generate or select practice items on likely question types for the subject, collect the student’s answer, and explain the reasoning afterwards. Here showing the full solution is appropriate, because the student has already made their own attempt. Reading practice is different again: a passage, a read-aloud mode, and AI feedback on the student’s reading. Each flow has its own prompt template, its own allowed outputs and its own success signal.
Trade-offs we weighed
| Approach | Strength | Weakness | Where we use it |
|---|---|---|---|
| Open chat with a strong system prompt | Fast to build, flexible | Students can talk it into giving answers; hard to test; drifts off topic | Not for under-13s; limited follow-up questions only |
| Server-controlled flow with model-generated steps | Predictable pedagogy, testable, safer | More design and engineering effort; less conversational | Homework help |
| Generated practice items with post-attempt explanation | Clear learning loop | Needs content checks for correctness | Exam preparation |
| Fixed content with AI feedback | Safest; easiest to review | Less personalised | Reading practice for younger students |
Action: for each learning activity, decide what the model is allowed to output at each step, and make the flow, not the prompt, enforce it.
Guardrails a children’s AI product needs
Guardrails in a children’s product start well before the model. The platforms and regulators have already decided a good deal for you, and an AI feature that breaks those rules will not reach the store.
Platform and legal baseline
- Apple. Section 1.3 of the App Store Review Guidelines says Kids Category apps must not include links out of the app, purchasing opportunities or other distractions unless behind a parental gate, should not include third-party analytics or third-party advertising (with narrow exceptions), and may not send personally identifiable or device information to third parties. Section 5.1.4 asks developers to take care with children’s data and review laws such as COPPA and GDPR.
- Google Play. The Families policy requirements bar child-directed apps from transmitting persistent identifiers such as the advertising ID, from requesting precise location, and from including SDKs not approved for child-directed services.
- United States. The FTC’s COPPA Rule applies to online services directed to children under 13 and to operators with actual knowledge that they collect personal information from such children; the rule was amended in 2025.
- United Kingdom. The ICO’s Age Appropriate Design Code applies to online services likely to be accessed by children and expects high-privacy defaults, data minimisation, geolocation off by default and no nudge techniques that encourage children to give up privacy.
This is not legal advice, and a client launching in several markets should take advice from counsel in each. Our earlier article on COPPA, age-appropriate design and parental controls covers the regulatory side in more depth.
Model-level guardrails, in layers
No single control is enough. We design guardrails as layers, each catching what the previous one missed, in line with our general approach to input filtering, output checks and policy enforcement.
- Scope. The tutoring prompt is constrained to the subject and step, with the student’s age band. Off-topic requests are redirected back to study.
- Input checks. Inputs are screened for personal information a child should not be sharing, and for attempts to change the tutor’s instructions. The OWASP Top 10 for LLM Applications (2025) lists prompt injection (LLM01) and sensitive information disclosure (LLM02) first, and both apply to a child pasting text from a website into a homework question.
- Output checks. Responses are checked for age-appropriateness and, for homework flows, for whether they contain a complete answer the flow has not yet allowed.
- Misinformation. OWASP’s LLM09 (misinformation) is a real risk in maths and science. Worked steps that can be checked deterministically, such as arithmetic, should be checked by code rather than trusted.
- Consumption limits. Rate limits and session caps protect both cost and the child; OWASP lists unbounded consumption as LLM10.
- Review and logging. Flagged sessions go to a review queue the client’s team can inspect, with retention limited to what is needed.
Action: map each platform rule to a concrete engineering decision (which SDKs, which identifiers, which permissions) before you design the AI layer.
Planning for offline study
Students study on buses, in rooms with weak Wi-Fi and on shared family tablets with patchy data. An AI companion that shows a spinner whenever the connection drops will be abandoned. But the model itself runs in the cloud, so offline study is a scope decision about which activities can work without it.
Split activities by their dependency on the model
| Activity | Needs the model live? | Offline approach |
|---|---|---|
| Reviewing past explanations and summaries | No | Cache the student’s recent sessions on device, encrypted at rest |
| Practice sets already generated | No for answering, yes for new explanations | Download a set in advance; queue attempts; explain on reconnect |
| Reading passages | No for reading, yes for AI feedback | Store passages locally; record locally; submit for feedback when online |
| New homework help | Yes | Capture the question and queue it; say clearly that help will arrive when back online |
| Parent progress view | No | Show the last synced state with a timestamp |
Engineering patterns we use in React Native
- Local-first state for study artefacts. Sessions, practice attempts and reading recordings are written locally first and synced in the background, so the interface never waits on the network.
- An outbox queue. Requests that need the model are queued with an idempotency key, so a flaky connection does not create duplicate sessions or double-charged model calls.
- Simple conflict rules. Study data is mostly append-only (attempts, sessions), which keeps sync conflicts rare; for the few editable items, last-write-wins with a server timestamp is usually enough.
- Secure storage. Children’s data on a shared device deserves the same care as any sensitive data; see our guide to secure storage and OWASP MASVS.
- Honest interface states. A child should understand that the tutor will answer later, not that the app is broken.
On-device models are improving, and for some tasks (simple reading feedback, short classification) they may eventually remove the network dependency. For a product launching now across a wide range of family devices, we would still plan for a cloud model with a well-designed offline mode, and treat on-device inference as a later optimisation.
Action: list every activity, mark whether it needs a live model, and design the offline experience for each one before building the sync layer.
Architecture and why React Native fitted
The platforms listed for the project are React Native, Next.js, Google Cloud, iOS and Android. The high-level shape is three parts: the student app, the parent app, and the AI services behind the guided explanations.
Why React Native for both apps
- Two platforms, two apps, one team. The student and parent apps share authentication, API clients, design tokens and data models. React Native let one team deliver both on iOS and Android rather than maintaining four native codebases.
- Native capabilities where needed. Camera capture for homework photos, audio recording and playback for read-aloud, and secure storage are well supported through native modules.
- Release discipline. Store review for children’s apps can be strict, and tutoring logic changes often. Keeping behaviour on the server means most changes need no new binary. Where over-the-air JavaScript updates are used, they must stay within store rules, which do not allow an update to change an app’s primary purpose or bypass review.
The server side carries the risk
In our experience the cross-platform layer is rarely where an AI tutor’s effort or risk sits. The AI services do the heavy lifting: tutoring state, prompt templates per subject and age band, safety checks, review queues, content storage and the summaries that feed the parent view. A web console (Next.js is a natural fit) gives the client’s team a place to review flagged sessions and adjust content without engineering help.
A rough effort split for planning
For example, a team planning a similar product might expect the effort to divide roughly as follows. These proportions are illustrative assumptions for planning, not figures from the client project.
| Workstream | Illustrative share of effort | Notes |
|---|---|---|
| Student app (React Native) | 25% | Flows, capture, audio, offline queue |
| Parent app (React Native) | 10% | Shares most foundations with the student app |
| AI services and tutoring logic | 30% | State machines, prompts, model integration |
| Safety, privacy and review tooling | 15% | Often underestimated |
| QA, evaluation and store compliance | 20% | Includes test sets per subject and age band |
Action: when you compare estimates from vendors, check how much effort each assigns to safety and evaluation. A proposal that is mostly mobile screens has missed where the work is.
Testing, launch and the checklist we use
Testing an AI tutor combines ordinary mobile QA with evaluation of model behaviour. The second part is where children’s products differ most.
What we test
- Pedagogy. For each subject and age band, a set of questions where the correct behaviour is a hint or a step, not an answer. A regression that starts giving full solutions is a release blocker.
- Correctness. Worked steps in maths and sciences checked against known solutions.
- Safety. Adversarial inputs: requests to ignore instructions, off-topic and inappropriate requests, attempts to share personal details.
- Offline behaviour. Airplane-mode tests for every activity, including queue replay after reconnecting.
- Store compliance. An SDK inventory checked against Apple’s Kids Category rules and Google Play’s Families requirements, plus permissions and identifiers.
Pre-launch checklist
- Every learning activity has a defined flow and allowed outputs per step.
- Tutoring logic and prompts live on the server and can change without a store release.
- Age bands are defined, and content policy differs by band.
- Input and output checks are in place, with a review queue for flagged sessions.
- No third-party analytics, advertising or SDKs that conflict with Kids Category or Families rules.
- Data collected from children is minimised, with retention periods written down.
- The parent app shows progress and focus areas without exposing more than the family agreed to.
- Every activity has a defined offline behaviour and an honest interface state.
- Evaluation sets exist per subject and run on every prompt or model change.
- Counsel has reviewed consent and privacy flows for each launch market.
What we would do again
Put pedagogy first and make the flow enforce it. Keep behaviour on the server. Treat platform rules as design inputs, not a final compliance pass. Design offline per activity. And budget properly for safety and evaluation, because in a children’s AI product that is the work that protects the client’s reputation.
Frequently asked questions
Can an AI tutor avoid simply giving children the answers?
Yes, if the product enforces it through structured flows rather than relying on a system prompt alone. The server controls when a step, a hint or a full explanation is allowed, and output checks catch responses that reveal a complete answer too early.
Is React Native suitable for a children’s education app with AI features?
In our experience, yes. It handles camera capture, audio, secure storage and offline queues well, and lets one team ship student and parent apps on iOS and Android. Most AI effort sits in the backend services, which are independent of the mobile framework.
What rules apply to an AI app for children?
At minimum, Apple’s Kids Category and children’s data guidelines, Google Play’s Families policy, and privacy law in each market, such as COPPA in the US and the ICO Age Appropriate Design Code in the UK. Take legal advice for each launch market.
Can an AI study app work offline?
Partly. Reviewing past explanations, answering downloaded practice sets and reading passages can work offline, with AI feedback delivered when the device reconnects. New homework help needs the cloud model, so the app should queue the question and say so clearly.
Should parents see their child’s full conversations with the tutor?
That is a product and policy decision for each client. A common approach is to show subjects, progress and recommended focus areas by default, which supports parents without making the child feel watched, and to define any further access clearly in the privacy policy.
How long does it take to build an AI study companion?
It depends on the number of subjects, age bands and activities, and on how much safety and evaluation tooling is needed. A focused first release covering a few activities is a sensible start; ask any vendor to break the estimate down by workstream, including safety and testing.
Sources and methodology
Guidance reflects PoliteTech delivery experience. The external references below informed specific points in this article.
- Apple: App Store Review Guidelines — accessed 10 November 2026. Section 1.3 Kids Category rules on links out, parental gates, third-party analytics and advertising; section 5.1.4 on children’s data.
- Google Play Console Help: Families policy requirements — accessed 10 November 2026. Restrictions on persistent identifiers, location, and SDKs in child-directed apps.
- US Federal Trade Commission: Children’s Online Privacy Protection Rule (COPPA) — accessed 10 November 2026. Scope of COPPA for services directed to children under 13 and the 2025 amendment.
- UK Information Commissioner’s Office: Age Appropriate Design Code — accessed 10 November 2026. High-privacy defaults, data minimisation, geolocation off by default and no nudge techniques.
- OWASP GenAI Security Project: Top 10 for LLM Applications (2025) — accessed 10 November 2026. Prompt injection, sensitive information disclosure, misinformation and unbounded consumption risks in the guardrail design.
Related reading
Continue your research
Planning an AI learning app for children or teenagers?
Tell us about your learners, subjects and markets. We will help you scope tutoring flows, guardrails and offline behaviour before you commit to a build.
