Open damathryx opened 7 years ago
It is not in the documentation, but for android you have to declare a service in the Manifest: http://docs.aws.amazon.com/mobile/sdkforandroid/developerguide/getting-started-store-retrieve-s3-transferutility.html
on iOS I'm still working on, but with no success as you can see here: https://github.com/awslabs/aws-sdk-react-native/issues/22
@fabriciovergal thanks, I added the service but still the same.
I added some console
Are you sending the image URI. You should send absolute path (like: /storage/0/DCIM100/Camera/Image.jpg) on Android and URI on iOS
@fabriciovergal yes I am
like in the example.
Check the SQLite DB file inside the app folder, it's used as upload queue used in the library tunnel service. Probably there is something blocking the upload, such proxy, permissions, etc.
@fabriciovergal sorry I am not sure where to find it.
you mean its not uploading at all even with the 'success' return from
var val = await AWSS3TransferUtility.upload({"requestid":value});
The "success" is returned when the download/upload is successfully added in the queue.
the database can be found in the data/data/
@fabriciovergal i cant find the data folder. where is this located exactly?
adb shell cd /data/data/yourAppPackage/
was having the same issue but after adding the service in the android manifest as suggested by @fabriciovergal it works on android.
I tried the example in TransferUtility and uploading returns success. but the progressEvent and completionHandlerEvent is not getting called.
What am I missing?