Socket
Socket
Sign inDemoInstall

ably-react-native

Package Overview
Dependencies
51
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    ably-react-native

React Native wrapper for the JavaScript realtime client library for Ably.io, the realtime messaging service


Version published
Weekly downloads
22
decreased by-15.38%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Ably

This repo is wrapper for ably-js that adds a dependency used by react-native. See that repo for the readme for ably-js.

For complete API documentation, see the ably documentation.

For react-native

Installation from npm

npm install ably-react-native

Usage

For the realtime library:

var realtime = require('ably').Realtime;

For the rest-only library:

var realtime = require('ably').Rest;

For older versions of React Native, which do not support the react-native automatic entrypoint, you may have to instead do

var realtime = require('ably/browser/static/ably-reactnative.js').Realtime

(and similarly for Rest)

API usage, tests, contributing, etc.

See the ably-js repo.

License

Copyright (c) 2015 Ably Real-time Ltd, Licensed under the Apache License, Version 2.0. Refer to LICENSE for the license terms.

FAQs

Last updated on 14 Nov 2016

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc