You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Put output below this linedef amplify_version ='2.0.0'
implementation "com.amplifyframework:core:$amplify_version"
implementation "com.amplifyframework:aws-auth-cognito:$amplify_version"
implementation "com.amplifyframework:aws-storage-s3:$amplify_version"
implementation "com.amplifyframework:core-kotlin:$amplify_version"
Environment information
# Put output below this line
------------------------------------------------------------
Gradle 7.4
------------------------------------------------------------
Build time: 2022-02-08 09:58:38 UTC
Revision: f0d9291c04b90b59445041eaa75b2ee744162586
Kotlin: 1.5.31
Groovy: 3.0.9
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 1.8.0_202 (Oracle Corporation 25.202-b08)
OS: Mac OS X 10.16 x86_64
Please include any relevant guides or documentation you're referencing
The new Amplify 2.0.0 library just released has a method to query transfers by ID via Amplify.Storage.getTransfer("TRANSFER_ID"). Through the Kotlin facade, an upload/download can be performed with coroutine support via Amplify.Storage.uploadFile() and Amplify.Storage.downloadFile(). This method gives back an InProgressStorageOperation instance, but it is does not contain a way to get the transferId, only the progress, result, and ability to cancel are available.
Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
amplifyconfiguration.json
No response
GraphQL Schema
// Putyourschema below this line
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered:
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Before opening, please confirm:
Language and Async Model
Kotlin, Kotlin - Coroutines
Amplify Categories
Storage
Gradle script dependencies
Environment information
Please include any relevant guides or documentation you're referencing
https://docs.amplify.aws/lib/storage/querytransfers/q/platform/android/
Describe the bug
The new Amplify 2.0.0 library just released has a method to query transfers by ID via
Amplify.Storage.getTransfer("TRANSFER_ID")
. Through the Kotlin facade, an upload/download can be performed with coroutine support viaAmplify.Storage.uploadFile()
andAmplify.Storage.downloadFile()
. This method gives back anInProgressStorageOperation
instance, but it is does not contain a way to get thetransferId
, only the progress, result, and ability to cancel are available.Reproduction steps (if applicable)
No response
Code Snippet
// Put your code below this line.
Log output
amplifyconfiguration.json
No response
GraphQL Schema
Additional information and screenshots
No response
The text was updated successfully, but these errors were encountered: