aws-amplify / amplify-android

The fastest and easiest way to use AWS from your Android app.
https://docs.amplify.aws/lib/q/platform/android/
Apache License 2.0
249 stars 117 forks source link

feat(storage): add object existence validation option to get presigned url #2848

Closed phantumcode closed 4 months ago

phantumcode commented 5 months ago

Issue #, if available: https://github.com/aws-amplify/amplify-android/issues/2404

Description of changes: Update Storage getURL options to have a boolean flag to check for object existence. This provides feature parity with Amplify Swift

Doc PR: https://github.com/aws-amplify/docs/pull/7736

How did you test these changes?

Documentation update required?

General Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 23.33333% with 23 lines in your changes missing coverage. Please review.

Project coverage is 44.02%. Comparing base (0f61cc8) to head (05f1e84). Report is 35 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #2848 +/- ## ========================================== + Coverage 43.00% 44.02% +1.01% ========================================== Files 905 925 +20 Lines 29179 30293 +1114 Branches 4153 4305 +152 ========================================== + Hits 12549 13335 +786 - Misses 15271 15531 +260 - Partials 1359 1427 +68 ```