
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@ajaybhatia/react-native-meteor
Advanced tools
Meteor-like methods for React Native.
The purpose of this library is :
yarn add @ajaybhatia/react-native-meteor
or
npm i --save @ajaybhatia/react-native-meteor
!! See detailed installation guide
There was a bug in the react native websocket android implementation that meant the close event wasn't being received from the server. Therefore RN versions prior to React-native 0.57.8 will not detect users being logged out from the server side. There could also be other bugs resulting from this.
import React from 'react';
import { View, Text, FlatList } from 'react-native';
import Meteor, { withTracker } from '@ajaybhatia/react-native-meteor';
Meteor.connect('ws://192.168.X.X:3000/websocket'); //do this only once
const App = ({ settings, todos, todosReady }) => {
return (
<View>
<Text>{settings.title}</Text>
{!todosReady && <Text>Not ready</Text>}
<FlatList
data={todos}
keyExtractor={item => item._id}
renderItem={({ item }) => <Text>{item.title}</Text>}
/>
</View>
);
};
export default withTracker(params => {
const handle = Meteor.subscribe('todos');
Meteor.subscribe('settings');
return {
todosReady: handle.ready(),
todos: Meteor.collection('todos').find({}, { sort: { createdAt: -1 } }),
settings: Meteor.collection('settings').findOne(),
};
})(App);
import React from 'react';
import { View, Text, FlatList } from 'react-native';
import Meteor, { useTracker } from '@ajaybhatia/react-native-meteor';
Meteor.connect('ws://192.168.X.X:3000/websocket'); //do this only once
export default App = () => {
const loading = useTracker(() => {
const handle = Meteor.subscribe('todos');
Meteor.subscribe('settings');
return !handle.ready();
}, []);
const todos = useTracker(
() => Meteor.collection('todos').find({}, { sort: { createdAt: -1 } }),
[]
);
const settings = useTracker(
() => Meteor.collection('settings').findOne(),
[]
);
if (loading) {
return (
<View>
<Text>Not ready</Text>
</View>
);
}
return (
<View>
{loading && <Text>Not ready</Text>}
<FlatList
data={todos}
keyExtractor={item => item._id}
renderItem={({ item }) => <Text>{item.title}</Text>}
/>
</View>
);
};
Pull Requests and issues reported are welcome! :)
react-native-meteor is MIT Licensed.
FAQs
Full Meteor Client for React Native
We found that @ajaybhatia/react-native-meteor demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.