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
240 stars 112 forks source link

Support for multiple buckets? #1607

Open gavinhuangflynn opened 2 years ago

gavinhuangflynn commented 2 years ago

What if the android app needs to interact with more than one bucket? We can do it using the AWS Mobile SDK for Android, but that support does not exist in the Amplify Android SDK.

Example:

StorageListOptions options = StorageListOptions.builder() .storage("bucketName") <------ need this attribute .accessLevel(StorageAccessLevel.PROTECTED) .targetIdentityId("otherUserID") .build();

Is there any plan to do it in the future?

raphkim commented 2 years ago

Thank you for your suggestion. This feature is currently unsupported by Amplify across all platforms, but I can certainly see this being a desirable feature. We will track this feature request and prioritize it accordingly.

msfstef commented 1 year ago

Are there any updates on this feature? It is currently supported on the JS SDK and migrating an app to any native platform when using multiple buckets can be a bit of an issue.

dkman94 commented 1 year ago

Interested in this feature as well!

UrielFrankel commented 1 year ago

Please add this feature 🙏

buntupana commented 1 year ago

We need this feature as well, otherwise we cannot migrate from android aws to amplify. Almost a year and a half has passed since the feature request and still we don't have it :(

msencenb commented 11 months ago

+1 for this. We already have buckets configured - one for our staging environment and one for our production environment that is in use by web, iOS and Android. We'd like to be able to easily manipulate objects in those buckets without needing to use an escape hatch.