|
1 | 1 |
|
2 | 2 | # The Node.js for Mobile Apps React Native plugin
|
3 | 3 |
|
4 |
| -## Reporting Issues |
5 |
| - |
6 |
| -We have a [central repo](https://github.com/janeasystems/nodejs-mobile/issues) where we manage all the issues related to Node.js for Mobile Apps, including issues specific to this plugin. Please, report your issue [there](https://github.com/janeasystems/nodejs-mobile/issues). |
7 |
| - |
8 | 4 | ## Installation
|
9 | 5 |
|
10 | 6 | `$ npm install nodejs-mobile-react-native --save`
|
@@ -67,7 +63,7 @@ Node modules can be added to the project using `npm install` inside `nodejs-asse
|
67 | 63 |
|
68 | 64 | On Linux and macOS, there is support for building modules that contain native code.
|
69 | 65 |
|
70 |
| -The plugin automatically detects native modules inside your `nodejs-project` folder by searching for `.gyp` files. It's recommended to have the build prerequisites mentioned in `nodejs-mobile` for [Android](https://github.com/janeasystems/nodejs-mobile#prerequisites-to-build-the-android-library-on-linux-ubuntudebian) and [iOS](https://github.com/janeasystems/nodejs-mobile#prerequisites-to-build-the-ios-framework-library-on-macos). For Android it's also recommended that you set the `ANDROID_NDK_HOME` environment variable in your system. |
| 66 | +The plugin automatically detects native modules inside your `nodejs-project` folder by searching for `.gyp` files. It's recommended to have the build prerequisites mentioned in `nodejs-mobile` for [Android](https://github.com/nodejs-mobile/nodejs-mobile#prerequisites-to-build-the-android-library-on-linux-ubuntudebian) and [iOS](https://github.com/nodejs-mobile/nodejs-mobile#prerequisites-to-build-the-ios-framework-library-on-macos). For Android it's also recommended that you set the `ANDROID_NDK_HOME` environment variable in your system. |
71 | 67 |
|
72 | 68 | Building native modules for Android can take a long time, since it depends on building a standalone NDK toolchain for each required architecture. The resulting `.node` binaries are then included in the final application in a separate asset path for each architecture and the correct one will be chosen at runtime.
|
73 | 69 |
|
@@ -200,7 +196,7 @@ The following methods can be called from the Node javascript code through the `r
|
200 | 196 |
|
201 | 197 | > `rn_bridge.channel.send(...msg)` is equivalent to `rn_bridge.channel.post('message', ...msg)`. It is maintained for backward compatibility purposes.
|
202 | 198 |
|
203 |
| -> The `rn_bridge.channel` object inherits from [Node's `EventEmitter` class](https://github.com/janeasystems/nodejs-mobile/blob/9e90dd8c14fce5b047aa16d00e22a8ef44222a99/lib/events.js), with `emit` removed and `post` and `send` added. |
| 199 | +> The `rn_bridge.channel` object inherits from [Node's `EventEmitter` class](https://github.com/nodejs-mobile/nodejs-mobile/blob/9e90dd8c14fce5b047aa16d00e22a8ef44222a99/lib/events.js), with `emit` removed and `post` and `send` added. |
204 | 200 |
|
205 | 201 | ### rn_bridge.channel.on(event, callback)
|
206 | 202 |
|
@@ -334,4 +330,4 @@ module.exports = {
|
334 | 330 |
|
335 | 331 | ## Changelog
|
336 | 332 |
|
337 |
| -Releases are documented in [CHANGELOG.md](https://github.com/janeasystems/nodejs-mobile-react-native/blob/unstable/CHANGELOG.md) |
| 333 | +Releases are documented in [CHANGELOG.md](https://github.com/nodejs-mobile/nodejs-mobile-react-native/blob/unstable/CHANGELOG.md) |
0 commit comments