nativescript-local-notifications icon indicating copy to clipboard operation
nativescript-local-notifications copied to clipboard

App freezes when notification with HTTP image is delivered

Open Erudition opened this issue 4 years ago • 0 comments

It worked before, but now when I try button # 2 in the app, which uses the remote image file "https://images-na.ssl-images-amazon.com/images/I/61mx-VbrS0L.jpg", the app freezes. I've uninstalled it and commented out the image: line and all works well. Unfortunately, it continues doing that after putting the line back in.

This may be hard to debug, as I've been messing with that button 2 for a while, but I suspect it has to do with the very ad-hoc image downloader built in to the library. I suspect it could be:

  • A problem where the image takes too long to download but never properly times out, or
  • A memory leak where the image is re-downloaded every single time but never reused or discarded after displaying the notification.

Unfortunately, this only happens sometimes, so it may be hard to pin down in the end.

Erudition avatar Sep 04 '19 03:09 Erudition