React-native-image-crop-picker: iPhone hangs on processing assets when uploading vidoes

Created on 9 Mar 2018  路  9Comments  路  Source: ivpusic/react-native-image-crop-picker

Version

Tell us which versions you are using:

  • react-native-image-crop-picker ^0.20.0
  • react-native 0.53.0

Platform

Tell us to which platform this issue is related

  • iOS
  • Android

Expected behaviour

Actual behaviour

Uploading a video on an iphoneX hangs on processing assets. Works on the IOS simulator and on android devices.

Steps to reproduce

  1. Open image picker.

  2. Select a video from the camera roll.

  3. Process hangs.

No errors are logged.

code:

 selectImage() {
    ImagePicker.openPicker({
      multiple: true,
      mediaType: 'any',
    }).then((media: ImagePickerUpload[]) => {
      console.log(media);
      this.setState({
        ...this.state,
        media,
      });
    });
  }

All 9 comments

As a follow up. I do not have this issue with an iphone 6 nor an iphone 7. Still have not tested it with an iphone 8.

do you have some time to investigate what is happening here?

I am under a pretty strict deadline at the moment and am pretty new to react-native so do not have the time or resources to really dig in. If I find time this weeks I will see what I can come up with.

Our team has sunk a bit of time into this and come up empty handed. Other then knowing it is an IOS 11+ issue. We thought it had to do with an invalid response for blob type error but that was fixed with RN 0.55 but that is not the case. For now we are using react-native-image-picker when a user is running IOS 11 + but it would be awesome to get this library working with newer IOS.

This issue was resolved when we upgraded to
react-native 0.55.0
react-native--image-crop-picker 0.20.3

I'm seeing the same problem; I'm using

react-native 0.55.4
react-native-image-crop-picker 0.20.3

with an iPhone 6s on iOS 11.4.1

Can this issue be reopened @L-Yeiser ?

I just made a pull request to solve this problem -- we need to set options.networkAccessAllowed to YES when getting videos, or it will freeze when trying to get videos that are stored in the cloud.

https://github.com/ivpusic/react-native-image-crop-picker/pull/772

Has anyone come across this problem?
image
image

Hi @chrisbobbe, Even I am facing the same issue i.e., iPhoneX taking forever to process a video when selecting from the camera roll.
versions I am using in the application:
react-native-image-crop-picker ^0.21.1
react-native 0.56.0

Was this page helpful?
0 / 5 - 0 ratings

Related issues

equesteo picture equesteo  路  3Comments

cwRichardKim picture cwRichardKim  路  3Comments

sergiulucaci picture sergiulucaci  路  3Comments

tximpa91 picture tximpa91  路  3Comments

xuchao321 picture xuchao321  路  3Comments