Network plugin is not working


Hi! We are facing a problem when loading the Network plugin of the native API.

The app just fails and doesn’t prints anything, the line of code that causes the problem is:

import { Network } from ‘@ionic-native/network’;

constructor(public navCtrl: NavController, public http2: Http, platform: Platform, private file2: File, private network: Network) {

What I can do to solve that problem? The part of the line that causes the error is: private network: Network

Regards! :smiley:


Did you also follow step 2 of the installation:
What is your ionic info output?


The step 2 doesn’t says about an specific plugin to add, which it is? I have only executed the two instructions of the step 1, maybe that’s the error, but what I should do? It doesn’t says on the link


If you install the Network plugin, you have to do it for Network of course…