Skip to content

CameraRoll callbacks are not idiomatic. #1222

@jtremback

Description

@jtremback

I noticed that the CameraRoll API uses successCallback, errorCallback instead of callback?: ?(error: ?Error) => void. Seems like it would be a good idea for callback APIs in these modules to be done in the standard way. There are a lot of JS libraries that can deal with this type of callback, and it's a good practice to use existing conventions instead of just inventing new ones.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions