You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following code works fine on Android simulators but does not work only on real Android devices.
On emulators, it starts compressing and show the Compression Progress and successfully compress videos.
However, it finishes immediately on real Android devices and the result file is only 28 bytes.
The variables filePath is like file:///data/user/0/com.myapp.app/cache/rn_image_picker_lib_temp_e6b2c4f4.mp4 and result is like file:///data/user/0/com.myapp.app/cache/bad8a788-36e0-41fc-983b-a6fc340e29ff.mp4 both on emulators and real devices.
The following code works fine on Android simulators but does not work only on real Android devices.
On emulators, it starts compressing and show the Compression Progress and successfully compress videos.
However, it finishes immediately on real Android devices and the result file is only 28 bytes.
The variables filePath is like
file:///data/user/0/com.myapp.app/cache/rn_image_picker_lib_temp_e6b2c4f4.mp4
and result is likefile:///data/user/0/com.myapp.app/cache/bad8a788-36e0-41fc-983b-a6fc340e29ff.mp4
both on emulators and real devices.Does anyone have any ideas on fixing this issue?
The text was updated successfully, but these errors were encountered: