Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
devfd committed Aug 2, 2016
1 parent 97b2fca commit 8fb54da
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Expand Up @@ -73,6 +73,12 @@ private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {

```

**Note**: only the official react native modules are available from your workers (vibration, fetch, etc...). To include additional modules in your workers add them to the WorkerPackage constructor. Like this:

```java
new WorkerPackage(new MyAwesomePackage(), new MyAmazingPackage())`
```

## JS API

From your application:
Expand Down Expand Up @@ -116,7 +122,7 @@ self.postMessage("hello from worker");
## Todo

- [x] Android - download worker files from same location as main bundle
- [ ] iOS - download worker files from same location as main bundle
- [x] iOS - download worker files from same location as main bundle
- [ ] script to package worker files for release build
- [ ] load worker files from disk if not debug
- [x] load worker files from disk if not debug

0 comments on commit 8fb54da

Please sign in to comment.