natsuk4ze / gal

How to Save Image or Video to Photo Gallery in Flutter
https://pub.dev/packages/gal
BSD 3-Clause "New" or "Revised" License
101 stars 16 forks source link

Improved error handling in lower iOS versions #25

Closed natsuk4ze closed 1 year ago

natsuk4ze commented 1 year ago

Overview

Enable error handling in lower iOS versions. This is accomplished by using error codes directly, but if the error code is not even implemented in the low iOS version, api will throw GalExceptionType.unexpected. However, in most cases, you will be able to handle the error handling correctly.

In the next major version, GalExceptionType.notHandle will be removed.

Related Issues