parse-community / Parse-SDK-Android

The Android SDK for Parse Platform
https://parseplatform.org/
Other
1.88k stars 739 forks source link

Cloud code progressCallback #1186

Open FunnyDevs opened 1 year ago

FunnyDevs commented 1 year ago

New Feature / Enhancement Checklist

Current Limitation

Using cloud functions to send a file as base64 or byte array can't permit to track uploading progress.

Feature / Enhancement Description

I think could be useful adding the "ProgressCallback" even to the "ParseCloud.callFunctionInBackground" method.

Example Use Case

public static <T> void callFunctionInBackground(
            @NonNull String name,
            @NonNull Map<String, ?> params,
            @NonNull ProgressCallback uploadProgressCallback,
            @NonNull FunctionCallback<T> callback) {
    }

Alternatives / Workarounds

Using REST Api directly with OkHttp or Retrofit

3rd Party References

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!