vigour-network
v1.0.1
Published
Provides an observable for the device's connectivity
Downloads
30
Maintainers
Readme
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
- Use
- 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
- Use
- In the
native
directory- Rename
native/android/plugin
- Set
artifactId
innative/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
- Rename
Install
- Add
"network": "git+ssh://[email protected]: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 [email protected]:vigour-io/plugin.git
git pull skeleton develop
Usage
See tests
Building native apps
See wrapper