Cordova plugin for Android that retrieves the ARP cache to map IP addresses to MAC addresses on the local network. Version 0.3.2, last updated in 2016. No active development. Provides two methods: getRawCache (returns raw table string) and getParsedCache (returns array of objects). Only supports Android. Limited to reading /proc/net/arp file; contents depend on Android OS.
npm install cordova-arp-cache-fetchNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates waiting for deviceready, calling getParsedCache, and iterating over entries.
Always wrap ARP calls inside a deviceready listener.
Check platform before using: if (cordova.platformId === 'android') { ... }Test on target device; consider fallback to alternative network discovery methods.
Wrap in a Promise manually: new Promise((resolve, reject) => ARP.getParsedCache(resolve, reject));
Move ARP calls inside deviceready listener.
Check platform: if (cordova.platformId === 'android') { ... }Verify plugin installation: cordova plugin list. Access via window.ARP.
No dependency data recorded yet.