NativeScript / NativeScript/ios

ListView make the app crash on release build

Open
#158 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Hello there,

I recently figured out a current bug of the latest version of the ios runtime (8.2.3).
When i'm using ListView in my page B and that I have a back button doing this.$navigateBack() to go back to page A. If I'm doing the navigation multiple time A => B => A => B. The app will crash. If i'm not doing this.$navigateBack but instead just do forward navigation with clearHistory, it doesn't crash. The crash occurs only in release mode.

Using RadListView works, only ListView is affected.

I attached the crashlog coming from the TestFlight

crashlog.txt

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 by reproducing the A => B => A => B sequence with ListView, $navigateBack(), and a release build, then compare it with forward navigation using clearHistory and with RadListView. Inspect the attached crashlog.txt alongside the iOS runtime behavior; done means repeated back navigation no longer crashes the release app.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.