Filter by title
Document Options

There are multiple versions of this document. Pick the options that suit you best.

Architecture:

Running on Web

Running the React Native app in a browser is the fastest way to test login, navigation, and API integrations. No emulator, Cloudflare tunnel, or manual backend configuration is required.

React Native project folder

  • react-native/

Install dependencies once with yarn install or npm install in that folder.

Solutions created with ABP Studio include a Default run profile in the Solution Runner.

React Native Default Profile

One-time setup: Initialize Solution

Run the Initialize Solution task from the Tasks tab if you have not already. For React Native solutions, this task also creates local SSL certificates (localhost.pem and localhost-key.pem) in the React Native folder using mkcert. These certificates are required by the Default profile's local SSL proxy.

Start the Default profile

When you start the Default profile, ABP Studio runs these main applications:

  1. The backend host
  2. ReactNative.LocalSslProxy — terminates HTTPS on https://localhost:8443 and forwards to Expo Web on port 8081
  3. ReactNative — runs npx expo start --web and opens https://localhost:8443 in your browser

The solution template already adds https://localhost:8443 to backend CorsOrigins and RedirectAllowedUrls, so no manual backend configuration is required.

React Native Web ABP Studio

You can enter admin as the username and 1q2w3E* as the password to log in.

Manual setup (without ABP Studio)

If you are not using ABP Studio, use Expo Web with a local HTTPS proxy as described in the Expo local HTTPS development guide.

  1. Navigate to the React Native folder and install dependencies if you have not already.
  2. Generate SSL certificates in the React Native folder:
mkcert localhost
  1. Start Expo Web:
yarn web
  1. In a separate terminal, start the local SSL proxy (port 8443 matches the ABP Studio Default profile):
npx local-ssl-proxy --source 8443 --target 8081 --cert localhost.pem --key localhost-key.pem

Alternatively, run yarn create:local-proxy and set SOURCE_PORT=8443 if your template uses a different default port.

  1. Open https://localhost:8443 in your browser.

Next steps

To test on an Android emulator, iOS simulator, or physical device, continue with Running on Device.


Contributors


Last updated: June 09, 2026 Edit this page on GitHub

Was this page helpful?

Please make a selection.

To help us improve, please share your reason for the negative feedback in the field below.

Please enter a note.

Thank you for your valuable feedback!

Please note that although we cannot respond to feedback, our team will use your comments to improve the experience.

ABP Community Talks
Low-Code, High Precision
13 Aug, 17:00
Online
Watch the Event
ABP Live Webinar
Webinar Calendar Webinar Calendar
Discover
ABP Platform
Register Now
Oct 01
Thursday,
17:00 UTC
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.