NativeScript / nativescript-camera

NativeScript plugin to empower using device camera.
Apache License 2.0
93 stars 47 forks source link

The app crashes periodically #221

Closed PashaArkus closed 5 years ago

PashaArkus commented 5 years ago

Which platform(s) does your issue occur on?

Please, provide the following version numbers that your issue occurs with:

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it. The application periodically crashes after I take photos. This happens most often on Xiaomi (redmi 3s, redmi 4x) and Nokia (6.1) phones. When you return from the camera, the application restarts itself and writes the following errors in the device’s console:

ActivityManager: Process org.nativescript.TestCameraApp (pid 8370) has died: prev LA or ActivityManager: Process ua.com.getmancar (pid 615) has died: prev S

I also want to note that such a problem does not always appear, it happens after the first photo, it happens after 7, and sometimes after 20. As a test method, I noticed that these errors appear if you use the plugin "nativescript-google-maps-sdk

Is there any code involved?

TestCameraApp.zip

PashaArkus commented 5 years ago

Is this issue being addressed?

elena-p commented 5 years ago

Hi @PashaArkus,

It seems that these errors are caused by the nativescript-google-maps-sdk plugin - https://github.com/dapriett/nativescript-google-maps-sdk/issues/206. You could try the workaround provided by @shiv19 - https://shiv19.com/how-to-fix-nativescript-google-maps-sdk-map-view-crash-inside-scroll-view/

support[bot] commented 5 years ago

:wave: @PashaArkus, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please, use Stackoverflow to get help.

PashaArkus commented 5 years ago

Hi. Unfortunately your decision did not help me

PashaArkus commented 4 years ago

This video shows how the application works