mondora / asteroid

An alternative client for a Meteor backend
MIT License
734 stars 101 forks source link

Added support for AsyncStorage (for react-native) #82

Closed fermuch closed 8 years ago

fermuch commented 8 years ago

The title says it all. See more about AsyncStorage at: AsyncStorage Docs

davidebianchi commented 8 years ago

Hi @fermuch,

Thanks for the PR! I've slightly modified it to add error and resolution handling. Great to support React Native! How's using asteroid in that environment?

fermuch commented 8 years ago

It's pretty early to say, since we just started working with asteroid & RN, but as for now, it's a truly unique experience!

We're using all the methods we already have in the web version, plus DDP requests are super light. We were trying using "pure DDP" connections, but what was missing were Promises. With Asteroid, it's really easy to integrate.

radiegtya commented 8 years ago

Is this package really support React Native?? If yes I have some error after installing this package via NPM: "Unable to resolve module util at faye websocket" when using it on my React Native apps. Any Suggestion?