https://github.com/sunxfancy/react-native-ubuntu
An unofficial fork of react-native-ubuntu which can work with official react-native-cli without rebuild
https://github.com/sunxfancy/react-native-ubuntu
click desktop react react-native ubuntu
Last synced: 3 months ago
JSON representation
An unofficial fork of react-native-ubuntu which can work with official react-native-cli without rebuild
- Host: GitHub
- URL: https://github.com/sunxfancy/react-native-ubuntu
- Owner: sunxfancy
- Created: 2017-03-01T15:51:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-03T09:48:49.000Z (over 9 years ago)
- Last Synced: 2025-05-31T08:35:37.274Z (about 1 year ago)
- Topics: click, desktop, react, react-native, ubuntu
- Language: C++
- Homepage: https://sunxfancy.github.io/react-native-ubuntu
- Size: 169 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
React Native Ubuntu
=======================
This is an unofficial fork of
It changed the core structure without rebuild react-native tools.
## Features
- Fix some bugs and update to newest react-native.
- Using plugin model works with official react-native-cli
- Can be used in most linux versions and Ubuntu Click 15.04
## Problems
- It still have tons of bugs in its native code
- It used an external node process which made I confused
- Do not know how to publish the native code
Welcome to discuss with me about those problems, which is a great help for me.
## Install
You should install the react-native-cli first, and create a project.
```sh
react-native init RNUbuntu
```
Using npm to install it:
```sh
npm install http://github.com/sunxfancy/react-native-ubuntu --save
```
And init it first:
```sh
react-native ubuntu
```
It should create a ubuntu fold in the root dir of the project.
## Fix the react-native server
You should change the react-native default configure to let react-native dev-server found ubuntu platform:
```
// ./node_modules/react-native/packager/defaults.js
...
exports.platforms = ['ios', 'android', 'windows', 'web', 'ubuntu']; // add ubuntu platform
...
exports.providesModuleNodeModules = [
'react-native',
'react-native-windows',
'react-native-ubuntu' // add ubuntu platform
];
```
When this project become stable, I will ask them to add this platform.
## License
BSD License