flutter_device_details 0.0.2 copy "flutter_device_details: ^0.0.2" to clipboard
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
40
pub points
65%
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.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_device_details