-
-
Notifications
You must be signed in to change notification settings - Fork 201
Image replacement is not respected during tns run android #2981
Copy link
Copy link
Closed
NativeScript/NativeScript
#4672Labels
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
imgdirectory in theappfolder - add an image to the
app/imgfolder - 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.
Reactions are currently unavailable