react-native-image-picker: Help! Weird crash on Redmi 7

Bug

Environment info

React native info output:

System:
    OS: macOS High Sierra 10.13.6
    CPU: (4) x64 Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
    Memory: 26.03 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 10.16.0 - /usr/local/bin/node
    npm: 6.9.0 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
    Android SDK:
      API Levels: 23, 25, 26, 27, 28
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 27.0.3, 28.0.1, 28.0.2, 28.0.3
  IDEs:
    Android Studio: 3.2 AI-181.5540.7.32.5056338
    Xcode: 10.1/10B61 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.8.6 => 16.8.6 
    react-native: 0.60.4 => 0.60.4 
  npmGlobalPackages:
    react-native-cli: 2.0.1

Library version: 1.0.2

  1. Tested on samsung devices, honor9, redmi 7a, redmi note7 but redmi 7 failed.
  2. Get a redmi 7 😏
  3. Reproduction codes below

Describe what you expected to happen:

  1. On click showimagepicker then take photo (after take photo and press check mark), app crash without red screen error (react-native-exception-handler also didn’t catch), then restarts to splash screen and go to main screen.

Reproducible sample code

Statcktrace (adb logcat *:E)

stacktrace redacted, to include only possible camera crash part --------- beginning of main --------- beginning of system 08-08 13:41:37.377 2501 8248 E ActivityTrigger: activityStartTrigger: not whiteListedcom.android.camera/com.android.camera.Camera/3 08-08 13:41:37.380 2501 8248 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.camera/com.android.camera.Camera/3 08-08 13:41:37.381 553 604 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only 08-08 13:41:37.395 2501 8248 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.android.camera/com.android.camera.Camera/3 08-08 13:41:37.400 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/class/devfreq/soc:qcom,llccbw/min_freq not supported 08-08 13:41:37.400 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [12, 0] 08-08 13:41:37.401 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/class/devfreq/soc:qcom,llccbw/min_freq not supported 08-08 13:41:37.401 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [12, 0] 08-08 13:41:37.491 27991 27991 E CAM_CameraIntentManager: checkCallerLegality: Unknown caller: com.nusys.nupod 08-08 13:41:37.496 27991 27991 E CAM_CameraIntentManager: checkCallerLegality: Unknown caller: com.nusys.nupod 08-08 13:41:37.573 27991 27991 E CAM_CameraIntentManager: checkCallerLegality: Unknown caller: com.nusys.nupod 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: load tt_jni.so failed. 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file “/system/framework/miuistatssdkshared.jar”, zip file “/system/framework/android-support-v13.jar”, zip file “/system/framework/android-support-v7-recyclerview.jar”, zip file “/system/framework/cloud-common-runtime.jar”, zip file “/system/framework/volley.jar”, zip file “/system/framework/zxing.jar”, zip file “/system/priv-app/MiuiCamera/MiuiCamera.apk”],nativeLibraryDirectories=[/system/priv-app/MiuiCamera/lib/arm64, /system/lib64, /system/lib64]]] couldn’t find “libtt_jni.so” 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.lang.Runtime.loadLibrary0(Runtime.java:1012) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.lang.System.loadLibrary(System.java:1669) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at com.android.camera.network.live.Util.<clinit>(Util.java:10) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at com.android.camera.network.live.TTLiveStickerResourceRequest.<init>(TTLiveStickerResourceRequest.java:33) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at com.android.camera.network.util.NetworkUtils.tryRequestTTSticker(NetworkUtils.java:62) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at com.android.camera.module.loader.camera2.CompletablePreFixCamera2Setup.subscribe(CompletablePreFixCamera2Setup.java:117) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at io.reactivex.internal.operators.completable.CompletableCreate.subscribeActual(CompletableCreate.java:39) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at io.reactivex.Completable.subscribe(Completable.java:1794) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at io.reactivex.internal.operators.completable.CompletableSubscribeOn$SubscribeOnObserver.run(CompletableSubscribeOn.java:64) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:38) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at io.reactivex.internal.schedulers.ScheduledDirectTask.call(ScheduledDirectTask.java:26) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.util.concurrent.FutureTask.run(FutureTask.java:266) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641) 08-08 13:41:37.574 27991 28008 E CAM_LiveUtil: at java.lang.Thread.run(Thread.java:764) 08-08 13:41:37.574 27991 28008 E .android.camer: No implementation found for byte[] com.android.camera.network.live.Util.genAccessKey() (tried Java_com_android_camera_network_live_Util_genAccessKey and Java_com_android_camera_network_live_Util_genAccessKey__) 08-08 13:41:37.604 27991 28274 E CAM_CameraUtil: exit value = 1 08-08 13:41:37.712 465 465 E SELinux : avc: denied { find } for service=DisplayFeatureControl pid=27991 uid=10017 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:displayfeaturecontrol_service:s0 tclass=service_manager permissive=0 08-08 13:41:37.736 532 532 E libc : Access denied finding property “ro.build.version.type” 08-08 13:41:37.736 532 532 E libc : Access denied finding property “persist.camera.agegender.dump” 08-08 13:41:37.763 532 532 E mm-camera: <STATS ><ERROR> 3011: stats_port_check_caps_reserve: Invalid Port capability type! 08-08 13:41:37.763 532 532 E mm-camera: <STATS ><ERROR> 3011: stats_port_check_caps_reserve: Invalid Port capability type! 08-08 13:41:37.767 532 532 E libc : Access denied finding property “ro.camera.req.fmq.size” 08-08 13:41:37.767 532 532 E libc : Access denied finding property “ro.camera.res.fmq.size” 08-08 13:41:37.768 1902 4538 E Camera3-Device: Andrew timestamp condition changed 08-08 13:41:37.778 27991 28288 E CAM_Camera2OpenManager: open finish 08-08 13:41:37.779 532 28319 E FACE_RANK: LoadModel_C, 0.0, 32 08-08 13:41:37.779 532 28319 E FACE_RANK: LoadModel_C, 0.1, 120 08-08 13:41:37.779 532 28319 E FACE_RANK: LoadModel_C, 0.2, 21 08-08 13:41:37.779 532 28319 E FACE_RANK: LoadModel_C, 0.3, 5 08-08 13:41:37.798 532 28319 E FACE_RANK: LoadModel_C, 0.4 done 08-08 13:41:37.800 27991 28008 E CAM_focus setRenderSize: 720 | 1520 08-08 13:41:37.818 532 532 E CamComm1.0-MD: Mismatched tag type when updating entry enable (-2146762752) of type byte; got type int32 data instead 08-08 13:41:37.818 532 532 E CamComm1.0-MD: Mismatched tag type when updating entry is_main (-2146762751) of type byte; got type int32 data instead 08-08 13:41:37.822 1902 4538 E VendorTagDescriptor: lookupTag: Tag name ‘availableStreamConfigurations’ does not exist. 08-08 13:41:37.825 532 28319 E QCamera : <MCI><ERROR> MiFaceGradeInit: 38: face grade version is 20180228 08-08 13:41:37.869 532 532 E mm-still: omx_component_set_callbacks: Bad Parameter 08-08 13:41:37.876 27991 27991 E CAM_CameraUtil: user rotation cannot found 08-08 13:41:37.962 28340 28340 E d.process.medi: Not starting debugger since process cannot load the jdwp agent. 08-08 13:41:37.963 27991 27991 E RecyclerView: No adapter attached; skipping layout 08-08 13:41:37.963 27991 27991 E RecyclerView: No adapter attached; skipping layout 08-08 13:41:37.997 27991 28279 E CAM_STScreenNail: setDefaultBufferSize: 960 | 720 08-08 13:41:37.998 1902 4538 E VendorTagDescriptor: lookupTag: Tag name ‘availableStreamConfigurations’ does not exist. 08-08 13:41:37.999 27991 28279 E CAM_CameraIntentManager: checkCallerLegality: Unknown caller: com.nusys.nupod 08-08 13:41:38.001 27991 28279 E CAM_STScreenNail: setDefaultBufferSize: 960 | 720 08-08 13:41:38.020 27991 27991 E CAM_focus setRenderSize: 720 | 960 08-08 13:41:38.026 27991 27991 E CAM_CameraUtil: user rotation cannot found 08-08 13:41:38.032 27991 27991 E RecyclerView: No adapter attached; skipping layout 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 322: module_depth_map_handle_ctrl_parm: E 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 430: module_depth_map_set_config_param: X 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 254: module_depth_map_send_config_data: CAM_STREAM_TYPE_DEPTH not set !! 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 369: module_depth_map_handle_ctrl_parm: Error module_depth_map_send_config_data 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 373: module_depth_map_handle_ctrl_parm: X 08-08 13:41:38.046 532 28292 E mm-camera: <IMGLIB><ERROR> 880: module_imgbase_process_param: [depth_map] handle_ctrl_parm error : type=10, rc=-5 08-08 13:41:38.080 532 817 E quadracfa_dummy: inside dummy remosaic_init 1 08-08 13:41:38.080 532 817 E quadracfa_dummy: inside dummy remosaic_gainmap_gen 1 08-08 13:41:38.081 532 28292 E mm-camera: <SENSOR><ERROR> 7963: module_sensor_set_decode_format_based_on_pack_mode: Pack mode is 0 08-08 13:41:38.084 532 28309 E mm-camera: <STATS_AF ><ERROR> 872: af_haf_util_update_force_scan_end_params: force scan timeout enabled,max th: 40 08-08 13:41:38.084 532 28292 E mm-camera: <IFACE ><ERROR> 2264: iface_util_set_chromatix: iface_util_set_chromatix:2264 failed: iface_hvx_open rc 0 08-08 13:41:38.086 532 28308 E mm-camera: <STATS_AEC ><ERROR> 579: aec_led_cal_apply_calibration: Calibrate data size 0 not expected with tuning size: 0 08-08 13:41:38.097 532 28292 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:38.106 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:41:38.106 532 28292 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:38.107 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.109 532 28292 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:38.116 532 28292 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:38.123 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.140 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.155 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.161 532 1850 E ARCBeauty: Jason to use config file parameter 08-08 13:41:38.173 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.189 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.206 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.207 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:38.222 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.240 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.256 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.258 532 28303 E mm-camera: <STATS_AF ><ERROR> 4413: af_port_handle_pdaf_stats: Fail to init buf divert ack ctrl 08-08 13:41:38.272 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.274 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load not supported 08-08 13:41:38.274 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [5, 16] 08-08 13:41:38.274 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq not supported 08-08 13:41:38.274 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [5, 15] 08-08 13:41:38.290 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.305 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.320 1932 19799 E OMXNodeInstance: getConfig(0xe679cc60:google.mp3.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001) 08-08 13:41:38.323 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.339 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.356 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.364 1932 19799 E OMXNodeInstance: getConfig(0xe679cc60:google.mp3.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001) 08-08 13:41:38.373 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.386 1932 19799 E OMXNodeInstance: getConfig(0xe679cc60:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001) 08-08 13:41:38.389 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.406 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.423 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.428 1932 19799 E OMXNodeInstance: getConfig(0xe679cc60:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001) 08-08 13:41:38.433 2007 2362 E XTCC-6.2.0.6: [TimerDiff] get_total_sec failed 2 08-08 13:41:38.440 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.456 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.471 1932 19799 E OMXNodeInstance: getConfig(0xe679cc60:google.vorbis.decoder, ConfigAndroidVendorExtension(0x6f100004)) ERROR: Undefined(0x80001001) 08-08 13:41:38.472 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.489 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.522 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.539 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.555 27991 27991 E RecyclerView: No adapter attached; skipping layout 08-08 13:41:38.555 27991 27991 E RecyclerView: No adapter attached; skipping layout 08-08 13:41:38.556 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.565 5357 5452 E HttpsUtils: httpsPost Exception: IOException 08-08 13:41:38.571 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.579 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:41:38.738 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.823 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.838 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:38.840 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:41:38.906 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.073 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.123 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.140 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.156 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.172 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.220 532 532 E CamComm1.0-MD: Mismatched tag type when updating entry enable (-2146762752) of type byte; got type int32 data instead 08-08 13:41:39.220 532 532 E CamComm1.0-MD: Mismatched tag type when updating entry is_main (-2146762751) of type byte; got type int32 data instead 08-08 13:41:39.223 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.239 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.256 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.268 28401 28401 E settings:remot: Not starting debugger since process cannot load the jdwp agent. 08-08 13:41:39.273 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.275 528 4290 E msm8916_platform: platform_check_backends_match: Invalid snd_device = 08-08 13:41:39.289 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.306 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.321 528 4290 E ACDB-LOADER: Error: ACDB_CMD_GET_AFE_COMMON_TABLE_SIZE Returned = -19 08-08 13:41:39.321 528 4290 E ACDB-LOADER: Error: ACDB AFE returned = -19 08-08 13:41:39.322 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.333 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:41:39.339 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.340 532 28292 E mm-camera: <CPP ><ERROR> 2507: cpp_module_notify_add_stream: failed, non supported rotation angle 0 08-08 13:41:39.356 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.373 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.389 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.406 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.414 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:41:39.422 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.437 28401 28401 E settings:remot: Invalid ID 0x00000000. 08-08 13:41:39.439 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.447 532 28308 E mm-camera: <STATS_AEC ><ERROR> 579: aec_led_cal_apply_calibration: Calibrate data size 0 not expected with tuning size: 0 08-08 13:41:39.448 532 28293 E mm-camera: <IFACE ><ERROR> 2264: iface_util_set_chromatix: iface_util_set_chromatix:2264 failed: iface_hvx_open rc 0 08-08 13:41:39.449 532 28309 E mm-camera: <STATS_AF ><ERROR> 872: af_haf_util_update_force_scan_end_params: force scan timeout enabled,max th: 40 08-08 13:41:39.455 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.473 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.488 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.522 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.529 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:39.539 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.607 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:39.620 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 0] 08-08 13:41:39.620 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 0] 08-08 13:41:39.621 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 1] 08-08 13:41:39.621 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [2, 1] 08-08 13:41:39.639 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.685 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:39.759 2501 2802 E InputDispatcher: channel ‘e344449 com.nusys.nupod/com.nusys.nupod.MainActivity (server)’ ~ Channel is unrecoverably broken and will be disposed! 08-08 13:41:39.765 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:39.777 2501 2588 E libprocessgroup: Error encountered killing process cgroup uid 99042 pid 27915: No such file or directory 08-08 13:41:39.790 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.807 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:39.845 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:39.924 532 28300 E mm-camera: <ISP ><ERROR> 281: module_linearization40_update_sudmod_enable: failed !! linearization40_update_base_tables 08-08 13:41:40.012 27991 28288 E CAM_MiCamera2ShotStill: isQuadCfaRunning: support=false 08-08 13:41:40.012 27991 28288 E CAM_MiCamera2ShotStill: isQuadCfaRunning: gain=3.0 08-08 13:41:40.022 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.105 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.206 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.272 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.355 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.490 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.491 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:41:40.539 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.572 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.655 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.663 532 28418 E QCamera : <HAL><ERROR> handleInputBufferWithLock: 4801: Could not find input request for frame number 823 08-08 13:41:40.719 532 28446 E mm-still: startEncode:556] startEncode() 08-08 13:41:40.739 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.756 532 28448 E mm-still: Encode:1513] Encode done : output_size 2782 08-08 13:41:40.756 532 28448 E mm-still: EncodeComplete:808] Exif length: 5020 08-08 13:41:40.756 532 28448 E mm-still: DoCacheOps:354] failed with errno Invalid argument 08-08 13:41:40.762 532 28446 E mm-still: Stop:1157] Stop 08-08 13:41:40.806 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.823 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.907 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:40.989 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.139 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.239 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.372 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.384 28462 28462 E ti.diagservice: Not starting debugger since process cannot load the jdwp agent. 08-08 13:41:41.389 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.406 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.422 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.425 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:41:41.439 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.455 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.472 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.489 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.506 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.513 28462 28462 E DiagJNIInterface: Trying to load libDiagService 08-08 13:41:41.536 28462 28462 E DiagJNIInterface: WARNING: Could not load libDiagService 08-08 13:41:41.572 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.839 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:41.857 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.122 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.424 2007 2362 E XTCC-6.2.0.6: [TimerDiff] get_total_sec failed 2 08-08 13:41:42.456 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.572 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.606 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.959 465 465 E SELinux : avc: denied { find } for service=DisplayFeatureControl pid=27991 uid=10017 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:displayfeaturecontrol_service:s0 tclass=service_manager permissive=0 08-08 13:41:42.976 2501 4828 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.nusys.nupod/com.nusys.nupod.MainActivity/1 08-08 13:41:42.984 27991 28288 E CAM_Camera2OpenManager: force close start 08-08 13:41:42.989 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:42.995 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/class/devfreq/soc:qcom,llccbw/min_freq not supported 08-08 13:41:42.995 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [12, 0] 08-08 13:41:43.006 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.011 532 28378 E mm-camera: <IFACE ><ERROR> 723: iface_queue_buf_int: iface_queue_buf_int: queue buf to kernel failed, rc = -1 08-08 13:41:43.011 532 28378 E mm-camera: <IFACE ><ERROR> 2003: iface_axi_divert_ack: iface_axi_divert_ack: isp_queue_buf error = -1 08-08 13:41:43.011 532 28378 E mm-camera: <IFACE ><ERROR> 12638: iface_util_divert_ack: iface_util_divert_ack: VFE1 IFACE_AXI_ACTION_CODE_STREAM_DIVERT_ACK failed! rc = -1 08-08 13:41:43.011 532 28378 E mm-camera: <ISP ><ERROR> 1451: isp_util_forward_event: failed: mct_port_send_event_to_peer event->type 2 08-08 13:41:43.011 532 28378 E mm-camera: <ISP ><ERROR> 521: isp_port_process_upstream_event: failed: isp_handler_enqueue_event_to_trigger_queue 08-08 13:41:43.011 532 28378 E mm-camera: <ISP ><ERROR> 576: isp_port_event: failed: isp_port_process_upstream_event 08-08 13:41:43.011 532 28378 E mm-camera: <PPROC ><ERROR> 705: base_port_handle_buf_divert_ack: base_port_handle_buf_divert_ack:705, failed 08-08 13:41:43.040 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.056 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.076 532 28531 E quadracfa_dummy: inside dummy remosaic_deinit 1 08-08 13:41:43.091 532 1850 E mm-camera: <MCT ><ERROR> 179: stop_sof_check_thread: Returning as SOF timer thread not yet initialized 08-08 13:41:43.107 27991 28288 E CAM_MiCamera2: onClosed: id=1 sessionId=0 08-08 13:41:43.107 27991 28288 E CAM_Camera2OpenManager: close finish 08-08 13:41:43.239 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.255 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.406 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.423 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.472 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.490 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.523 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.540 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.559 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.578 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.593 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.607 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.623 28557 28557 E dboxed_process: Not starting debugger since process cannot load the jdwp agent. 08-08 13:41:43.625 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.657 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.674 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.690 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.708 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.725 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.741 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.757 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.774 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.793 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.810 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.827 539 743 E SDM : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43 08-08 13:41:43.924 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:41:43.955 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:41:43.969 27991 27991 E libEGL : call to OpenGL ES API with no current context (logged once per thread) 08-08 13:41:44.529 547 547 E : Vibrator jianglei timeout_ms:10 08-08 13:41:44.529 547 547 E : 08-08 13:41:44.562 547 547 E : Vibrator jianglei timeout_ms:30 08-08 13:41:44.562 547 547 E : 08-08 13:41:44.575 2501 2802 E ActivityTrigger: activityResumeTrigger: not whiteListedcom.miui.home/com.miui.home.launcher.Launcher/40900018 08-08 13:41:44.576 553 604 E ANDR-PERF-MPCTL: Invalid profile no. 0, total profiles 0 only 08-08 13:41:44.591 553 604 E ANDR-PERF-OPTSHANDLER: Perflock resource /sys/class/devfreq/soc:qcom,llccbw/min_freq not supported 08-08 13:41:44.591 553 604 E ANDR-PERF-RESOURCEQS: Failed to apply optimization [12, 0] 08-08 13:41:44.622 16184 16184 E Launcher.RecommendLog: folder display but only request when folder open 08-08 13:41:44.697 16184 16184 E libc : Access denied finding property “ro.hardware.fp.fod” 08-08 13:41:47.158 542 542 E libc : Access denied finding property “persist.sys.display_debug” {“status_code”:201,“status_message”:“There are no geozones defined for this application”,“response”:null} 08-08 13:41:47.261 28620 28620 E .android.camer: Not starting debugger since process cannot load the jdwp agent. 08-08 13:41:47.470 28620 28620 E .android.camer: Invalid ID 0x00000000. 08-08 13:41:47.530 28620 28620 E .android.camer: Invalid ID 0x00000000. 08-08 13:41:47.565 28620 28620 E .android.camer: No package ID 10 found for ID 0x100d00c7. 08-08 13:41:47.566 28620 28620 E .android.camer: No package ID 10 found for ID 0x100d00c5. 08-08 13:41:47.593 28620 28620 E .android.camer: Invalid ID 0x00000000. 08-08 13:41:47.617 28620 28620 E .android.camer: Invalid ID 0x00000000. 08-08 13:41:47.648 28620 28620 E .android.camer: No package ID 10 found for ID 0x100d00ca. 08-08 13:41:47.649 28620 28620 E .android.camer: No package ID 10 found for ID 0x100d00d0. 08-08 13:41:47.651 28620 28620 E .android.camer: Invalid ID 0x00000000. 08-08 13:41:47.924 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:41:58.664 551 3752 E IzatSvc_ComboNetworkProvider: Exiting with error proc line 210 “1” 08-08 13:42:03.030 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:42:26.579 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:42:26.609 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:42:26.640 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:42:36.554 28675 28675 E roid.apps.turb: Not starting debugger since process cannot load the jdwp agent. 08-08 13:42:36.583 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:42:36.742 28691 28691 E ocess.gservice: Not starting debugger since process cannot load the jdwp agent. 08-08 13:42:37.061 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:42:38.580 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:42:44.572 542 542 E libc : Access denied finding property “persist.sys.display_debug” 08-08 13:42:44.640 1996 2349 E fpc_tac : fpc_irq_wait {{30,10,0},{28,1,1}} 08-08 13:42:44.640 1996 2349 E fpc_tac : fpc_irq_wait error -7 08-08 13:42:44.643 25889 28087 E WakeLock: GCM_HB_ALARM release without a matched acquire! 08-08 13:42:44.654 25889 28087 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:42:45.191 544 544 E QTI PowerHAL: Failed to acquire lock. 08-08 13:42:45.191 544 544 E QTI PowerHAL: Error opening /sys/kernel/hbtp/display_pwr: No such file or directory 08-08 13:42:45.193 2016 2102 E libnav : AbaSuspend skips SVI deactivate: state was 3 08-08 13:42:45.344 4637 4637 E LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suitch 08-08 13:42:45.344 4637 4637 E LibSecureUISvc: svc_sock_send_message(suisvc): invalid remote socket suilst 08-08 13:42:45.366 9811 9828 E AD-PLUGIN-SplashController: get broadcast sender : android 08-08 13:42:45.382 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:42:45.403 28739 28739 E i.msa.global:u: Not starting debugger since process cannot load the jdwp agent. 08-08 13:42:45.919 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:42:48.264 25889 28763 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:43:03.025 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:43:12.573 28769 28769 E m.miui.weather: Not starting debugger since process cannot load the jdwp agent. 08-08 13:43:12.773 28769 28769 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:43:12.806 28769 28769 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:43:12.815 28769 28769 E m.miui.weather: No package ID 10 found for ID 0x100d00c7. 08-08 13:43:12.815 28769 28769 E m.miui.weather: No package ID 10 found for ID 0x100d00c5. 08-08 13:43:12.820 28769 28769 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:43:12.899 28769 28793 E MI_STAT : ABTest is NOT allow to register in background running. 08-08 13:43:13.059 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:43:15.151 28805 28805 E .android.camer: Not starting debugger since process cannot load the jdwp agent. 08-08 13:43:15.266 28805 28805 E .android.camer: Invalid ID 0x00000000. 08-08 13:43:15.311 28805 28805 E .android.camer: Invalid ID 0x00000000. 08-08 13:43:15.328 28805 28805 E .android.camer: No package ID 10 found for ID 0x100d00c7. 08-08 13:43:15.328 28805 28805 E .android.camer: No package ID 10 found for ID 0x100d00c5. 08-08 13:43:15.330 28805 28805 E .android.camer: Invalid ID 0x00000000. 08-08 13:43:15.346 28805 28805 E .android.camer: Invalid ID 0x00000000. 08-08 13:43:15.369 28805 28805 E .android.camer: No package ID 10 found for ID 0x100d00ca. 08-08 13:43:15.370 28805 28805 E .android.camer: No package ID 10 found for ID 0x100d00d0. 08-08 13:43:15.372 28805 28805 E .android.camer: Invalid ID 0x00000000. 08-08 13:43:15.482 1924 2047 E CommandListener: failed to parse child firewall chain (standby_miui) 08-08 13:43:38.583 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:44:03.033 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:44:13.198 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:44:38.586 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:45:03.035 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:45:38.590 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:46:03.030 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:46:03.492 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:46:38.593 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:46:52.113 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:46:52.628 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:46:56.971 4561 4561 E TelephonyEventHandler: Received network connection action 08-08 13:46:56.972 4561 4561 E TelephonyEventHandler: Received network connection action currentNwType=1 08-08 13:47:03.038 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:46:52.785 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:47:38.596 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:47:56.315 25889 28763 E WakeLock: GCM_HB_ALARM release without a matched acquire! 08-08 13:47:56.325 25889 28763 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:48:01.866 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:48:02.475 25889 28900 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:48:03.041 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:48:10.808 28906 28906 E e.process.gapp: Not starting debugger since process cannot load the jdwp agent. 08-08 13:48:11.088 28925 28925 E ogle.android.g: Not starting debugger since process cannot load the jdwp agent. 08-08 13:48:11.959 28925 28925 E abfk : Sync is not initialized yet 08-08 13:48:13.582 28993 28993 E .android.camer: Not starting debugger since process cannot load the jdwp agent. 08-08 13:48:13.691 28993 28993 E .android.camer: Invalid ID 0x00000000. 08-08 13:48:13.782 28993 28993 E .android.camer: Invalid ID 0x00000000. 08-08 13:48:13.796 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00c7. 08-08 13:48:13.796 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00c5. 08-08 13:48:13.798 28993 28993 E .android.camer: Invalid ID 0x00000000. 08-08 13:48:13.813 28993 28993 E .android.camer: Invalid ID 0x00000000. 08-08 13:48:13.826 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00ca. 08-08 13:48:13.826 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00d0. 08-08 13:48:13.829 28993 28993 E .android.camer: Invalid ID 0x00000000. 08-08 13:48:38.600 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:49:03.041 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:49:11.946 28925 29047 E sec : Interactive Ads jobs: did not expect this future to ever resolve 08-08 13:49:24.817 29056 29056 E t_app_installe: Not starting debugger since process cannot load the jdwp agent. 08-08 13:49:25.251 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:49:38.602 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:50:03.044 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:50:38.604 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:51:03.046 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:51:06.381 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:51:07.044 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:51:38.608 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:51:51.827 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:52:03.049 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:52:01.419 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:52:38.611 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:53:03.045 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:53:15.191 25889 28900 E WakeLock: GCM_HB_ALARM release without a matched acquire! 08-08 13:53:15.204 25889 28900 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:53:21.013 25889 29162 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:53:21.047 29163 29163 E android.youtub: Not starting debugger since process cannot load the jdwp agent. 08-08 13:53:21.198 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:53:21.381 29163 29189 E GEL_DELAYED_EVENT_DEBUG: Failed delayed event dispatch, no dispatchers. 08-08 13:53:21.519 29163 29221 E libc : Access denied finding property “vendor.camera.aux.packagelist” 08-08 13:53:21.540 29163 29221 E libc : Access denied finding property “vendor.camera.aux.packagelist” 08-08 13:53:21.552 29163 29221 E libc : Access denied finding property “vendor.camera.aux.packagelist” 08-08 13:53:38.615 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:54:03.051 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:54:38.618 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:55:03.048 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:55:38.622 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:56:03.067 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:56:24.274 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:56:32.938 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:56:38.625 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:56:53.172 4561 4561 E TelephonyEventHandler: Received network connection action 08-08 13:56:53.175 4561 4561 E TelephonyEventHandler: Received network connection action currentNwType=1 08-08 13:57:03.056 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:57:38.629 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:58:03.056 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:58:13.074 29350 29350 E m.miui.weather: Not starting debugger since process cannot load the jdwp agent. 08-08 13:58:13.311 29350 29350 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:58:13.352 29350 29350 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:58:13.369 29350 29350 E m.miui.weather: No package ID 10 found for ID 0x100d00c7. 08-08 13:58:13.370 29350 29350 E m.miui.weather: No package ID 10 found for ID 0x100d00c5. 08-08 13:58:13.372 29350 29350 E m.miui.weather: Invalid ID 0x00000000. 08-08 13:58:13.441 29350 29377 E MI_STAT : ABTest is NOT allow to register in background running. 08-08 13:58:13.548 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 13:58:25.463 25889 29162 E WakeLock: GCM_HB_ALARM release without a matched acquire! 08-08 13:58:25.475 25889 29162 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:58:31.133 25889 29392 E WakeLock: GCM_CONN_ALARM release without a matched acquire! 08-08 13:58:38.632 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 13:59:03.055 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 13:59:38.635 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:00:03.062 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:00:38.630 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:00:38.641 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:00:39.153 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:01:03.075 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:00:39.302 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:01:38.643 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:01:51.833 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:02:03.066 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:02:38.646 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:03:03.067 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:03:38.649 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:04:03.068 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:04:38.651 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:04:53.081 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:05:03.069 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:04:53.830 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:05:38.654 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:06:03.083 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:06:38.658 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:06:56.505 4561 4561 E TelephonyEventHandler: Received network connection action 08-08 14:06:56.506 4561 4561 E TelephonyEventHandler: Received network connection action currentNwType=1 08-08 14:07:03.074 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:07:38.661 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:07:41.428 25889 29390 E WakeLock: GCM_HB_ALARM release without a matched acquire! 08-08 14:07:41.961 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:07:43.638 29488 29488 E .android.camer: Not starting debugger since process cannot load the jdwp agent. 08-08 14:07:43.763 29488 29488 E .android.camer: Invalid ID 0x00000000. 08-08 14:07:43.807 29488 29488 E .android.camer: Invalid ID 0x00000000. 08-08 14:07:43.820 29488 29488 E .android.camer: No package ID 10 found for ID 0x100d00c7. 08-08 14:07:43.821 29488 29488 E .android.camer: No package ID 10 found for ID 0x100d00c5. 08-08 14:07:43.823 29488 29488 E .android.camer: Invalid ID 0x00000000. 08-08 14:07:43.838 29488 29488 E .android.camer: Invalid ID 0x00000000. 08-08 14:07:43.852 29488 29488 E .android.camer: No package ID 10 found for ID 0x100d00ca. 08-08 14:07:43.852 29488 29488 E .android.camer: No package ID 10 found for ID 0x100d00d0. 08-08 14:07:43.854 29488 29488 E .android.camer: Invalid ID 0x00000000. 08-08 14:07:45.678 29510 29510 E d.process.acor: Not starting debugger since process cannot load the jdwp agent. 08-08 14:07:45.902 29510 29510 E d.process.acor: Invalid ID 0x00000000. 08-08 14:08:03.075 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:08:38.664 1928 2013 E storaged: getDiskStats failed with result NOT_SUPPORTED and size 0 08-08 14:08:41.999 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:09:03.078 551 3752 E IzatSvc_PassiveLocListener: Exiting with error onLocationChanged line 154 “1” 08-08 14:09:04.757 29555 29555 E viders.calenda: Not starting debugger since process cannot load the jdwp agent. 08-08 14:09:04.911 29555 29555 E viders.calenda: Invalid ID 0x00000000. 08-08 14:09:05.025 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth 08-08 14:09:07.375 2501 2598 E BatteryExternalStatsWorker: no controller energy info supplied for bluetooth

