flutter_device_details 1.0.0-nullsafety.0 copy "flutter_device_details: ^1.0.0-nullsafety.0" to clipboard
flutter_device_details: ^1.0.0-nullsafety.0 copied to clipboard

PlatformAndroidiOS
outdated

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

DeviceDetails #

Version 0.0.2

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
130
pub points
63%
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

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_device_details