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

fix(storage): Remove unused foreground service permission #2877

Closed mattcreaser closed 4 months ago

mattcreaser commented 4 months ago

Issue #, if available:

Description of changes: Noted that storage plugin was requesting foreground service permission. This is a leftover from Amplify V1 and is unused - there is no Service (or foreground Service) used in Storage V2, we use Work Manager instead.

Listing permissions you don't actually use is bad form, so I've removed it.

How did you test these changes? (Please add a line here how the changes were tested)

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.