◉RORK LABJP
●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens●SUBDOMAIN — Rork can now connect your web app to a subdomain only, leaving your root domain and www untouched (12/1)●UPDATES — expo-updates 58.0.23 fixes Android release builds embedding a stale runtime version●FLASH END — Intro pricing for Gemini Flash models ends 12/31, 29 days from now. Time to recheck AI feature costs●HMR — Some report the dev server picking up another server's bundle and then exiting●FIRST VIEW — Map the first screen for a normal launch, a notification, and a link, and back navigation stops surprising you●CARBON — Gemini 4 Carbon and Argon are now at standard rates: $4.00 input, $20.00 output per 1M tokens
Articles/Getting Started
◈ Getting Started/2026-03-17Intermediate

Build a Habit Tracker App with Rork Max — Push Notifications & Home Screen Widgets

A complete Rork Max tutorial for building a habit tracker app with push notification reminders and home screen widgets — no coding required. Perfect for beginners.

Rork Max236habit trackerpush notifications11widgets3tutorial20beginner23iOS118app development39

Setup and context — What You'll Build

Want to build a habit tracking app for the App Store but don't know how to code? Rork Max makes it possible with nothing more than plain-English prompts.

Below, you'll build a fully functional Habit Tracker App using Rork Max. By the end, your app will include:

  • A daily habit checklist with satisfying check animations
  • A progress dashboard with streak tracking and charts
  • Push notification reminders so users never miss a habit
  • A home screen widget showing today's habit status at a glance

No programming experience required. Every step includes the exact prompt to type into Rork Max.


Prerequisites & Setup

What You Need

  • Rork Max account — sign up at rork.com
  • Apple Developer Program membership ($99/year) — required for device testing and App Store submission
  • An iPhone or iPad (recommended for real-device testing)
  • No Mac needed — Rork Max compiles on cloud-hosted Macs

Rork Max Plans

The free tier allows approximately 5 prompts per week. To complete this full tutorial (10–15 prompts), you'll need the Max plan ($200/month) or use a trial period. Note that Rork Max is a separate product from the original Rork (React Native).

Rork vs. Rork Max — Which Should You Use?

RorkRork Max
PlatformsiOS / AndroidiOS / iPadOS / watchOS / tvOS / visionOS
CodeReact NativeSwift / SwiftUI
Home Screen Widgets❌✅
Apple Watch❌✅
PerformanceStandardNative speed

For a habit tracker that leverages widgets and native notifications, Rork Max is the right choice.


Step 1: Create Your Project in Rork Max

Log into Rork Max and click "New App." Paste the following prompt into the description field:

Build a habit tracker app with the following features:
- A daily habit list where users can check off habits
- Track completion count and completion rate per habit
- Send a local push notification reminder at a user-set time each day
  with a message like "Time for [habit name]! Keep going 💪"
- A home screen widget (small and medium) showing today's progress
- Store all data locally on device using SwiftData
- Minimal, clean design using SF Symbols for icons

Rork Max generates SwiftUI code, compiles it on a cloud Mac, and streams a live simulator preview within a few minutes.


Step 2: Refine the Habit List Screen

Once you see the simulator preview, use follow-up prompts to polish the UI.

Improve the "Add Habit" Flow

Update the add-habit screen to include:
- Habit name (text input)
- Category picker (Health, Learning, Work, Hobbies)
- Reminder time picker
- Icon picker using SF Symbols

Add a Check-Off Animation

When a habit is checked off, animate the checkmark turning green with a
bounce effect. When all habits for the day are completed, show a confetti
particle animation for 2 seconds.

Expected output: Tapping a habit triggers a 0.3s bounce animation with a color transition. Completing all habits triggers a full-screen confetti burst.


Step 3: Implement Push Notifications

Rork Max can wire up native UserNotifications through prompts alone.

Set Up Habit Reminders

Implement push notification reminders:
- On first launch, request notification permission with a clear explanation
- Schedule a local notification at each habit's reminder time,
  repeating daily
- Notification body: "[Habit name] time! Keep your streak going 🔥"
- Tapping the notification opens the app and highlights that habit

Sample Generated Code

Here's what the notification scheduling logic generated by Rork Max typically looks like:

// Schedule a daily local notification for a habit
import UserNotifications
 
