Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

ionic-native/network-interface, gives error the 'plugin not installed'?

$
0
0

@nitishtandia wrote:

I am using ionic-native/network-interface for getting the ip address of wifi I am connected with but It gives error Plugin not installed but I have installed it using official documentation.

This is the code I have written

> export class HomePage {
> 
>   constructor(public navCtrl: NavController, private networkInterface: NetworkInterface ) {
> 
>     this.networkInterface.getWiFiIPAddress().then(a=>alert(a)).catch(e=>alert(e));
> 
> }
> }

Error: plugin not installed

And I have addeed NetworkInterface in the providers in app.module.ts

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>