FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Image replacement is not respected during tns run android · Issue #2981 · NativeScript/nativescript-cli · GitHub

Image replacement is not respected during tns run android #2981

Description

If an existing image in the app folder (outside App_Resources) is replaced during tns run android, the application on the device does not get updated with the new image. However, if the application is restarted, the new image is shown. The same scenario works for iOS.

Version of CLI, runtimes and tns-core-modules packages: 3.1.0.

Steps:

  • tns create appJS && appJS
  • mkdir app/img/ - make a img directory in the app folder
  • add an image to the app/img folder
  • refer the image in the main-page.xml, for example: <Image src="~/img/icon.png" />
  • tne run android
  • replace the image

Expected: the application page refreshes and the new image shows.
Actual: the application page refreshes, but the new image does not show. The old one is still on the page.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


    Back | FazBrowse Home | New Git URL