Skip to content

nghinv-software/flutter-nghinv-device-info

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nghinv_device_info

A plugin for get device info. Support Android, iOS, Web.

Getting Started

flutter pub add nghinv_device_info

Usage

import 'package:nghinv_device_info/nghinv_device_info.dart';

void main() async {
  final deviceInfo = await NDeviceInfo().getDeviceInfo();
  print('Device info: $deviceInfo');
}

Properties

  • id: Device id.
  • name: Device name.
  • isSimulator: Check device is simulator.
  • version: App version.
  • buildVersion: App build version.
  • model: Device model.
  • manufacturer: Device manufacturer.
  • os: Device os.
  • osVersion: Device os version.
  • userAgent: Device user agent.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published