Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

(android) Navigation does not work when the app is started while the device is locked #2370

Copy link
Copy link
Open
@facetious

Description

@facetious
Issue body actions

Environment

  • CLI: 8.1.2
  • @nativescript/core: 8.1.2
  • @nativescript/android: 8.1.1
  • @nativescript/angular: 12.2.0
  • @angular/*: 12.2.5

Describe the bug
Using ns run android when the device is locked causes navigations to not work. Angular routing is still present (as inspected via { enableTracing: true }), and components are still loaded. The new screens are not made visible, though.

Everything works as expected when the device is unlocked at the time of the app launch.

Expected behavior
Navigation should work.

Sample project
https://github.com/facetious/nativescript-angular-issue-2370

Steps to Reproduce

  1. Checkout the repo.
  2. Connect an Android device for development, but lock the screen.
  3. Run ns run android

Navigation to any item in the list is indicated in the console, but the screen does not update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.