1.0.1 • Published 10 years ago
vigour-network v1.0.1
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
nativedirectory- Rename
native/android/plugin - Set
artifactIdinnative/android/src/lib/build.gradleto<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://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.gitgit pull skeleton develop
Usage
See tests
Building native apps
See wrapper
1.0.1
10 years ago