func scheduleHabitReminder(habit: Habit) {
    let content = UNMutableNotificationContent()
    content.title = "Habit Reminder"
    content.body = "\(habit.name) time! Keep your streak going 🔥"
    content.sound = .default
 
    var dateComponents = DateComponents()
    dateComponents.hour = habit.reminderHour
    dateComponents.minute = habit.reminderMinute
 
    let trigger = UNCalendarNotificationTrigger(
        dateMatching: dateComponents,
        repeats: true
    )
 
    let request = UNNotificationRequest(
        identifier: habit.id.uuidString,
        content: content,
        trigger: trigger
    )
 
    UNUserNotificationCenter.current().add(request)
    // Output: Notification scheduled; fires daily at the specified time
}

Step 4: Add Home Screen Widgets

One of Rork Max's biggest advantages over other AI builders is native WidgetKit support.

Widget Prompt

Add WidgetKit home screen widgets in two sizes:
- Small: Show today's completed habits / total habits (e.g., "3 / 5 ✅")
- Medium: Show today's habit list with checkmarks for completed items
- Match the widget's accent color to the app's theme
- Tapping the widget opens the app's main screen
Use App Group to share data between the app and widget extension.

Rork Max automatically configures the App Group entitlement and shared UserDefaults container so widget data stays in sync with the main app.


Step 5: Build the Progress Dashboard

Long-term motivation depends on seeing your progress. Add a dedicated stats screen.

Add a progress dashboard screen with:
- Bar chart (using Swift Charts) showing each habit's completion rate
  over the past 30 days
- Current streak shown with a flame icon 🔥
- Weekly completion summary card
- Highlight the highest and lowest completion rate habits

Step 6: Troubleshooting Common Issues

Issue 1: Notifications Not Arriving

Cause: The iOS Simulator has limited support for local notifications.

Fix: Use Rork Max's "Install on Device" feature to sideload the app onto your iPhone. Also verify notification permissions in Settings → Notifications → [Your App].

Issue 2: Widget Shows No Data

Cause: The App Group identifier may not match between the app and widget extension.

Fix: Prompt Rork Max with:

The widget isn't showing data. Make sure the App Group identifier
("group.com.yourapp.habits") is identical in both the app target
and widget extension, and use UserDefaults(suiteName:) for data sharing.

Issue 3: Habits Don't Reset at Midnight

Cause: Daily reset logic is missing.

Fix:

Add logic to reset all daily habit checkmarks at midnight each day.
Previous days' data should be saved to history for streak and
completion rate calculations, not deleted.

Step 7: App Store Submission

Habit tracker apps perform consistently well on the App Store — they target a broad audience and see strong organic search traffic.

App Metadata Tips

Configure the following in Rork Max's "App Store Submission" panel:

  • App Name: HabitFlow — Daily Habit Tracker (example)
  • Subtitle: Build streaks. Stay consistent.
  • Description: Feature your widget, daily reminders, and streak tracking
  • Keywords: habit tracker, daily goals, streak, reminder, productivity

Screenshots

Capture screenshots in the Rork Max simulator for iPhone 6.7" (iPhone 16 Pro Max) and iPad. Show the habit list, widget, and progress dashboard prominently.


Conclusion

In this tutorial, you built a complete habit tracker app using Rork Max — including:

  • A SwiftUI habit checklist with animations and daily resets
  • Native push notification reminders via UserNotifications
  • Small and medium home screen widgets powered by WidgetKit
  • A progress dashboard built with Swift Charts

The key takeaway: Rork Max lets you implement native iOS features — widgets, notifications, Swift Charts — using prompts alone. You get a polished, production-ready app without writing a single line of code.

For your next challenge, try adding an Apple Watch companion app (Rork Max Apple Watch guide) or implementing iCloud sync so users can access their habits across all their Apple devices.

Share

Thank You for Reading

Rork Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◈ Getting Started2026-09-08
Whether You Need Rork Max Is Answered by Your Permissions, Not the Price Page
When I cannot decide between standard Rork and Rork Max, I stop reading the price page. Instead I pull every OS capability my app actually asks for out of app.json and Info.plist, then sort them into what Expo covers, what a config plugin covers, and what truly needs native Swift.
◈ Getting Started2026-11-07
Your Diary App's Streak Stays on Yesterday Until 9 a.m. — The Date Key Was Built in UTC
Why a Rork-built diary or habit app files early-morning entries under the previous day, and how to fix the streak count: a symptom table, a streak function with test output, a one-time migration for records already saved with the wrong key, and a prompt you can hand to the AI. Checked on Node 22.
◈ Getting Started2026-10-29
Three One-Line Additions to Your First Budget-App Prompt: Integer Yen, Local-Date Months, Normalized Input
Adding one line each about how money is stored, where a month begins, and how input is cleaned can prevent month-end totals from drifting in a household-budget app. Behavior checked on Node 22, with a small function you can reuse.