- chore: upgrade package
uuid
's version
- fix: Problem with `osVersionCode`` number(#13)
- doc: Update README.md
- feat: support
osVersionCode
(#11)
-
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
- fix: Edge Chromium check missing(#12, Thanks @DaggeDaggmask)
- chore: Fix code lint issues.
- refactor: Update example project to support null-safety.
- doc: Update README.md
-
fix: Web Exception caused by non_bool_negation_expression(#6, #7) (Thanks @MarcVanDaele90)
-
Upgrade uuid 3.0.3 -> 3.0.6
- Update document
- chore: code formatter
- fix: fix initialization on web (#4)
- fix: Web exception when get deviceID (#1)
- null-safety support
- Fix: static analysis (
pana
) using stable version
- Remove package
http
dependency. - Replace dependency 'ulid' -> 'uuid'.
- Use
pedantic
.
- Migrate package to null-safety, increase minimum SDK version to 2.12, replace dependency 'ulid' -> 'uuid'.
- Update document.
- Fix some document error.
-
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
- Update document: README.md
- Remove "author" section from pubspec.yaml
- Initial release