Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash app #224

Open
LisikXp opened this issue Oct 2, 2019 · 7 comments
Open

Crash app #224

LisikXp opened this issue Oct 2, 2019 · 7 comments

Comments

@LisikXp
Copy link

LisikXp commented Oct 2, 2019

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital
letter.

Which platform(s) does your issue occur on?

  • Android

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

  • CLI: current version
  • Cross-platform modules: 6.1.0
  • Runtime(s): android 6.1.2
  • Plugin(s): 4.5.0
    The application uses the nativescript-camera plugin. When the user launches the camera and makes a photo selection confirmation, the application itself restarts completely. This problem is most often found on xiaomi, nokia, sony phones verified by (Xiaomi (redmi 3s, redmi 4x) and Nokia (6.1)). Moreover, this error can occur after the user takes the first photo, and it happens after the fifth or after the twentieth.

The testing method found out that these errors appear if you use the nativescript-google-maps-sdk plugin.

device stream logs can be viewed here

link to the video of the application on the phone Xiaomi redmi 3s here

@PashaArkus
Copy link

The error was in line 87 in the camera.android.js file in the camera plugin, when commenting which everything starts to work stably.

@PashaArkus
Copy link

Screenshot_8

@PashaArkus
Copy link

I understand that this error is not solved?

@DimitarTodorov
Copy link
Contributor

Hi @LisikXp

I've tested the demo-vue on Xiamoi device with nativescript-google-maps-sdk plugin added as a dependency and was not able to reproduce an app crash. Can you share sample project and the package.json of the app where we can reproduce and eventually solve the mentioned issue.

@LisikXp
Copy link
Author

LisikXp commented Nov 4, 2019

Hi @LisikXp

I've tested the demo-vue on Xiamoi device with nativescript-google-maps-sdk plugin added as a dependency and was not able to reproduce an app crash. Can you share sample project and the package.json of the app where we can reproduce and eventually solve the mentioned issue.

That's my code: https://drive.google.com/file/d/1xLwUtCHhq7F_j8IkdIymRsM9quZAnPY5/view?usp=sharing

@PashaArkus
Copy link

This video shows how the application works.

@AdamAtri
Copy link

pull request for fix: https://github.com/NativeScript/nativescript-camera/pulls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants