An open API service indexing awesome lists of open source software.

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

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