{"id":24583557,"url":"https://github.com/odd-io/flutter_signal_strength","last_synced_at":"2026-05-20T09:11:10.541Z","repository":{"id":273858264,"uuid":"921094149","full_name":"odd-io/flutter_signal_strength","owner":"odd-io","description":"A Flutter plugin to get cellular and WiFi signal strength information","archived":false,"fork":false,"pushed_at":"2025-01-23T11:18:58.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-23T11:37:13.067Z","etag":null,"topics":["cellular","flutter"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/flutter_signal_strength","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/odd-io.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-01-23T10:24:25.000Z","updated_at":"2025-01-23T11:18:30.000Z","dependencies_parsed_at":"2025-01-23T11:47:18.243Z","dependency_job_id":null,"html_url":"https://github.com/odd-io/flutter_signal_strength","commit_stats":null,"previous_names":["odd-io/flutter_signal_strength"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_signal_strength","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_signal_strength/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_signal_strength/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/odd-io%2Fflutter_signal_strength/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/odd-io","download_url":"https://codeload.github.com/odd-io/flutter_signal_strength/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244075635,"owners_count":20393979,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cellular","flutter"],"created_at":"2025-01-24T04:47:10.236Z","updated_at":"2026-05-20T09:11:05.522Z","avatar_url":"https://github.com/odd-io.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Flutter Signal Strength\n\nA Flutter plugin to get cellular and WiFi signal strength information for Android devices. The plugin provides both normalized signal levels (0-4) and raw dBm values.\n\n## Features\n\n- Get cellular signal strength (level 0-4 and dBm)\n- Get WiFi signal strength (level 0-4 and dBm)\n- Detailed error handling for permission and availability issues\n\n## Getting Started\n\n### Installation\n\nAdd this to your package's `pubspec.yaml` file:\n\n```yaml\ndependencies:\n  flutter_signal_strength: ^0.0.1\n```\n\n### Required Permissions\n\nAdd these permissions to your Android app's `AndroidManifest.xml`:\n\n```xml\n\u003cuses-permission android:name=\"android.permission.READ_PHONE_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\" /\u003e\n\u003cuses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\" /\u003e\n```\n\n### Usage\n\nFirst, ensure you have the required permissions. You can use any permission handling package (like `permission_handler`) to request permissions:\n\n```dart\n// Request permissions before using the plugin\n// Example using permission_handler package:\nawait Permission.phone.request();\nawait Permission.location.request();\n```\n\nThen use the plugin:\n\n```dart\nfinal signalStrength = FlutterSignalStrength();\n\n// Get cellular signal level (0-4)\ntry {\n  final level = await signalStrength.getCellularSignalStrength();\n  print('Cellular signal level: $level');\n} on PlatformException catch (e) {\n  print('Failed to get cellular signal: ${e.message}');\n}\n\n// Get cellular signal in dBm\ntry {\n  final dbm = await signalStrength.getCellularSignalStrengthDbm();\n  print('Cellular signal strength: $dbm dBm');\n} on PlatformException catch (e) {\n  print('Failed to get cellular signal: ${e.message}');\n}\n\n// Get WiFi signal level (0-4)\ntry {\n  final level = await signalStrength.getWifiSignalStrength();\n  print('WiFi signal level: $level');\n} on PlatformException catch (e) {\n  print('Failed to get WiFi signal: ${e.message}');\n}\n\n// Get WiFi signal in dBm\ntry {\n  final dbm = await signalStrength.getWifiSignalStrengthDbm();\n  print('WiFi signal strength: $dbm dBm');\n} on PlatformException catch (e) {\n  print('Failed to get WiFi signal: ${e.message}');\n}\n```\n\n## Error Handling\n\nThe plugin throws `PlatformException` in the following cases:\n\n- Required permissions are not granted\n- Device services (cellular/WiFi) are not available\n- Signal strength information cannot be retrieved\n\n## Example\n\nCheck out the [example](example) directory for a complete sample app demonstrating all features.\n\n## Platform Support\n\n| Android | iOS | MacOS | Web | Linux | Windows |\n|---------|-----|-------|-----|--------|----------|\n| ✅      | ❌   | ❌     | ❌   | ❌      | ❌        |\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n---\nMade with ❤️ by odd.io\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodd-io%2Fflutter_signal_strength","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fodd-io%2Fflutter_signal_strength","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fodd-io%2Fflutter_signal_strength/lists"}