Steps To Reproduce

I’m not sure whether this is related to FileProvider, SplashScreen (as some suggested) or just the specific device, so I include them here.

MainActivity.java

package com.nusys.nupod;

import com.facebook.react.ReactActivity;
//splash imports
import org.devio.rn.splashscreen.SplashScreen; // import this
import android.os.Bundle; // import this
//splash imports end
//import com.reactnativenavigation.NavigationActivity;

public class MainActivity extends ReactActivity {

	//Splash Screen
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        SplashScreen.show(this);  // here
        //SplashScreen.show(this,true);  // here
        super.onCreate(savedInstanceState);
    }
    /**
     * Returns the name of the main component registered from JavaScript.
     * This is used to schedule rendering of the component.
     */
    @Override
    protected String getMainComponentName() {
        return "NuPoD";
    }
}

MainApplication.java

package com.nusys.nupod;

import android.app.Application;
import android.util.Log;

import com.facebook.react.PackageList;
import com.facebook.hermes.reactexecutor.HermesExecutorFactory;
import com.facebook.react.bridge.JavaScriptExecutorFactory;
import com.facebook.react.ReactApplication;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.soloader.SoLoader;

//for getfileproviderauthority
import cl.json.RNSharePackage;
import cl.json.ShareApplication;
//for zendesk chat
import com.zopim.android.sdk.api.ZopimChat;

