parse-community/Parse-SDK-Android

Cloud code progressCallback

FunnyDevs opened this issue · 1 comments

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

Thanks for opening this issue!

  • 🎉 We are excited about your ideas for improvement!