Skip to content

Releases: gotev/android-upload-service

android-upload-service-3.2.4

28 May 07:28
Compare
Choose a tag to compare

Fixed OkHttp version to 3.8.0 and updated build tools to 25.0.2

android-upload-service-3.2.3

18 Mar 08:05
Compare
Choose a tag to compare

android-upload-service-3.2.2

16 Mar 11:04
Compare
Choose a tag to compare

android-upload-service-3.2.1

06 Mar 15:18
Compare
Choose a tag to compare

android-upload-service-3.2

03 Mar 10:36
Compare
Choose a tag to compare

android-upload-service-3.1

11 Jan 22:39
Compare
Choose a tag to compare

See 3.1 milestone issues for more details and commits after 3.0.3 release.

This release is an important upgrade for the library:

  • Full support of OkHttp interceptors when using OkHttp stack
  • Added context to UploadStatusDelegate methods
  • Android Nougat (API 25) is supported
  • Improved request cancellation
  • Content URI (content://) supported (thanks to @stephentuso). You can set the content uri string instead of the absolute path to the file to upload
  • Fixed byte count in FTP upload
  • Bugfixes

android-upload-service-3.0.3

12 Aug 12:30
Compare
Choose a tag to compare

android-upload-service-3.0.2

11 Aug 12:44
Compare
Choose a tag to compare

android-upload-service-3.0.1

07 Aug 07:24
Compare
Choose a tag to compare

android-upload-service-3.0

26 Jun 07:16
Compare
Choose a tag to compare

Improvements:
See milestone issues.

Migrating from 2.x to 3.0:
The public interface of UploadServiceBroadcastReceiver has been changed, to make it easier to use. In particular:

onProgress method has been changed from this:

public void onProgress(final String uploadId, final int progress)

and

public void onProgress(final String uploadId, final long uploadedBytes, final long totalBytes)

to this:

public void onProgress(final UploadInfo uploadInfo)

onError method has been changed from this:

public void onError(final String uploadId, final Exception exception)

to this:

public void onError(final UploadInfo uploadInfo, final Exception exception)

onCompleted method has been changed from this:

public void onCompleted(final String uploadId, final int serverResponseCode,
                        final byte[] serverResponseBody)

to this:

public void onCompleted(final UploadInfo uploadInfo, final ServerResponse serverResponse)

onCancelled method has been changed from this:

public void onCancelled(final String uploadId)

to this:

public void onCancelled(final UploadInfo uploadInfo)

Refer to UploadInfo JavaDoc and ServerResponse JavaDoc to discover how to get the same information you had before.