import java.util.List;

public class MainApplication extends Application implements ShareApplication, ReactApplication {

  private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
    @Override
    public boolean getUseDeveloperSupport() {
      return BuildConfig.DEBUG;   //to use dev debug mode on shake, press menu etc
      //return false;             //in release/bundled mode, disable live loading/hotloading etc        
    }

    @Override
    protected List<ReactPackage> getPackages() {
      @SuppressWarnings("UnnecessaryLocalVariable")
      List<ReactPackage> packages = new PackageList(this).getPackages();
      // Packages that cannot be autolinked yet can be added manually here, for example:
      // packages.add(new MyReactNativePackage());
      return packages;
    }

    @Override
    protected String getJSMainModuleName() {
      return "index";
    }
  };

  @Override
  public ReactNativeHost getReactNativeHost() {
    return mReactNativeHost;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    ZopimChat.init("something");    
    SoLoader.init(this, /* native exopackage */ false);
  }
  
  @Override public String getFileProviderAuthority(){
  return "com.nusys.nupod.provider";
  }  //package for sharing and FILE_PROVIDER  
}

SplashActivity.java

package com.nusys.nupod; // make sure this is your package name

import android.content.Intent;
import android.os.Bundle;
//import android.support.v7.app.AppCompatActivity;
import androidx.appcompat.app.AppCompatActivity;

