Last updated:
0 purchases
flutter device details
DeviceDetails #
A new flutter plugin project for the Native device essentials.
Supported for both Android & iOS #
Device Info
Package Info
Telephony Info
Ip Info
Jaibreak/Root detection
Usage #
You need to import the package:
import 'package:flutter_device_details/flutter_device_details.dart';
Use this #
String _ipAddress = await DeviceDetails.ipAddress; // Get IP Address
bool _isRooted = await DeviceDetails.jailbroken; // is Device Rooted
TelephonyInfo _teleInfo = await DeviceDetails.telePhoneInfo; // Get Telephony Info
PackageInfo _packageInfo = await DeviceDetails.fromPlatform; // Get Package Info
AndroidDeviceInfo _androidDeviceInfo = await DeviceDetails.androidInfo; // Get Android Info
print('ip Address: $_ipAddress');
print('Package Name:${ _packageInfo.packageName }');
print('AndroidID:${ _androidDeviceInfo.androidId}');
print('Network Operator:${ _teleInfo.simCarrierIdName}');
print('Is Rooted Device: $_isRooted');
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.