How to get server generated file id, kinvey android

65 views Asked by At

I can't find a way to get the file id in kinvey android sdk after uploading the file. The uploaderProgressListener onSuccess method returns Void. I've searched the whole sdk for it. Please help Thanks

BTW am using kinviey android sdk 2.10.10

1

There are 1 answers

2
Billy On BEST ANSWER

Have you tried using the FileMetaData object with the upload function? If not, it is described in the "Files" document for Android that is located in the Kinvey DevCenter. Take a look at the following URL.

http://devcenter.kinvey.com/android/guides/files#

The section on Uploading explains it and provides an example.

If you are, in fact, using the FileMetaData object and you are still unable to find the file id then you should post the issue to the Kinvey Forum and someone from Kinvey will take a look at the problem.