mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-01-19 08:32:52 +08:00
parent
b581a5b2b6
commit
e50ef18e10
@ -16,7 +16,7 @@ import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
|
|||||||
* .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`))
|
* .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`))
|
||||||
* .catch(error => console.error(`Unable to get IP: ${error}`));
|
* .catch(error => console.error(`Unable to get IP: ${error}`));
|
||||||
*
|
*
|
||||||
* this.networkInterface.getCarrierIPAddress() {
|
* this.networkInterface.getCarrierIPAddress()
|
||||||
* .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`))
|
* .then(address => console.info(`IP: ${address.ip}, Subnet: ${address.subnet}`))
|
||||||
* .catch(error => console.error(`Unable to get IP: ${error}`));
|
* .catch(error => console.error(`Unable to get IP: ${error}`));
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user