public class SplashActivity extends AppCompatActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        Intent intent = new Intent(this, MainActivity.class);
        startActivity(intent);
        finish();
    }
}

AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"
    package="com.nusys.nupod">

    <supports-screens
    android:anyDensity="true"
    android:largeScreens="true"
    android:normalScreens="true"
    android:resizeable="true"
    android:xlargeScreens="true" 
    android:smallScreens="true" />

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
    <uses-permission android:name="android.permission.BLUETOOTH" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />

    <uses-feature android:name="android.hardware.camera" android:required="false" />
    <uses-feature android:name="android.hardware.bluetooth" android:required="false" />    
    <uses-feature android:name="android.hardware.telephony" android:required="false" />
    <uses-feature android:name="android.hardware.location" android:required="false" />
    <uses-feature android:name="android.hardware.location.gps" android:required="false" />
    <uses-feature android:name="android.hardware.screen.portrait" android:required="false" />
    <uses-feature android:name="android.permission.BLUETOOTH" />
    <!-- usesCleartexttraffic is for allowing HTTP (default is https only). otherwise login or any fetch from http will not work-->
    <application
      android:name=".MainApplication"
      android:label="@string/app_name"
      android:icon="@mipmap/ic_launcher"
      android:allowBackup="false"
      android:largeHeap="true"
      android:usesCleartextTraffic="true"   
      android:theme="@style/AppTheme">
      <activity
          android:name=".SplashActivity"
          android:theme="@style/SplashTheme"
          android:label="@string/app_name">
          <intent-filter>
              <action android:name="android.intent.action.MAIN" />
              <category android:name="android.intent.category.LAUNCHER" />
          </intent-filter>
      </activity>
      <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustPan"
        android:exported="true"
      />
      <activity
          android:name=".ChatActivity"
          android:label="@string/app_name"
          android:theme="@style/ZopimChatTheme"
          android:windowSoftInputMode="stateUnspecified|adjustResize">

          <!-- Increase the priority to receive RESUME_CHAT intent from the chat widget. ZopimChatActivity priority is -1000. To override set yours to -999 for instance. -->
          <intent-filter android:priority="-1000">
              <action android:name="zopim.action.RESUME_CHAT"/>
              <category android:name="android.intent.category.DEFAULT"/>
          </intent-filter>
      </activity>      
      <!--  <activity
        android:name=".MainActivity"
        android:label="@string/app_name"
        android:configChanges="keyboard|keyboardHidden|orientation|screenSize"
        android:windowSoftInputMode="adjustPan">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
      </activity>  -->
      <meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="something"/>
      <activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
    <provider
    android:name="androidx.core.content.FileProvider"
    android:authorities="com.nusys.nupod.provider"
    android:grantUriPermissions="true"
    tools:replace="android:authorities"
    android:exported="false">
      <meta-data
        android:name="android.support.FILE_PROVIDER_PATHS"
        android:resource="@xml/filepaths"
        tools:replace="android:resource"
      />
    </provider>
  <!-- HOCKEYAPP -->    
    <activity android:name="net.hockeyapp.android.UpdateActivity" />
    <activity android:name="net.hockeyapp.android.FeedbackActivity" />
    <meta-data
        android:name="net.hockeyapp.android.appIdentifier"
        android:value="something"/>  
  <!-- HOCKEYAPP -->      
    </application>

