Skip to content

tempImagePath is missing in TakePhotoSuccessCallbackResult #95

@malash

Description

@malash

Why

To get the phone created by CameraContext.takePhoto we have to use res.tempImagePath.

For example, the official demo from this page used that API.

What went wrong

After this commit, it was removed.

image

How to fix it

  1. Should re-add the tempImagePath to TakePhotoSuccessCallbackResult
  2. Should also fix the document https://developers.weixin.qq.com/miniprogram/dev/api/media/camera/CameraContext.takePhoto.html
    image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions