Skip to content
This repository was archived by the owner on Jul 21, 2022. It is now read-only.

Null-safety support #90

Open
greymag wants to merge 30 commits into
esysberlin:masterfrom
Innim:master
Open

Null-safety support #90
greymag wants to merge 30 commits into
esysberlin:masterfrom
Innim:master

Conversation

@greymag
Copy link
Copy Markdown

@greymag greymag commented May 3, 2021

Add null-safety support to the package with minimum changes.

See issues #86 and #88

Also update .gitignore files in example to the vastest version from Flutter templates.

Please publish null-safety version on pub.dev so people can to upgrade their projects on Flutter 2. Thank you!

greymag and others added 30 commits May 3, 2021 12:15
Update path_provider to 2.0.0
Fixed bug by granting permission. So now granting permission for the …
)

Fix share file with text. When the text with one file was not shown.
Detailed file type processing.
define namespace
* Refactoring:
- Fixed potential memory issues when using methods that accept byte arrays.
- New Methods Added:
 - fileFromStorage() and filesFromStorage() (for sharing files, especially large ones).
 - fileFromMemory() and filesFromMemory() (for sharing small files using byte arrays).
- file() and files() are now deprecated methods.

* v2.3.0

* Revert deleted info about MIME type

* Add extended documentation for filesFromMemory().
#6)

* Added new method `deleteTempShareFilesByExtension` for removing temporary files created by`filesFromStorage` and `fileFromStorage`. Implemented automatic deletion of temporary files created in `filesFromStorage` and `fileFromStorage` after sharing is completed (when the share window is closed).

* Added init() method. Update readme.

* Create temp share dir if not exists.

* Add random string to path for temp share files.

* Refactor.

* Delete recursive flags.

* wrong _initialise field type.

---------

Co-authored-by: ulezkin <ulezkinwork@gmail.com>
* Fixed: broken files share 

* Added clear for share from memory

---------

Co-authored-by: ulezkin <ulezkinwork@gmail.com>
* Upgraded `compileSdkVersion` to 35, `minSdkVersion` to 21, `gradle` to 8.10

* Updated example

* Added optional ability to run sharing in separate activity

* Version and changelog

* Remove redundant activity

* Unused dependency
* fix(android): temporary files were deleted before share completed

* set `_useSeparateActivity` once on initializing
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants