Skip to content

IOS bug when trying to open a second time.Β #1199

@tankpower1

Description

@tankpower1

Hello, i have the following problem on IOS devices:

When using .openCamera and .openPicker the first attempt works as expected, it opens the camera or the image library, but when i close it and try to open a second time it just freezes and nothing happens. It works fine on android devices. Help will be appreciated.

Solution 1:

It works fine when i put the .openCamera or .openPicker in a setTimeout with 500ms, but i don't think thats a good solution.

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.25.0
  • react-native v0.61.2

Platform

Tell us to which platform this issue is related

  • iOS

Steps to reproduce

  1. Open freshly installed app on an IOS device.

  2. Open camera or photo library and take or choose a photo.

  3. Try to open camera or photo library again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions