Skip to content

iOS app crash after permission request when I use a worker #63

Closed
@jamescodesthings

Description

@jamescodesthings

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: nativescript@7.0.9-rc.1
  • Cross-platform modules: @nativescript/core@7.0.5
  • Android Runtime: not tested
  • iOS Runtime: @nativescript/ios@7.0.0
  • Plugin(s): @nativescript/camera@5.0.0

Describe the bug
Error is:

EXC_BAD_ACCESS (code=1, address=0x107f35918)

iOS app crash after accepting any permissions, only happens with the worker I've got defined. Could be due to worker termination or mis-handling but any help is appreciated.

Crash Report: permissionreprod 25-09-2020, 16-53.txt

To Reproduce
See Repo: https://github.com/jamescodesthings/permission-reprod

Expected behavior
Nae crash.

Additional context
Ripped this out of a bigger, inherited application I'm updating to ns7. This was the smallest reproduction I could work out.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions