Skip to content

acocalypso/capacitor-getlocalip

Repository files navigation

capacitor-getlocalip

GetLocalIP is a cross-platform plugin that enables your app to retrieve the device's local IP address on both Android and iOS. This utility is ideal for apps that require network information for connectivity, diagnostics, or device identification within a local network.

Install

npm install capacitor-getlocalip
npx cap sync

API

getLocalIP()

getLocalIP() => Promise<{ ip: string; }>

Get the local IP address of the device

Returns: Promise<{ ip: string; }>


About

No description, website, or topics provided.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors