react-native-meteor
Advanced tools
Comparing version 1.0.0-beta23 to 1.0.0-beta24
{ | ||
"name": "react-native-meteor", | ||
"version": "1.0.0-beta23", | ||
"version": "1.0.0-beta24", | ||
"description": "Full Meteor Client for React Native", | ||
@@ -5,0 +5,0 @@ "main": "src/Meteor.js", |
@@ -101,4 +101,4 @@ # react-native-meteor [](https://www.npmjs.org/package/react-native-meteor) [](http://badge.fury.io/js/react-native-meteor) [](https://david-dm.org/inProgress-team/react-native-meteor) | ||
* [.remove(id, callback(err, countRemoved))](http://docs.meteor.com/#/full/remove) | ||
* Meteor.FSCollection(collectionName) : Helper for [Meteor-CollectionFS](https://github.com/CollectionFS/Meteor-CollectionFS). Full documentation [here](https://github.com/inProgress-team/react-native-meteor/blob/master/docs/FSCollection.md) | ||
# MeteorListView Component | ||
@@ -179,2 +179,17 @@ | ||
## CollectionFS | ||
* Meteor.FSCollection(collectionName) : Helper for [Meteor-CollectionFS](https://github.com/CollectionFS/Meteor-CollectionFS). Full documentation [here](https://github.com/inProgress-team/react-native-meteor/blob/master/docs/FSCollection.md) | ||
* This plugin also exposes a FSCollectionImagesPreloader component which helps you preload every image you want in CollectionFS | ||
```javascript | ||
import { FSCollectionImagesPreloader } from 'react-native-meteor'; | ||
<FSCollectionImagesPreloader | ||
collection="imagesFiles" | ||
selector={{metadata.owner: XXX}} | ||
/> | ||
``` | ||
## react-native-router-flux | ||
@@ -186,2 +201,5 @@ | ||
Pull Requests are welcome ! :) | ||
# Want to help ? | ||
Pull Requests and issues reported are welcome ! :) |
@@ -17,2 +17,3 @@ import Trackr from 'trackr'; | ||
if(this.startMeteorSubscriptions) { | ||
console.warn('startMeteorSubscriptions is deprecated and will be removed soon. Please create your subscriptions in getMeteorData'); | ||
this._meteorSubscriptionsManager = new MeteorSubscriptionsManager(this); | ||
@@ -19,0 +20,0 @@ this._meteorSubscriptionsManager.getMeteorSubscriptions(); |
@@ -12,3 +12,2 @@ | ||
import collection from './Collection'; | ||
import FSCollection from './FSCollection'; | ||
import call from './Call'; | ||
@@ -19,2 +18,6 @@ | ||
import MeteorComplexListView from './components/ComplexListView'; | ||
import FSCollection from './CollectionFS/FSCollection'; | ||
import FSCollectionImagesPreloader from './CollectionFS/FSCollectionImagesPreloader'; | ||
import User from './user/User'; | ||
@@ -28,2 +31,3 @@ import Accounts from './user/Accounts'; | ||
MeteorComplexListView: MeteorComplexListView, | ||
FSCollectionImagesPreloader: FSCollectionImagesPreloader, | ||
collection: collection, | ||
@@ -117,3 +121,3 @@ FSCollection: FSCollection, | ||
Data.ddp.on("ready", message => { | ||
/* | ||
for(var i in Data.subscriptions) { | ||
@@ -123,3 +127,3 @@ const sub = Data.subscriptions[i]; | ||
} | ||
*/ | ||
}); | ||
@@ -126,0 +130,0 @@ |
47035
24
1161
203