- Some bug fixes in ios build. Now working for ios.
- Fixing No podspec found for
native_screenshot_ext
in `.symlinks/plugins/native_screenshot_ext/ios. - The name change was missed for podspec file.
- Pass quality value while creating png to be able to get low quality screenshots images. Pass 100 for best quality.
- New package created with name native_screenshot_ext to extend the functionality of https://gitlab.com/ivanjpg/native_screenshot
## 1.0.0 - 04.04.2020
- Null-safety added to the only method we have:
takeScreenshot()
. - The example has been updated to use recent API version.
## 0.0.5 - 25.12.2020
- Fixed
README.md
style consistency.
- Fixed the missing directory path to save the screenshot in release mode.
- Added
android:requestLegacyExternalStorage="true"
toREADME.md
to fix temporary the permissions issue.
- Homepage, Repository and Issuetracker updated to GitLab ones.
- Added some log messages to make easier to track errors.
- Class names minified/obfuscated by Android release mode were preventing get the correct class of the needed view for take the screenshot. Fixed comparing classes instead names. ivanjpg/native_screenshot#2
- Homepage, Repository and Issuetracker added to
pubspec.yaml
.
- Code improvement.
- The function now takes the screenshot, save it to the application directory and then it adds to the PhotoLibrary. Now it needs
NSPhotoLibraryAddUsageDescription
key intoinfo.plist
file.
- Description added to
pubspec.yaml
. - Documentation API done.
- Added licence.
README.md
updated
- Unified the code to condesate the plugin initialization and use for the v1 and v2 Flutter's plugin engine.
- Now the screenshot is written to a folder with the application name on it, if fails then goes to external storage.
- Tried
Canvas
andPixelCopy
approaches, both throws a black image, still usesgetBitmap()
method.
- Basic functionionality done.
- Tries to request permission if possible and considers
PixelCopy
(API >= 26) that still not works;getBitmap()
works, so this is used for now.