capacitor-getlocalip
v0.0.2
Published
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
Readme
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 syncAPI
getLocalIP()
getLocalIP() => Promise<{ ip: string; }>Get the local IP address of the device
Returns: Promise<{ ip: string; }>
