Skip to content

Commit

Permalink
Merge branch 'hotfix' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelsetragni committed Sep 25, 2023
2 parents 49bb505 + b7bc250 commit db5ba4e
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .dart_tool/package_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@
"languageVersion": "2.19"
}
],
"generated": "2023-09-22T19:44:12.166308Z",
"generated": "2023-09-22T23:21:52.866203Z",
"generator": "pub",
"generatorVersion": "3.1.1"
}
10 changes: 2 additions & 8 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
## [0.7.5]
### Added
* Support to iOS 17
* Compatibility to AGP 8
* Automated tests for dart code in master with +90% of coverage
### Fixed
* New image provider for native resource media
### Improved
* Project dependencies upgraded to the last version available

## [0.7.5-dev.3]
### Added
* Chronometer indicator for Android notifications
Expand All @@ -15,7 +25,7 @@
### Improved
* Android core dependencies moved to new repository
* Added new native module switcher to avoid the folder copy at example/android folder.
* Added new test cases for actionType property
* Added new test cases for actionType property

## [0.7.5-dev.2]
### Fixed
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ So, you MUST not use `firebase_messaging` with `awesome_notifications`. Use `awe
- Include `Time Sensitive notifications`
- Include `Communication notifications`
- Include full `Media Player notifications`
- Implement test cases for native libraries to achieve +90% test coverage in each one
- Include support for other push notification services (Wonderpush, One Signal, IBM, AWS, Azure, etc)
- Replicate all Android layouts for iOS (almost accomplished)
- Custom layouts for notifications
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.7.5-dev.3"
version: "0.7.5"
boolean_selector:
dependency: transitive
description:
Expand Down
5 changes: 4 additions & 1 deletion lib/src/utils/resource_image_provider.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,10 @@ class ResourceImage extends ImageProvider<ResourceImage> {
}

final ImmutableBuffer buffer = await ImmutableBuffer.fromUint8List(bytes!);
return decode(buffer);
final ImageDescriptor descriptor = await ImageDescriptor.encoded(buffer);

buffer.dispose();
return descriptor.instantiateCodec();
}

@override
Expand Down

0 comments on commit db5ba4e

Please sign in to comment.