Skip to content

React-Native-Positron allows you to build cross-platform applications for Android, iOS, Windows, MacOS, Linux, and the Web using React-Native-Web and Electron

License

Notifications You must be signed in to change notification settings

DeveloperBlue/react-native-positron-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build native mobile applications, desktop applications, and web applications with React

Snapshot of React Native Positron running in React Native, Electron, and the web

React-Native-Positron (RNP) is a project that bundles React Native, React-Native-Web, and Electron. It allows you to build cross-platform applications for Android, iOS, Windows, MacOS, Linux, and the web— all from one codebase.

Build

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer. You will also need to ensure your React Native development environment is set up and that you have a working Android or iOS device or emulator on hand.

From your command line:

# Clone the repository
git clone https://github.com/DeveloperBlue/react-native-positron-quickstart.git

# Navigate into the project
cd react-native-positron-quickstart

# Install project dependencies
npm install

Run

In separate terminals, run the following:

# Start the Metro Bundler
npm start
# Run the webpack development server
npm run run:web
# Deploy the application to an Android device or emulator
npm run run:android

# Deploy the application to an iOS device or emulator
npm run run:ios
# Bundle and launch the Electron application
npm run run:electron

Medium Project Writeup

You can read more about how RNP works and build your own application by checking out my Project Writeup on Medium.

If you're interested in the state of the application without Redux, SVG support, and electron build tooling, please see the medium-snapshot branch.

About

React-Native-Positron allows you to build cross-platform applications for Android, iOS, Windows, MacOS, Linux, and the Web using React-Native-Web and Electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published