A simple React Native app to manage and scan for connected devices on a mobile hotspot.
- Check if hotspot is enabled.
- Display the device's IP address.
- Find and list connected devices to the hotspot.
-
Clone the repository:
git clone https://github.com/rakeshpatilAW/MobileHotspotScanner.git cd hotspot-scanner-app
-
Install dependencies:
npm install
-
Run the app on an emulator or connected device:
-
For iOS:
npx react-native run-ios
-
For Android:
npx react-native run-android
-
-
Make sure to configure any required permissions in your
AndroidManifest.xml
orInfo.plist
(such as WiFi and location permissions).
-
Android 13 (API level 33) and newer: The method used to manage and scan connected devices may not work on Android 13 due to new security restrictions and role-based access introduced in that version. As of Android 13, apps are restricted from accessing certain system-level functionalities like hotspot management without specific privileges, which are not granted to normal apps.
- The app's ability to scan and interact with connected devices may be limited or unavailable on devices running Android 13 or later.
- You may need to update the app or implement new workarounds if running on Android 13 or later.
- The app will automatically fetch the device IP and show it on the screen.
- You can also scan for connected devices and see their IP and MAC addresses.
Feel free to fork the repository and submit pull requests for any improvements or fixes!
MIT License