flutter_device_details 0.0.2 icon indicating copy to clipboard operation
flutter_device_details: ^0.0.2 copied to clipboard

A flutter project for the Android & iOS device releated information which is necessary for most of the mobile projects targetting Android & iOS.

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');
6
likes
110
pub points
69%
popularity

Publisher

unverified uploader

A flutter project for the Android & iOS device releated information which is necessary for most of the mobile projects targetting Android & iOS.

Homepage

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_device_details