</manifest>

build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    ext {
        buildToolsVersion = "28.0.3"
        minSdkVersion = 16
        compileSdkVersion = 28
        targetSdkVersion = 28
        supportLibVersion = "28.0.0"
    }
    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath("com.android.tools.build:gradle:3.4.1")

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        maven { url 'https://zendesk.artifactoryonline.com/zendesk/repo' }        
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url("$rootDir/../node_modules/react-native/android")
        }
        maven {
            // Android JSC is installed from npm
            url("$rootDir/../node_modules/jsc-android/dist")
        }

        google()
        jcenter()
    }
}

PackageList.java


package com.facebook.react;

import android.app.Application;
import android.content.Context;
import android.content.res.Resources;

import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import java.util.Arrays;
import java.util.ArrayList;

import com.nusys.nupod.BuildConfig;
import com.nusys.nupod.R;

// @react-native-community/async-storage
import com.reactnativecommunity.asyncstorage.AsyncStoragePackage;
// @react-native-community/geolocation
import com.reactnativecommunity.geolocation.GeolocationPackage;
// @react-native-community/netinfo
import com.reactnativecommunity.netinfo.NetInfoPackage;
// ipay88-sdk
import com.ipay88.IPay88Package;
// lottie-react-native
import com.airbnb.android.react.lottie.LottiePackage;
// pushwoosh-geozones-react-native-plugin
import com.pushwoosh.geozones.reactnativeplugin.PushwooshGeozonesPackage;
// pushwoosh-react-native-plugin
import com.pushwoosh.reactnativeplugin.PushwooshPackage;
// react-native-appstore-version-checker
import com.masteratul.RNAppstoreVersionCheckerPackage;
// react-native-bluetooth-escpos-printer
import cn.jystudio.bluetooth.RNBluetoothEscposPrinterPackage;
// react-native-bluetooth-state-manager
import de.patwoz.rn.bluetoothstatemanager.RNBluetoothStateManagerPackage;
// react-native-device-info
import com.learnium.RNDeviceInfo.RNDeviceInfo;
// react-native-exception-handler
import com.masteratul.exceptionhandler.ReactNativeExceptionHandlerPackage;
// react-native-gesture-handler
import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
// react-native-gps-state
import br.com.dopaminamob.gpsstate.GPSStatePackage;
// react-native-html-to-pdf
import com.christopherdro.htmltopdf.RNHTMLtoPDFPackage;
// react-native-image-picker
import com.imagepicker.ImagePickerPackage;
// react-native-linear-gradient
import com.BV.LinearGradient.LinearGradientPackage;
// react-native-maps
import com.airbnb.android.react.maps.MapsPackage;
// react-native-pdf-lib
import com.hopding.pdflib.PDFLibPackage;
// react-native-reanimated
import com.swmansion.reanimated.ReanimatedPackage;
// react-native-share
import cl.json.RNSharePackage;
// react-native-splash-screen
import org.devio.rn.splashscreen.SplashScreenReactPackage;
// react-native-svg
import com.horcrux.svg.SvgPackage;
// react-native-vector-icons
import com.oblador.vectoricons.VectorIconsPackage;
// react-native-view-pdf
import com.rumax.reactnative.pdfviewer.PDFViewPackage;
// react-native-zendesk-chat-zopim
import com.reactlibrary.RNZendeskchatPackage;
// rn-fetch-blob
import com.RNFetchBlob.RNFetchBlobPackage;

