Skip to Content
DocsInstallation

Installation

Get started in one command

Seriously — this is all you need:

npm install react2app

That’s it.
You’re ready to test, build, and publish mobile apps with React.js.
No extra setup. No config hell.

 

What should I do next to launch my app?

Once you’ve installed, you have 3 steps left to launch your app to App Store or Google Play:

1. 📦 Add app features (only if needed) under development

You can add app features like Push Notifications, In-App Purchases, Authentication by just importing it in your project.

import { usePushNotifications } from "react2app"; export default function Example() { const { sendPushNotification } = usePushNotifications(); return <div>...</div>; }

To see more, check out the React2App SDK documentation.

2. 📱 Test it on your phone

In a single command, you can test your app on your phone instantly:

## 1. Download the 'Expo Go' app from the `App Store`/`Play Store` ## 2. Run this command & Scan the QR code with your phone npx react2app dev

👉 Learn more → Test on it your phone

3. 🧱 Build & Publish

In a single command, you can generate build file you need for submission — a .ipa for iOS and an .aab for Android. However, you need to register Apple Developer Program, Google Play Console to do so, so follow the detailed documentation below.

npx react2app build <ios|android>

👉 Learn more → Build & Submit

Last updated on