native_screenshot 1.0.0 copy "native_screenshot: ^1.0.0" to clipboard
native_screenshot: ^1.0.0 copied to clipboard

A simple plugin to take screenshots using native code (iOS & Android).

## 1.0.0 - 04.04.2020

Fixed #

  • 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.

Android #

  • Fixed the missing directory path to save the screenshot in release mode.
  • Added android:requestLegacyExternalStorage="true" to README.md to fix temporary the permissions issue.

0.0.4 - 15.05.2020 #

  • Homepage, Repository and Issuetracker updated to GitLab ones.

Android #

  • 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

0.0.3 #

  • Homepage, Repository and Issuetracker added to pubspec.yaml.

iOS #

  • 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 into info.plist file.

0.0.2 #

  • Description added to pubspec.yaml.
  • Documentation API done.
  • Added licence.
  • README.md updated

Android #

  • 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 and PixelCopy approaches, both throws a black image, still uses getBitmap() method.

0.0.1 #

iOS #

  • Basic functionionality done.

Android #

  • Tries to request permission if possible and considers PixelCopy (API >= 26) that still not works; getBitmap() works, so this is used for now.

57
likes
150
points
725
downloads

Publisher

unverified uploader

Weekly Downloads

A simple plugin to take screenshots using native code (iOS & Android).

Homepage
Repository (GitLab)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on native_screenshot