client_information 2.0.0-nullsafety.0 copy "client_information: ^2.0.0-nullsafety.0" to clipboard
client_information: ^2.0.0-nullsafety.0 copied to clipboard

outdated

This is a plugin that let you get the basic information from your application's client. It's easy to use and support different platforms(Android, iOS and Web).

2.0.0-nullsafety.0 #

  • Migrate package to null-safety, increase minimum SDK version to 2.12, replace dependency 'ulid' -> 'uuid'.

1.0.4 #

  • Update document.

1.0.3 #

  • Fix some document error.

1.0.2 #

  • New attribute deviceName : Show the device name like "iPhone", "iPad", "Pixel"...

  • New attribute applicationId : Show you the application ID (*Not support for web project)

  • Support test mode.

    // ...
    setUp(() async {
      ClientInformation.mockOn(
          deviceId: 'mock_device_id', osName: 'MyCustomOS');
    });
    
    tearDown(() {
      ClientInformation.mockOff();
    });
    
    test('Custom `deviceId` will be "mock_device_id"', () async {
      ClientInformation info = await ClientInformation.fetch();
      expect(info.deviceId, 'mock_device_id');
    });
    
    // ...
    
  • Update document: README.md

1.0.1 #

  • Update document: README.md
  • Remove "author" section from pubspec.yaml

1.0.0 #

  • Initial release
48
likes
0
pub points
95%
popularity

Publisher

unverified uploader

This is a plugin that let you get the basic information from your application's client. It's easy to use and support different platforms(Android, iOS and Web).

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, flutter_web_plugins, http, uuid

More

Packages that depend on client_information