vigour-network

1.0.1 • Public • Published

plugin

Provides an observable for the device's connectivity

Creating plugins from this skeleton

  • Fork this repository
  • Choose a name (<plugin-name>) for your new plugin
  • In this README
    • Use <plugin-name>
      • for the title
      • in the install section
    • Change the description
    • Remove this section
  • In package.json
    • Use <plugin-name> in the following fields
      • name
      • repository.url
      • bugs.url
      • homepage
      • vigour.plugin.android.className
      • vigour.plugin.android.instantiation
    • Update the following fields
      • description
      • keywords
      • author
      • contributors
  • In the native directory
    • Rename native/android/plugin
    • Set artifactId in native/android/src/lib/build.gradle to <plugin-name>
    • Change the package names in the android source
    • Create lib functionality and make the android example work

Install

  • Add "network": "git+ssh://git@github.com:vigour-io/network.git#master" to the dependencies in pakage.json
  • Run npm update network
  • Coming soon: npm i vigour-network

Updates via upstream remote

  • git remote add skeleton git@github.com:vigour-io/plugin.git
  • git pull skeleton develop

Usage

See tests

Building native apps

See wrapper

Package Sidebar

Install

npm i vigour-network

Weekly Downloads

0

Version

1.0.1

License

ISC

Last publish

Collaborators

  • vigour-io