Hi Pieter At first a warm welcome to the list.
If you would like to open a proposal for discussion I can point you to the cordova-discuss repository: https://github.com/apache/cordova-discuss/ . We track some proposals in issues and pull requests there. I am not really familiar with the plugin but looking at the description and recent activity it looks like it was designed to implement the old version of the Network Information API. Other community members probably know more about that. A new major version could possibly change that if we can get consensus about this but someone would need to do the work. It looks you already got your own requirements ready and I personally would build and publish this plugin myself in this case. Creating plugins is not that hard if you start with the skeleton of an existing one. Contact me if you need any help. Kind regards Niklas Am 07.09.20 um 00:06 schrieb Pieter Van Poyer: > Hey Cordova devs > > You are doing a great job with Cordova. > I've got a question, suggestion for the cordova-plugin-network-information. > > Is it possible to open an issue, a milestone, a metaticket or something to > discuss the future requirements of the plugin (v4). > Something like a whitepaper. > > > My suggestions for a whitepaper are: > > Loosen the requirements of the plugin to it's barebone's essentials. > Requirements > > * Detect online/offline only when the app is active. > * When online, only detect following types: WIFI, MOBILE > Stop with next requirements > > * Detect online/offline when the app is not active. > * Don't try to detect other network type's beside WIFI and MOBILE. > * Do not let this plugin support background work like fileupload's and > datasyncs. Remove it from the doc's. > * Drop Windows platform support. > For android: use the > NetworkCallback<https://developer.android.com/reference/android/net/ConnectivityManager.NetworkCallback.html> > API instead of the deprecated Connectivitymanager. > > Maybe we could take some insparation by looking at the Capacitor plugin > https://github.com/ionic-team/capacitor-plugins/tree/main/network or Flutter > plugin. > > > Is it also possible to release version 3.0.0 of the plugin. > > Kind regards > > Pieter Van Poyer > > ________________________________ > > Deze e-mail en alle gekoppelde bestanden zijn officiele documenten van > Havenbedrijf Antwerpen NV van publiek recht en kunnen vertrouwelijke of > persoonlijke informatie bevatten. Gelieve de afzender onmiddellijk via e-mail > of telefonisch te verwittigen als u deze e-mail per vergissing heeft > ontvangen en verwijder vervolgens de e-mail zonder deze te lezen, te > reproduceren, te verspreiden of te ontsluiten naar derden. Havenbedrijf > Antwerpen NV van publiek recht is op geen enkele manier verantwoordelijk voor > fouten of onnauwkeurigheden in de inhoud van deze e-mail. Havenbedrijf > Antwerpen NV van publiek recht kan niet aansprakelijk gesteld worden voor > directe of indirecte schade, verlies of ongemak veroorzaakt als gevolg van > een onnauwkeurigheid of fout in deze e-mail. > > English Translation: This e-mail and all attached files are official > documents of Antwerp Port Authority and may contain confidential or personal > information. If you have received this e-mail in error, you are asked to > inform the sender by e-mail or telephone immediately, and to remove it from > your system without reading or reproducing it or passing it on to other > parties. Antwerp Port Authority is in no way responsible for any errors or > inaccuracies in the contents of this e-mail, nor can it be held liable for > any direct or indirect loss, damage or inconvenience arising from any such > errors or inaccuracies. > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org