NativeScript / NativeScript/android

Microsoft cognitiveservices crashed in worker

Open
#1,591 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
563
Forks
144
Avg merge
10h 46m
Merged PRs (30d)
14

Description

Environment
✔ Getting NativeScript components versions information...
✔ Component nativescript has 6.4.1 version and is up to date.
✔ Component tns-core-modules has 6.4.2 version and is up to date.
✔ Component tns-android has 6.4.1 version and is up to date.
✔ Component tns-ios has 6.4.2 version and is up to date.

Describe the bug
I am implementing cognitiveservices for NativeScript android. It's working fine but when I am navigating to another page & come back to previous page that time during use of the service got crash on real device (Samsung s7 edge). It's working fine with emulator but crashing in real device.

To Reproduce
Please check the attached project file. Click on Navigate & play or record. Then back to previous page & click again on Navigate to go. Now check the service & it will crash the APP. Same scenario is working fine with iOS.

Expected behavior
Should work as iOS

Sample project
Archive_2.zip

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the attached Archive_2.zip and reproduce the crash on a physical Android device by navigating, using play or record, returning, and navigating again. Compare the Android behavior with the stated working iOS scenario; done means the service no longer crashes after this navigation cycle.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.