PackageTrack
Sign in Get early access

client_information

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

2.2.0 4.5K downloads/mo #3984 most downloaded on pub.dev Kent1011/client_information

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 1.2 years

Nearly every release is documented

notes for 20 of 20 stable releases

Nothing withdrawn

no release was ever pulled

6 years old

21 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

21 releases · Jan 2021 to Feb 2025
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 21
  1. 2.2.0 19 Feb 2025
    Release notes

    ✨ Enhancements

    • Upgraded Android Gradle Plugin and migrated to plugins {} syntax (removed apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle").
    • Updated Gradle to 7.5+ and upgraded Gradle Wrapper to 8.10.2.
    • Increased Android minSdkVersion to 21 for better compatibility.
    • Increased iOS minSdkVersion to 12.0 to enhance compatibility and security.
    • Changed Flutter Web initialization to use flutter_bootstrap.js instead of flutter.js.
    • Converted build.gradle to Kotlin DSL (build.gradle.kts) for better maintainability.

    🐞 Fixes

    • Removed deprecated apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" to prevent Flutter Plugin Imperative Apply errors.
    • Fixed ClientInformationPlugin by removing registerWith(Registrar), aligning with the new Flutter Plugin API.
    • Fixed Issues #15, PR:#16 (Thanks @fegea-immo), PR:#17 (Thanks @mortuzahossain), #19

    🔼 Dependency Updates

    • Dart SDK: >=3.0.5>=3.7.0
    • Flutter SDK: >=3.18.0
    • Kotlin: 1.7.101.8.22
    • flutter_lints: 2.0.05.0.0
    • cupertino_icons: 1.0.21.0.8
    • Other dependencies have been updated for better compatibility.

    🚀 Migration Guide

    This update is not a breaking change, but if your project:

    • Has minSdkVersion < 21 on Android, update it to 21.
    • Has minSdkVersion < 12.0 on iOS, update your Podfile (platform :ios, '12.0').
    • Uses build.gradle, you may consider migrating to build.gradle.kts, but it's optional.

    Recommended commands to ensure a clean update:

    flutter clean
    flutter pub get
    flutter build apk # or flutter build ios
    
    Open source →
  2. 2.1.4 22 Nov 2023
    Release notes

    chore: update documents

    Open source →
    Release notes
    • chore: upgrade package uuid's version
    Open source →
  3. 2.1.3 26 Jul 2023
    Release notes

    doc: 2.1.3 documentation

    Open source →
    Release notes
    • fix: Problem with `osVersionCode`` number(#13)
    Open source →
  4. 2.1.2 13 Jul 2023
    Release notes

    doc: 2.1.2 documentation

    Open source →
    Release notes
    • doc: Update README.md
    Open source →
  5. 2.1.1 13 Jul 2023
    Release notes

    chore: update lock file.

    Open source →
    Release notes
    • feat: support osVersionCode(#11)
    Open source →
  6. 2.1.0 12 Jul 2023
    Release notes

    doc: 2.1.0 documentation

    Open source →
    Release notes
    • feature: Adding decorator method to decorate the information.

      var information = await ClientInformation.fetch(
          // you can pass decorators to decoration the value before it return.
          decorators: ClientInformationDecorators(
            deviceId: (oriInfo, value) =>
                'prefix-$value-${oriInfo.applicationName}',
          ),
        );
      
      // or you can use extension methods like this:
      var information = await ClientInformation.fetch();
      var decoratedInfo = information.decoration(deviceId: (oriInfo, value) => '$value-some-suffix-string-here');
      
    • fix: update Android gradle setting. (#10, Thanks @pnghai)

    • doc: Update the example project & README.md

    Open source →
  7. 2.0.4 17 May 2023
    Release notes
    • from (<3.0.0) to (<4.0.0)
    Open source →
    Release notes
    • fix: Edge Chromium check missing(#12, Thanks @DaggeDaggmask)
    • chore: Fix code lint issues.
    • refactor: Update example project to support null-safety.
    Open source →
  8. 2.0.3 07 Nov 2022
    Release notes
    • update README.md
    • update CHANGELOG.md
    • upgrade uuid to 3.0.6
    • update pubspec.lock
    Open source →
    Release notes
    Open source →
  9. 2.0.3+1 22 Feb 2023
    Release notes

    chore: update plugin's version

    Open source →
    Release notes
    • doc: Update README.md
    Open source →
  10. 2.0.2 20 Aug 2021
    Release notes
    • fix: fix initialization on web (#4)
    Open source →
  11. 2.0.2+1 23 Aug 2021
    Release notes
    • chore: code formatter
    Open source →
  12. 2.0.2+2 09 Sep 2021
    Release notes
    • Update document
    Open source →
  13. 2.0.1 14 Apr 2021
    Release notes
    • fix: Web exception when get deviceID (#1)
    Open source →
  14. 2.0.0 01 Apr 2021
    Release notes
    • null-safety support
    Open source →
  15. 2.0.0-nullsafety.0 04 Feb 2021 pre-release
    Release notes
    • Migrate package to null-safety, increase minimum SDK version to 2.12, replace dependency 'ulid' -> 'uuid'.
    Open source →
  16. 1.1.0 20 Feb 2021
    Release notes
    • Remove package http dependency.
    • Replace dependency 'ulid' -> 'uuid'.
    • Use pedantic.
    Open source →
  17. 1.1.0+1 21 Feb 2021
    Release notes
    • Fix: static analysis (pana) using stable version
    Open source →
  18. 1.0.4 03 Feb 2021
    Release notes
    • Update document.
    Open source →
  19. 1.0.3 03 Feb 2021
    Release notes
    • Fix some document error.
    Open source →
  20. 1.0.2 03 Feb 2021
    Release notes
    • 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

    Open source →
  21. 1.0.1 27 Jan 2021
    Release notes
    • Update document: README.md
    • Remove "author" section from pubspec.yaml
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive