NativeScript / NativeScript/NativeScript

Page navigation inop after app suspend/resume

Open
#8,533 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs more info os: android router
Dominant language
TypeScript
Stars
25.7k
Forks
1.7k
Avg merge
1d 5h
Merged PRs (30d)
35

Description

Using NS 6.5 and testing on Android emulator. Happens on device also.

The problem happens in my app - but I wrote a simplified Playground app.

https://play.nativescript.org/?template=play-tsc&id=7UpkGx&v=5

The app toggles the main view between two pages - uses page navigation.

How to create the issue:

  • open the app
  • toggle pages between the two pages
  • send app to the background
  • open 2-3 other apps
  • bring the test app to the foreground
  • try to toggle pages

Page navigation should no longer be working. Doesn't happen all the time - but most of the time.

In my app - all other navigation stop working also.

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 linked NativeScript Playground app and reproduce the failure by switching pages, suspending the Android app, opening other apps, and resuming it. Trace the page navigation behavior across suspend and resume; done means page toggling and the other navigation actions continue working reliably after resumption.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.