public class PackageList {
  private Application application;
  private ReactNativeHost reactNativeHost;
  public PackageList(ReactNativeHost reactNativeHost) {
    this.reactNativeHost = reactNativeHost;
  }

  public PackageList(Application application) {
    this.reactNativeHost = null;
    this.application = application;
  }

  private ReactNativeHost getReactNativeHost() {
    return this.reactNativeHost;
  }

  private Resources getResources() {
    return this.getApplication().getResources();
  }

  private Application getApplication() {
    if (this.reactNativeHost == null) return this.application;
    return this.reactNativeHost.getApplication();
  }

  private Context getApplicationContext() {
    return this.getApplication().getApplicationContext();
  }

  public ArrayList<ReactPackage> getPackages() {
    return new ArrayList<>(Arrays.<ReactPackage>asList(
      new MainReactPackage(),
      new AsyncStoragePackage(),
      new GeolocationPackage(),
      new NetInfoPackage(),
      new IPay88Package(),
      new LottiePackage(),
      new PushwooshGeozonesPackage(),
      new PushwooshPackage(),
      new RNAppstoreVersionCheckerPackage(),
      new RNBluetoothEscposPrinterPackage(),
      new RNBluetoothStateManagerPackage(),
      new RNDeviceInfo(),
      new ReactNativeExceptionHandlerPackage(),
      new RNGestureHandlerPackage(),
      new GPSStatePackage(),
      new RNHTMLtoPDFPackage(),
      new ImagePickerPackage(),
      new LinearGradientPackage(),
      new MapsPackage(),
      new PDFLibPackage(),
      new ReanimatedPackage(),
      new RNSharePackage(),
      new SplashScreenReactPackage(),
      new SvgPackage(),
      new VectorIconsPackage(),
      new PDFViewPackage(),
      new RNZendeskchatPackage(),
      new RNFetchBlobPackage()
    ));
  }
}

I define:

  pickImageHandler = () => {  //uses import ImagePicker from "react-native-image-picker";
    ImagePicker.showImagePicker({title: "Pick an Image", maxWidth: 800, maxHeight: 600}, res => {
      if (res.didCancel) {
        console.log("User cancelled!");
          this.props.navigation.navigate("Profile");
      } else if (res.error) {
        //alert("Error", res.error);
        console.log("Error", res.error);
      } else {
    //alert("Picked image uri is: " + JSON.stringify({uri: res.uri}));
        this.setState({
          pickedImage: { uri: res.uri }
        });
      
 //       alert(res.uri); 
 //       alert(res.size);  
        
      }
    });
  }

Then I call it by this.pickIageHandler(); . Gallery works but take photo from camera crash the app. My hunch it’s something related to these (or maybe it’s device specific?): //some info on UWBC https://www.phoronix.com/scan.php?page=news_item&px=Freedreno-UBWC-A6XX

...
08-08 13:41:38.140   539   743 E SDM     : HWCLayer::GetSDMFormat: Unsupported format type for UBWC 43
...
08-08 13:48:13.798 28993 28993 E .android.camer: Invalid ID 0x00000000.
08-08 13:48:13.813 28993 28993 E .android.camer: Invalid ID 0x00000000.
08-08 13:48:13.826 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00ca.
08-08 13:48:13.826 28993 28993 E .android.camer: No package ID 10 found for ID 0x100d00d0.

I’ve tried changing fileprovider, updating from 1.0.1 to 1.0.2 but nothing works. I’m thinking to revert back to 0.28.0 which works for me before, but not sure if it’ll work with RN0.60.4. Any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 30

Most upvoted comments

you can break redmi 7 and use smasung or iphone test. good luck

Hi, nice to meet you! You can restart your computer and it will work

I had same issue with my Google Pixel 2 XL, with RN 0.59.10 and ImagePicker 0.28.0. I spent five days to figure out and research, no luck.

@firdaussoberi I just update my pixel 2 phone to the newest update. But still cause the app restart without any error after take a photo. Has to try about 5~10 times to trigger this issue, like fresh install -> open app -> take photo -> select -> app automatically restart (looks like crash, but not really)-> uninstall app.